KVM: arm64: Prepare to handle deferred save/restore of 32-bit registers
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 27 Dec 2017 20:59:09 +0000 (21:59 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:18 +0000 (10:53 +0000)
commita892819560c4985a699486f9c17db065c266d2da
treea1e00ba3e081251125283eb67f7a5aa70707023e
parentfc7563b3400ab925a32fce9e88db5dd3ddfc6bb0
KVM: arm64: Prepare to handle deferred save/restore of 32-bit registers

32-bit registers are not used by a 64-bit host kernel and can be
deferred, but we need to rework the accesses to these register to access
the latest values depending on whether or not guest system registers are
loaded on the CPU or only reside in memory.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/regmap.c