]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: Check the allocation of pv cpu mask"
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sun, 20 Sep 2020 13:10:12 +0000 (09:10 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 20 Sep 2020 21:29:58 +0000 (17:29 -0400)
commitcc4ce5109ce4902fb0271b378b02a557cc1cb371
tree36a1f0b61cbae9d96fe222b9958f81a3b240343d
parentf330662d511c79606d9c2a1114ee571e1ab2aff4
Revert "KVM: Check the allocation of pv cpu mask"

The commit 0a614374e9e1 ("KVM: Check the allocation of pv cpu mask") we
have in 5.9-rc5 has two issue:
1) Compilation fails for !CONFIG_SMP, see:
   https://bugzilla.kernel.org/show_bug.cgi?id=209285

2) This commit completely disables PV TLB flush, see
   https://lore.kernel.org/kvm/87y2lrnnyf.fsf@vitty.brq.redhat.com/

The allocation problem is likely a theoretical one, if we don't
have memory that early in boot process we're likely doomed anyway.
Let's solve it properly later.

This reverts commit 0a614374e9e16f8a205d9a1810e6c2f29a2e5815.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kernel/kvm.c