summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-03-06 22:47:41 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2018-03-19 20:45:38 +0300
commit063f12e0deb000a38ba43fd2456727ec5a604f1c (patch)
treebdaec4500c1a832f7f221dd0982fbe55aeedf590 /virt
parent5fbb0df6f68e31a586b947433e93ba9654c8080f (diff)
downloadlinux-063f12e0deb000a38ba43fd2456727ec5a604f1c.tar.xz
KVM: arm: Reserve bit in KVM_REG_ARM encoding for secure/nonsecure
We have a KVM_REG_ARM encoding that we use to expose KVM guest registers to userspace. Define that bit 28 in this encoding indicates secure vs nonsecure, so we can distinguish the secure and nonsecure banked versions of a banked AArch32 register. For KVM currently, all guest registers are nonsecure, but defining the bit is useful for userspace. In particular, QEMU uses this encoding as part of its on-the-wire migration format, and needs to be able to describe secure-bank registers when it is migrating (fully emulated) EL3-enabled CPUs. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions