KVM: MIPS/MMU: Convert to the gfn-based MMU notifier callbacks
authorSean Christopherson <seanjc@google.com>
Fri, 2 Apr 2021 00:56:52 +0000 (17:56 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:07 +0000 (08:31 -0400)
commitd923ff258423b7c30e257d7adcd791f845e1b5fb
tree3cdf61b95c8f1d66cea5248e7b98b84dc16ab7a0
parentcd4c7183522817087278b3e000b8a888f9f91b5c
KVM: MIPS/MMU: Convert to the gfn-based MMU notifier callbacks

Move MIPS to the gfn-based MMU notifier APIs, which do the hva->gfn
lookup in common code, and whose code is nearly identical to MIPS'
lookup.

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

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210402005658.3024832-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/mmu.c