]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Factor memory allocation out of pgtable.c
authorQuentin Perret <qperret@google.com>
Fri, 19 Mar 2021 10:01:14 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Mar 2021 12:01:20 +0000 (12:01 +0000)
commit95c22c796f5dff068305735a67aa38e7ce67fbce
tree9c29edd6977b4442423f430c4bd2ffcbeee5db70
parentd26e78347591a80f20d38d12ecef3e05100d1dec
KVM: arm64: Factor memory allocation out of pgtable.c

In preparation for enabling the creation of page-tables at EL2, factor
all memory allocation out of the page-table code, hence making it
re-usable with any compatible memory allocator.

No functional changes intended.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-7-qperret@google.com
arch/arm64/include/asm/kvm_pgtable.h
arch/arm64/kvm/hyp/pgtable.c
arch/arm64/kvm/mmu.c