]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited06974ec3ef200e128003d368191e14065fec56
treeb5b8b570f69dfeb474d6fe72b4ed6c61603a0009
parentd783dc2da9cdcb2ff3a2a826c7bf76cc9890efa9
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