]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Use generic allocator for hyp stage-1 page-tables
authorWill Deacon <will@kernel.org>
Fri, 11 Sep 2020 13:25:12 +0000 (14:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Sep 2020 14:51:13 +0000 (15:51 +0100)
commit9a9136ceae0886410aebef951fa4d8e2933af1c7
tree4684d80229f5cb9e5c954296bb5fb8d74116d1ad
parent457142a9bf73c26612e440bc7d15c599b38c5049
KVM: arm64: Use generic allocator for hyp stage-1 page-tables

Now that we have a shiny new page-table allocator, replace the hyp
page-table code with calls into the new API. This also allows us to
remove the extended idmap code, as we can now simply ensure that the
VA size is large enough to map everything we need.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20200911132529.19844-5-will@kernel.org
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/include/asm/kvm_pgtable.h
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/include/asm/pgtable-prot.h
arch/arm64/kvm/mmu.c