]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b76f938554abad10214df507cf6826f0bd419e8
treea0e9903ff73f6a5ffe60157adcec944cd47632ba
parentcf3fb114f26bcd391ca7ae7b4998857833fefd9b
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