KVM: arm64: Move AArch32 exceptions over to AArch64 sysregs
authorMarc Zyngier <maz@kernel.org>
Tue, 27 Oct 2020 22:23:28 +0000 (22:23 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 11:22:51 +0000 (11:22 +0000)
commit4ff3fc316d78daa2ed6de2f13616fb33a2926d8e
tree3a249f0bbbfcc7387a8b92df5016a7882c70ecb3
parentca4e514774930f30b66375a974b5edcbebaf0e7e
KVM: arm64: Move AArch32 exceptions over to AArch64 sysregs

The use of the AArch32-specific accessors have always been a bit
annoying on 64bit, and it is time for a change.

Let's move the AArch32 exception injection over to the AArch64 encoding,
which requires us to split the two halves of FAR_EL1 into DFAR and IFAR.
This enables us to drop the preempt_disable() games on VHE, and to kill
the last user of the vcpu_cp15() macro.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/inject_fault.c