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: 6c248aad81 ("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a1d6f9cfc7
commit
a33fd4c27b
@@ -49,6 +49,9 @@ void hyperv_vector_handler(struct pt_regs *regs)
|
|||||||
if (vmbus_handler)
|
if (vmbus_handler)
|
||||||
vmbus_handler();
|
vmbus_handler();
|
||||||
|
|
||||||
|
if (ms_hyperv.hints & HV_X64_DEPRECATING_AEOI_RECOMMENDED)
|
||||||
|
ack_APIC_irq();
|
||||||
|
|
||||||
exiting_irq();
|
exiting_irq();
|
||||||
set_irq_regs(old_regs);
|
set_irq_regs(old_regs);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user