KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Sep 2023 09:44:56 +0000 (05:44 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 23 Sep 2023 09:35:12 +0000 (05:35 -0400)
commit441a5dfcd96854cbcb625709e2694a9c60adfaab
treef59ff356ed3afead0a8faabe4ee2c26b9d03a8ef
parent50107e8b2a8a59d8cec7e8454e27c1f8e365acdb
KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()

All callers except the MMU notifier want to process all address spaces.
Remove the address space ID argument of for_each_tdp_mmu_root_yield_safe()
and switch the MMU notifier to use __for_each_tdp_mmu_root_yield_safe().

Extracted out of a patch by Sean Christopherson <seanjc@google.com>

Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/tdp_mmu.c
arch/x86/kvm/mmu/tdp_mmu.h