KVM: arm64: Fix + test for SError ESR
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Populate ESR_ELx.EC for emulated SError injectionarch/ | +4 | 0 replies | |
| 2/2 | KVM: arm64: selftests: Test ESR propagation for vSError injectiontools/ | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM: arm64: Fix + test for SError ESR
VSESR_EL2 only provides an ESR_EL1.ISS value for the SError, not a complete ESR. Namely, hardware sets the EC field to indicate an SError (0x2F), meaning we need to do the same for our software-emulated SError injection.
Note that this behavior already exists for nested SError injection in kvm_inject_nested_serror(). I also extended the external_aborts test to assert the guest sees an expected ESR value for an SError.
Oliver Upton (2):
KVM: arm64: Populate ESR_ELx.EC for emulated SError injection
KVM: arm64: selftests: Test ESR propagation for vSError injection
arch/arm64/kvm/inject_fault.c | 4 +++ .../selftests/kvm/arm64/external_aborts.c | 32 +++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-)
base-commit: 3c5832f03f2ecd2b881f5bfbae06feeead432c16
Signature · 1 line
2.39.5