]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfefadae425700ed89c0a714e90da2fe8877432e
treea1e00ba3e081251125283eb67f7a5aa70707023e
parentbca38ad04e6b0f9fdf4ae2f50d73108f06f10f2e
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