]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: nv: Inject SEA TTW when desc update can't write to GPA
authorOliver Upton <oupton@kernel.org>
Tue, 2 Jun 2026 23:54:48 +0000 (16:54 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 3 Jun 2026 20:06:43 +0000 (21:06 +0100)
commitefa871f4a2517385295de2e3f786e4ae4ffa6e77
treefcf4abe2806951ecbc30dd2862978587b0f1d262
parent5949004d7032767e8fde1e8c986a33f241b2a192
KVM: arm64: nv: Inject SEA TTW when desc update can't write to GPA

Similar to the handling of descriptor reads, inject an SEA during TTW
when the descriptor access fails for reasons other than a race, such as
a read-only memslot or a bad HVA.

Fixes: bff8aa213dee ("KVM: arm64: Implement HW access flag management in stage-1 SW PTW")
Fixes: e4c7dfac2f1a ("KVM: arm64: nv: Implement HW access flag management in stage-2 SW PTW")
Signed-off-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260602235450.103057-4-oupton@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/at.c
arch/arm64/kvm/nested.c