]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Add filtering hook to S1 page table walk
authorMarc Zyngier <maz@kernel.org>
Mon, 25 Aug 2025 10:28:19 +0000 (11:28 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 20 Sep 2025 10:05:13 +0000 (11:05 +0100)
commit0c5471408cb5c518bce76b851aff89719283a428
tree1fd8e78ecec2f648695f163f4cd51abf3a782828
parent61b0280a670bdbb3a209ae474625f387788af0a8
KVM: arm64: Add filtering hook to S1 page table walk

Add a filtering hook that can get called on each level of the
walk, and providing access to the full state.

Crucially, this is called *before* the access is made, so that
it is possible to track down the level of a faulting access.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_nested.h
arch/arm64/kvm/at.c