Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Mar 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers: hv: Issue explicit EOI when autoeoi is not enabled

From: K. Y. Srinivasan <[email protected]>

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")
---
 arch/x86/kernel/cpu/mshyperv.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/x86/kernel/cpu/mshyperv.c +3 -0
index b5375b9..04cb8d3 100644
@@ -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);
 }
Signature · 1 line
1.7.1