diff options
author | Jonathan Austin <jonathan.austin@arm.com> | 2013-09-26 15:49:27 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:39:47 (GMT) |
commit | b8b7e9a42d15e054dbaedf7c7892e4105da4fb95 (patch) | |
tree | 18a320ef269dfac5bf0c15c5a80ac8d98b7cc8eb /arch/m68k | |
parent | ec3cda8c797489d35eab6c17ec372bb5b4bed915 (diff) | |
download | linux-fsl-qoriq-b8b7e9a42d15e054dbaedf7c7892e4105da4fb95.tar.xz |
KVM: ARM: Fix calculation of virtual CPU ID
KVM does not have a notion of multiple clusters for CPUs, just a linear
array of CPUs. When using a system with cores in more than one cluster, the
current method for calculating the virtual MPIDR will leak the (physical)
cluster information into the virtual MPIDR. One effect of this is that
Linux under KVM fails to boot multiple CPUs that aren't in the 0th cluster.
This patch does away with exposing the real MPIDR fields in favour of simply
using the virtual CPU number (but preserving the U bit, as before).
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 1158fca401e09665c440a9fe4fd4f131ee85c13b)
Signed-off-by: Diana Craciun <Diana.Craciun@freescale.com>
Change-Id: Iaf8b973671e1ea2a203fb2d69c3c8aa9cafbf91f
Reviewed-on: http://git.am.freescale.net:8181/22041
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions