KVM: arm64: Convert unmap_stage2_range() to generic page-table API
authorWill Deacon <will@kernel.org>
Fri, 11 Sep 2020 13:25:17 +0000 (14:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Sep 2020 14:51:13 +0000 (15:51 +0100)
commit52bae936f0e7be4b4c088505aecb8f04121f1dee
tree0973e714db2fba4f3d6e7d26ddfdc4e5db1ff013
parente9edb17ae0a2634bfa5dac529229c06f97f2b669
KVM: arm64: Convert unmap_stage2_range() to generic page-table API

Convert unmap_stage2_range() to use kvm_pgtable_stage2_unmap() instead
of walking the page-table directly.

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-10-will@kernel.org
arch/arm64/kvm/mmu.c