KVM: arm64: Convert to the gfn-based MMU notifier callbacks
authorSean Christopherson <seanjc@google.com>
Fri, 2 Apr 2021 00:56:51 +0000 (17:56 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:07 +0000 (08:31 -0400)
commitcd4c7183522817087278b3e000b8a888f9f91b5c
tree2403253f5bfd8699e214bcda5b07f962203c2eb5
parent3039bcc744980afe87c612122e47a27306483bc2
KVM: arm64: Convert to the gfn-based MMU notifier callbacks

Move arm64 to the gfn-base MMU notifier APIs, which do the hva->gfn
lookup in common code.

No meaningful functional change intended, though the exact order of
operations is slightly different since the memslot lookups occur before
calling into arch code.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210402005658.3024832-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/mmu.c