-
- Downloads
KVM: arm64: Add support for creating kernel-agnostic stage-2 page tables
Introduce alloc() and free() functions to the generic page-table code for guest stage-2 page-tables and plumb these into the existing KVM page-table allocator. Subsequent patches will convert other operations within the KVM allocator over to the generic code. Signed-off-by:Will Deacon <will@kernel.org> Signed-off-by:
Marc Zyngier <maz@kernel.org> Reviewed-by:
Gavin Shan <gshan@redhat.com> Cc: Marc Zyngier <maz@kernel.org> Cc: Quentin Perret <qperret@google.com> Link: https://lore.kernel.org/r/20200911132529.19844-6-will@kernel.org
Showing
- arch/arm64/include/asm/kvm_host.h 1 addition, 0 deletionsarch/arm64/include/asm/kvm_host.h
- arch/arm64/include/asm/kvm_pgtable.h 18 additions, 0 deletionsarch/arm64/include/asm/kvm_pgtable.h
- arch/arm64/kvm/hyp/pgtable.c 54 additions, 0 deletionsarch/arm64/kvm/hyp/pgtable.c
- arch/arm64/kvm/mmu.c 29 additions, 26 deletionsarch/arm64/kvm/mmu.c
Loading
Please register or sign in to comment