• Vitaly Kuznetsov's avatar
    x86/kvm: don't forget to ACK async PF IRQ · cc17b225
    Vitaly Kuznetsov authored
    Merge commit 26d05b36 ("Merge branch 'kvm-async-pf-int' into HEAD")
    tried to adapt the new interrupt based async PF mechanism to the newly
    introduced IDTENTRY magic but unfortunately it missed the fact that
    DEFINE_IDTENTRY_SYSVEC() doesn't call ack_APIC_irq() on its own and
    all DEFINE_IDTENTRY_SYSVEC() users have to call it manually.
    
    As the result all multi-CPU KVM guest hang on boot when
    KVM_FEATURE_ASYNC_PF_INT is present. The breakage went unnoticed because no
    KVM userspace (e.g. QEMU) currently set it (and thus async PF mechanism
    is currently disabled) but we're about to change that.
    
    Fixes: 26d05b36 ("Merge branch 'kvm-async-pf-int' into HEAD")
    Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
    Message-Id: <20200908135350.355053-3-vkuznets@redhat.com>
    Tested-by: default avatarIngo Molnar <mingo@kernel.org>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    cc17b225
kvm.c 22.6 KB