Browse Source

Drivers: hv: Issue explicit EOI when autoeoi is not enabled

When auto EOI is not enabled; issue an explicit EOI for hyper-v
interrupts.

Fixes: 6c248aad81c8 ("Drivers: hv: Base autoeoi enablement based on hypervisor hints")

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
K. Y. Srinivasan 8 years ago
parent
commit
a33fd4c27b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/x86/kernel/cpu/mshyperv.c

+ 3 - 0
arch/x86/kernel/cpu/mshyperv.c

@@ -49,6 +49,9 @@ void hyperv_vector_handler(struct pt_regs *regs)
 	if (vmbus_handler)
 		vmbus_handler();
 
+	if (ms_hyperv.hints & HV_X64_DEPRECATING_AEOI_RECOMMENDED)
+		ack_APIC_irq();
+
 	exiting_irq();
 	set_irq_regs(old_regs);
 }