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@xxxxxxxxxx> > --- > > 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@xxxxxxxxxx>