summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-10-14 19:53:49 +0100
committerMarc Zyngier <maz@kernel.org>2020-11-10 08:34:26 +0000
commit41613b519ce78bfe1328b8bd693944e80fc8b6c3 (patch)
tree0b879a28b631f82840721f624226f27220858ddc /arch/arm64/include/asm/kvm_emulate.h
parentbb666c472ca25efb38d1163131cc01546b3a653a (diff)
KVM: arm64: Inject AArch32 exceptions from HYP
Similarly to what has been done for AArch64, move the AArch32 exception injection to HYP. In order to not use the regmap selection code at EL2, simplify the code populating the target mode's LR register by useing the compatibility aliases for LR_abt and LR_und. We also introduce new accessors for SPSR_abt and SPSR_und, and move VBAR/SCTLR to using the AArch64 accessors (the use of the AArch32 names was an ARMv7 leftover). Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_emulate.h')
0 files changed, 0 insertions, 0 deletions