linux/arch/x86/kvm/mmu
Sean Christopherson e8be2a5ba8 KVM: x86/mmu: Drop a redundant remote TLB flush in kvm_zap_gfn_range()
Remove an unnecessary remote TLB flush in kvm_zap_gfn_range() now that
said function holds mmu_lock for write for its entire duration.  The
flush was added by the now-reverted commit to allow TDP MMU to flush while
holding mmu_lock for read, as the transition from write=>read required
dropping the lock and thus a pending flush needed to be serviced.

Fixes: 5a324c24b6 ("Revert "KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock"")
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Cc: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Cc: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211022010005.1454978-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-10-22 05:51:46 -04:00
..
mmu_audit.c KVM: x86/mmu: Rename __gfn_to_rmap to gfn_to_rmap 2021-08-06 07:52:58 -04:00
mmu_internal.h KVM: x86/mmu: clean up prefetch/prefault/speculative naming 2021-10-22 05:19:26 -04:00
mmu.c KVM: x86/mmu: Drop a redundant remote TLB flush in kvm_zap_gfn_range() 2021-10-22 05:51:46 -04:00
mmutrace.h KVM: MMU: change tracepoints arguments to kvm_page_fault 2021-10-01 03:44:52 -04:00
page_track.c KVM: cleanup allocation of rmaps and page tracking data 2021-10-22 05:19:25 -04:00
paging_tmpl.h KVM: x86/mmu: clean up prefetch/prefault/speculative naming 2021-10-22 05:19:26 -04:00
paging.h KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs 2021-07-14 12:17:56 -04:00
spte.c KVM: x86/mmu: clean up prefetch/prefault/speculative naming 2021-10-22 05:19:26 -04:00
spte.h KVM: x86/mmu: clean up prefetch/prefault/speculative naming 2021-10-22 05:19:26 -04:00
tdp_iter.c KVM: x86/mmu: Store the address space ID in the TDP iterator 2021-03-16 14:16:34 -04:00
tdp_iter.h KVM: x86/mmu: Store the address space ID in the TDP iterator 2021-03-16 14:16:34 -04:00
tdp_mmu.c KVM: x86/mmu: clean up prefetch/prefault/speculative naming 2021-10-22 05:19:26 -04:00
tdp_mmu.h KVM: cleanup allocation of rmaps and page tracking data 2021-10-22 05:19:25 -04:00