[PATCH v4 27/40] KVM: arm64: Prepare to handle deferred save/restore of ELR_EL1
Andrew Jones
drjones at redhat.com
Thu Feb 22 05:51:41 PST 2018
On Thu, Feb 15, 2018 at 10:03:19PM +0100, Christoffer Dall wrote:
> ELR_EL1 is not used by a VHE host kernel and can be deferred, but we
> need to rework the accesses to this register to access the latest value
> depending on whether or not guest system registers are loaded on the CPU
> or only reside in memory.
>
> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>
> ---
>
> Notes:
> Changes since v2:
> - New patch (deferred register handling has been reworked)
>
> arch/arm64/include/asm/kvm_emulate.h | 18 +++++++++++++++++-
> arch/arm64/kvm/inject_fault.c | 4 ++--
> 2 files changed, 19 insertions(+), 3 deletions(-)
>
Reviewed-by: Andrew Jones <drjones at redhat.com>
More information about the linux-arm-kernel
mailing list