diff options
| author | Fuad Tabba <tabba@google.com> | 2026-06-15 14:11:16 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-06-17 12:58:40 +0100 |
| commit | e2cb1f4578625e71f461d5c1ce70984193389cbb (patch) | |
| tree | d9666912203acdbc4b90bb37f7001659844a7788 /scripts/Makefile.thinlto | |
| parent | 9f1667098c6ae7ec81a9a56859cfdacb822aa0d0 (diff) | |
KVM: arm64: nv: Write ESR_EL2 for injected nested SError exceptions
kvm_inject_el2_exception() writes ESR_EL2 for synchronous exceptions
but not for SError. enter_exception64() does not write ESR_ELx for any
exception type, so the constructed syndrome is dropped. A guest L2
hypervisor taking a nested SError observes stale ESR_EL2.
This affects both kvm_inject_nested_serror() and the EASE path in
kvm_inject_nested_sea().
Write ESR_EL2 for except_type_serror, matching except_type_sync.
Fixes: 77ee70a07357 ("KVM: arm64: nv: Honor SError exception routing / masking")
Reported-by: sashiko <sashiko@sashiko.dev>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260615131116.390977-1-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
