diff options
| author | Oliver Upton <oupton@kernel.org> | 2026-06-02 16:54:49 -0700 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-06-03 21:06:43 +0100 |
| commit | 699a2cc7f608145d55621e57828ccf6bfcb8d906 (patch) | |
| tree | 4747b890a43f2a053fa82526166121503a8f5703 /scripts/cleanpatch | |
| parent | efa871f4a2517385295de2e3f786e4ae4ffa6e77 (diff) | |
KVM: arm64: Restart instruction upon race in __kvm_at_s12()
__kvm_at_s*() are expected to return -EAGAIN if the page table walk
raced with a concurrent update to a page table descriptor, which is
interpreted as a signal to restart the trapping instruction.
While this mostly works, __kvm_at_s12() silently eats the return from
__kvm_at_s1e01() and consumes an uninitialized PAR value. Propagate the
nonzero return instead.
Fixes: 92c6443222ca ("KVM: arm64: Propagate PTW errors up to AT emulation")
Signed-off-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260602235450.103057-5-oupton@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
