KVM: arm64: Move ELR_EL1 to the system register array
authorMarc Zyngier <maz@kernel.org>
Fri, 28 Jun 2019 22:05:38 +0000 (23:05 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 7 Jul 2020 08:28:38 +0000 (09:28 +0100)
commit98909e6d1c811b6368c9c84fa6b3f0817c32ac2f
treeb5b8b570f69dfeb474d6fe72b4ed6c61603a0009
parente47c2055c68e06977d7d8b7dbc2f7468a36d3658
KVM: arm64: Move ELR_EL1 to the system register array

As ELR-EL1 is a VNCR-capable register with ARMv8.4-NV, let's move it to
the sys_regs array and repaint the accessors. While we're at it, let's
kill the now useless accessors used only on the fault injection path.

Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/guest.c
arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h
arch/arm64/kvm/inject_fault.c
arch/arm64/kvm/sys_regs.c