KVM: arm64: nv: Handle SEAs due to VNCR redirection
authorOliver Upton <oliver.upton@linux.dev>
Tue, 29 Jul 2025 18:23:42 +0000 (11:23 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 5 Aug 2025 05:16:10 +0000 (22:16 -0700)
commit69f8fe955d0b4a951c3726669ab58360ed562484
tree3ec4b0fe237b767b5f053bfaf59863cedc0b5596
parent07f557f60a9a4e15288c29a2924e19e44200db51
KVM: arm64: nv: Handle SEAs due to VNCR redirection

System register accesses redirected to the VNCR page can also generate
external aborts just like any other form of memory access. Route to
kvm_handle_guest_sea() for potential APEI handling, falling back to a
vSError if the kernel didn't handle the abort.

Take the opportunity to throw out the useless kvm_ras.h which provided a
helper with a single callsite...

Cc: Jiaqi Yan <jiaqiyan@google.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250729182342.3281742-1-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/include/asm/kvm_ras.h [deleted file]
arch/arm64/kvm/mmu.c
arch/arm64/kvm/nested.c