commit | 79c648806f9034abf54332b78043bb242189d953 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Fri Oct 18 18:19:03 2013 +0100 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Tue Oct 22 08:00:06 2013 -0700 |
tree | b07de9c2f3e5c05af12fc46f17007d766e4b855c | |
parent | 7999b4d18211bcfb40e3574cf75e94518e9fa2c6 [diff] |
arm/arm64: KVM: PSCI: use MPIDR to identify a target CPU The KVM PSCI code blindly assumes that vcpu_id and MPIDR are the same thing. This is true when vcpus are organized as a flat topology, but is wrong when trying to emulate any other topology (such as A15 clusters). Change the KVM PSCI CPU_ON code to look at the MPIDR instead of the vcpu_id to pick a target CPU. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>