aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2014-06-02 15:37:13 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2015-01-20 18:25:17 +0100
commit4429fc64b90368e9bc93f933ea8b011d8db3a2f2 (patch)
treea7cb2e3dbebe4c2d6dc7a17e648a04b1c82090b9 /virt/kvm/arm
parentKVM: arm/arm64: Enable Dirty Page logging for ARMv8 (diff)
downloadlinux-dev-4429fc64b90368e9bc93f933ea8b011d8db3a2f2.tar.xz
linux-dev-4429fc64b90368e9bc93f933ea8b011d8db3a2f2.zip
arm/arm64: KVM: rework MPIDR assignment and add accessors
The virtual MPIDR registers (containing topology information) for the guest are currently mapped linearily to the vcpu_id. Improve this mapping for arm64 by using three levels to not artificially limit the number of vCPUs. To help this, change and rename the kvm_vcpu_get_mpidr() function to mask off the non-affinity bits in the MPIDR register. Also add an accessor to later allow easier access to a vCPU with a given MPIDR. Use this new accessor in the PSCI emulation. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm')
0 files changed, 0 insertions, 0 deletions