]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: nv: Implement HW access flag management in stage-2 SW PTW
authorOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 19:01:55 +0000 (11:01 -0800)
committerOliver Upton <oupton@kernel.org>
Mon, 1 Dec 2025 08:44:02 +0000 (00:44 -0800)
commite4c7dfac2f1ab848ffd356b3e76827ea404bbd94
treed96341a95dc7ed5ab34186ea571d8a3751b05747
parentbff8aa213dee742b09151a34494418050afed948
KVM: arm64: nv: Implement HW access flag management in stage-2 SW PTW

Give the stage-2 walk similar treatment to stage-1: update the access
flag during the table walk and do so for any walk context.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://msgid.link/20251124190158.177318-14-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/mmu.c
arch/arm64/kvm/nested.c