]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Add a range to pkvm_mappings
authorQuentin Perret <qperret@google.com>
Wed, 21 May 2025 12:48:32 +0000 (13:48 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 13:33:51 +0000 (14:33 +0100)
commit3669ddd8fa8b5a46d96b9c54a6fa519a17e4a4fa
tree89cb5336aacefc3d7870e402e64ffeeeadb5d827
parentb38c9775f73941ee59aebc0a489aa5c22e632def
KVM: arm64: Add a range to pkvm_mappings

In preparation for supporting stage-2 huge mappings for np-guest, add a
nr_pages member for pkvm_mappings to allow EL1 to track the size of the
stage-2 mapping.

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