]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: x86/mmu: Zap only TDP MMU leafs in kvm_zap_gfn_range()"
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Mar 2022 16:30:32 +0000 (12:30 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Mar 2022 09:11:51 +0000 (05:11 -0400)
commita57228559d9de5b1ace0b99fcef1713e9ccad601
tree27a14a6655f7b112b641acc6cc7e27ada689705d
parent6e1bd1e4895f394fb10aa97dc23cd035fdcd82cc
Revert "KVM: x86/mmu: Zap only TDP MMU leafs in kvm_zap_gfn_range()"

This reverts commit 340052296c0b97853e8a0e1e60b76333fa033843.

Multi-vCPU Hyper-V guests started crashing randomly on boot with the
latest kvm/queue and the problem can be bisected the problem to this
particular patch. Basically, I'm not able to boot e.g. 16-vCPU guest
successfully anymore. Both Intel and AMD seem to be affected. Reverting
the commit saves the day.

Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
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