KVM: MIPS: defer flush to generic MMU notifier code
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 31 Mar 2021 07:40:39 +0000 (09:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:05 +0000 (08:31 -0400)
commitfe9a5b055116dff7fcee081abc2def4b14d24c21
treeb7be7a8169a31747efccfda1c93819e77e411f58
parent566a0beef52c83f13b67aef02b2bc0aa63c0e0d6
KVM: MIPS: defer flush to generic MMU notifier code

Return 1 from kvm_unmap_hva_range and kvm_set_spte_hva if a flush is
needed, so that the generic code can coalesce the flushes.

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