KVM: arm64: selftests: Test ESR propagation for vSError injection
authorOliver Upton <oliver.upton@linux.dev>
Tue, 8 Jul 2025 23:06:32 +0000 (16:06 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 9 Jul 2025 16:55:05 +0000 (09:55 -0700)
commitf9e4e0a663d239f944649c5201879c7471615dd0
tree3623ed9f07162c9f92e289b5897c6771a394aa17
parentf6e2262dfa1a01b981dc394be39bd022e9ecaebd
KVM: arm64: selftests: Test ESR propagation for vSError injection

Ensure that vSErrors taken in the guest have an appropriate ESR_ELx
value for the expected exception. Additionally, switch the EASE test to
install the SEA handler at the SError offset, as the ESR is still
expected to match an SEA in that case.

Link: https://lore.kernel.org/r/20250708230632.1954240-3-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/arm64/external_aborts.c