]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: Propagate PTW errors up to AT emulation
authorOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 19:01:53 +0000 (11:01 -0800)
committerOliver Upton <oupton@kernel.org>
Mon, 1 Dec 2025 08:44:02 +0000 (00:44 -0800)
commit92c6443222ca4289191d797ac79176c560886998
tree351dc49741d261c3fee00ab0be7a97892597c5c7
parentf6927b41d57390c597a126063e2e518911976878
KVM: arm64: Propagate PTW errors up to AT emulation

KVM's software PTW will soon support 'hardware' updates to the access
flag. Similar to fault handling, races to update the descriptor will be
handled by restarting the instruction. Prepare for this by propagating
errors up to the AT emulation, only retiring the instruction if the walk
succeeds.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://msgid.link/20251124190158.177318-12-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/at.c
arch/arm64/kvm/sys_regs.c