]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit566a0beef52c83f13b67aef02b2bc0aa63c0e0d6
tree7dc2f804a74501b36a838c648e785773cb4a25ed
parent5194552fb1ffb4248c8db3f7286aa4ac7ae3163b
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