KVM: arm64: Route SEAs to the SError vector when EASE is set
authorOliver Upton <oliver.upton@linux.dev>
Tue, 8 Jul 2025 17:25:22 +0000 (10:25 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 8 Jul 2025 18:36:35 +0000 (11:36 -0700)
commitfff97df2a0bd215979ae224b97e3e4075030a953
tree966379ececd17d273506eeb50b6b395f3fcc2406
parent178ec0ae35f8a2181a60a2e7c31d8671cbb56f3a
KVM: arm64: Route SEAs to the SError vector when EASE is set

One of the finest additions of FEAT_DoubleFault2 is the ability for
software to request *synchronous* external aborts be taken to the
SError vector, which of coure are *asynchronous* in nature.

Opinions be damned, implement the architecture and send SEAs to the
SError vector if EASE is set for the target context.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250708172532.1699409-18-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/emulate-nested.c
arch/arm64/kvm/hyp/exception.c
arch/arm64/kvm/inject_fault.c