]> 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)
commit785e6d923ec43a4650300065b1c4b698d25147a8
tree3cdf61b95c8f1d66cea5248e7b98b84dc16ab7a0
parentd2e9312723d42bcc8557baad1cdf8469694e5405
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