]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15f192b4286a46cb29e84732376acfc90491622b
tree3cdf61b95c8f1d66cea5248e7b98b84dc16ab7a0
parent83edcee78f98e53cf3b92a506dfb3f29ee122999
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