]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Handle ERETA[AB] instructions
authorMarc Zyngier <maz@kernel.org>
Fri, 19 Apr 2024 10:29:33 +0000 (11:29 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 20 Apr 2024 11:42:51 +0000 (12:42 +0100)
commit213b3d1ea1612c6d26153be446923831c4534689
tree6af4149811aabce00ff6164041efbffadd4d141a
parent6ccc971ee2c61a1ffb487e46bf6184f7df6aacfb
KVM: arm64: nv: Handle ERETA[AB] instructions

Now that we have some emulation in place for ERETA[AB], we can
plug it into the exception handling machinery.

As for a bare ERET, an "easy" ERETAx instruction is processed as
a fixup, while something that requires a translation regime
transition or an exception delivery is left to the slow path.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240419102935.1935571-14-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/emulate-nested.c
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/hyp/vhe/switch.c