ARM: KVM: Fix MPIDR computing to support virtual clusters
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 18 Oct 2013 17:19:04 +0000 (18:19 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 22 Oct 2013 15:00:06 +0000 (08:00 -0700)
commit2d1d841bd44e24b58a3d3cc4fa793670aaa38fbf
treea0e9903ff73f6a5ffe60157adcec944cd47632ba
parente4b3c9c21bd5674e96988f7507fd924e00087cd0
ARM: KVM: Fix MPIDR computing to support virtual clusters

In order to be able to support more than 4 A7 or A15 CPUs,
we need to fix the MPIDR computing to reflect the fact that
both A15 and A7 can only exist in clusters of at most 4 CPUs.

Fix the MPIDR computing to allow virtual clusters to be exposed
to the guest.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/coproc.c