OSDN Git Service

KVM: arm64: Convert page-aging and access faults to generic page-table API
authorWill Deacon <will@kernel.org>
Fri, 11 Sep 2020 13:25:19 +0000 (14:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Sep 2020 14:51:14 +0000 (15:51 +0100)
commitee8efad7994ce204806260bc0261c7e103f704c1
treedfe0482b73c8a0a20ea1717003c91cd8ba76c048
parente0e5a07f3f5adca259ffa8ad3f4153ab448a4115
KVM: arm64: Convert page-aging and access faults to generic page-table API

Convert the page-aging functions and access fault handler to use the
generic page-table code 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>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20200911132529.19844-12-will@kernel.org
arch/arm64/kvm/mmu.c