Sean Christopherson 50107e8b2a KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
The mmu_notifier path is a bit of a special snowflake, e.g. it zaps only a
single address space (because it's per-slot), and can't always yield.
Because of this, it calls kvm_tdp_mmu_zap_leafs() in ways that no one
else does.

Iterate manually over the leafs in response to an mmu_notifier
invalidation, instead of invoking kvm_tdp_mmu_zap_leafs().  Drop the
@can_yield param from kvm_tdp_mmu_zap_leafs() as its sole remaining
caller unconditionally passes "true".

Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230916003916.2545000-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-09-21 05:47:57 -04:00
..
2023-08-28 17:05:58 -07:00
2023-08-31 12:20:12 -07:00
2023-09-04 11:26:29 -07:00
2023-08-31 12:20:12 -07:00
2023-08-30 20:23:07 -07:00
2023-04-08 13:45:37 -07:00
2023-08-26 22:40:37 +02:00
2023-08-31 12:20:12 -07:00
2023-08-31 12:20:12 -07:00
2023-05-15 20:03:08 +02:00
2023-09-05 11:01:47 -07:00