-
Marc Zyngier authored
kvmtools uses the virtual CPU number to emit the DT CPU nodes. While this is correct for a flat topology, it fails on anything else, as the guest expects to find the MPIDR there. The fix is to ask the kernel for each vcpu MPIDR, and emit this instead. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
d06bc640