]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Convert pkvm_mappings to interval tree
authorQuentin Perret <qperret@google.com>
Wed, 21 May 2025 12:48:31 +0000 (13:48 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 13:33:51 +0000 (14:33 +0100)
commitb38c9775f73941ee59aebc0a489aa5c22e632def
tree8e41c072ca756638bc51ff01ef3a83a1f68e112e
parentc4d99a833d34d8041a568f0c076379ae53c47896
KVM: arm64: Convert pkvm_mappings to interval tree

In preparation for supporting stage-2 huge mappings for np-guest, let's
convert pgt.pkvm_mappings to an interval tree.

No functional change intended.

Suggested-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://lore.kernel.org/r/20250521124834.1070650-8-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_pgtable.h
arch/arm64/include/asm/kvm_pkvm.h
arch/arm64/kvm/pkvm.c