]> 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)
commitbf60868b783a84111b4a91684c2e804c0a9c37cc
tree27a14a6655f7b112b641acc6cc7e27ada689705d
parent924cb9bc8b60493c1f2c088a3836a17ec6907fc2
Revert "KVM: x86/mmu: Zap only TDP MMU leafs in kvm_zap_gfn_range()"

This reverts commit 30cd9dfe3d5876def4de33c2d3c8082384707b71.

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