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)
commit7d1f8691ccffe88cec70a6e4044adf1b9bbd8a7c
tree36a1f0b61cbae9d96fe222b9958f81a3b240343d
parent37f66bbef0920429b8cb5eddba849ec4308a9f8e
Revert "KVM: Check the allocation of pv cpu mask"

The commit 0f990222108d ("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 0f990222108d214a0924d920e6095b58107d7b59.

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