KVM: x86: call irq notifiers with directed EOI
authorRadim Krčmář <rkrcmar@redhat.com>
Wed, 18 Mar 2015 18:38:22 +0000 (19:38 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Mar 2015 23:29:05 +0000 (20:29 -0300)
commitc806a6ad35bfa6c92249cd0ca4772d5ac3f8cb68
tree8cfe738177c5e9198d8e17cb08b3132319742304
parent0790ec172de1bd2e23f1dbd4925426b6cc3c1b72
KVM: x86: call irq notifiers with directed EOI

kvm_ioapic_update_eoi() wasn't called if directed EOI was enabled.
We need to do that for irq notifiers.  (Like with edge interrupts.)

Fix it by skipping EOI broadcast only.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=82211
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/ioapic.c
arch/x86/kvm/lapic.c