KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping
authorSean Christopherson <seanjc@google.com>
Sat, 20 Nov 2021 01:50:08 +0000 (01:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:34:58 +0000 (16:34 +0200)
commiteabbe74e7de5ee1841764e8937d3812bc4843eb5
tree90bc4f6525617d6c4b93c77eaf74acbcac0c0c57
parent0855054fa8893ea64f75ee02b43198ed17d75c0a
KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping

[ Upstream commit 7533377215b6ee432c06c5855f6be5d66e694e46 ]

Use the yield-safe variant of the TDP MMU iterator when handling an
unmapping event from the MMU notifier, as most occurences of the event
allow yielding.

Fixes: e1eed5847b09 ("KVM: x86/mmu: Allow yielding during MMU notifier unmap/zap, if possible")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211120015008.3780032-1-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/mmu/tdp_mmu.c