]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Drop a redundant, broken remote TLB flush
authorSean Christopherson <seanjc@google.com>
Fri, 22 Oct 2021 01:00:03 +0000 (18:00 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Oct 2021 09:51:30 +0000 (05:51 -0400)
commite46259515096249169a6e656d884459f9a1a2bf8
treee473b2b1a5a5c1e2bb3c0896a34f48152cb1cbf5
parentcc8e79e20c446b23864a28656c88fe7761df9904
KVM: x86/mmu: Drop a redundant, broken remote TLB flush

A recent commit to fix the calls to kvm_flush_remote_tlbs_with_address()
in kvm_zap_gfn_range() inadvertantly added yet another flush instead of
fixing the existing flush.  Drop the redundant flush, and fix the params
for the existing flush.

Cc: stable@vger.kernel.org
Fixes: c4e1230f4a83 ("KVM: x86/mmu: fix parameters to kvm_flush_remote_tlbs_with_address")
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Cc: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211022010005.1454978-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c