]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: let generic code call prepare_flush_shadow
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 2 Apr 2021 09:44:56 +0000 (11:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:05 +0000 (08:31 -0400)
commit5a6441713721af35c1d9689fa64dcaf12d62a5ca
tree7dc2f804a74501b36a838c648e785773cb4a25ed
parent41d9a3f691e9e4187205eba12a0e2885bec169bb
KVM: MIPS: let generic code call prepare_flush_shadow

Since all calls to kvm_flush_remote_tlbs must be preceded by
kvm_mips_callbacks->prepare_flush_shadow, repurpose
kvm_arch_flush_remote_tlb to invoke it.  This makes it possible
to use the TLB flushing mechanism provided by the generic MMU
notifier code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/mips.c
arch/mips/kvm/mmu.c