]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Introduce for_each_hyp_page
authorVincent Donnefort <vdonnefort@google.com>
Wed, 21 May 2025 12:48:26 +0000 (13:48 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 13:33:51 +0000 (14:33 +0100)
commit3db771fa23ed6aecdf28ce4b806309198eea84e2
tree74ff11f177df14ef3cd0ecf2fb116bbe96e6df04
parent944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9
KVM: arm64: Introduce for_each_hyp_page

Add a helper to iterate over the hypervisor vmemmap. This will be
particularly handy with the introduction of huge mapping support
for the np-guest stage-2.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://lore.kernel.org/r/20250521124834.1070650-3-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/include/nvhe/memory.h
arch/arm64/kvm/hyp/nvhe/mem_protect.c
arch/arm64/kvm/hyp/nvhe/setup.c