]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Check the pgt instead of the pgd when modifying page-table
authorWill Deacon <will@kernel.org>
Fri, 11 Sep 2020 13:25:26 +0000 (14:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Sep 2020 14:51:15 +0000 (15:51 +0100)
commit3e2cd8938dfc8782e941ba9482423dfd5409c80d
treecb28bbab380ae7c1492f1b06358a1a55da1c58ba
parentaace91b1b9a587ef5c532a890a98d79f849d6ad7
KVM: arm64: Check the pgt instead of the pgd when modifying page-table

In preparation for removing the 'pgd' field of 'struct kvm_s2_mmu',
update the few remaining users to check the 'pgt' field instead.

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