projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d6f9c
)
Drivers: hv: Issue explicit EOI when autoeoi is not enabled
author
K. Y. Srinivasan
<kys@microsoft.com>
Wed, 29 Mar 2017 00:16:53 +0000
(17:16 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 16:07:51 +0000
(18:07 +0200)
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>
arch/x86/kernel/cpu/mshyperv.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/mshyperv.c
b/arch/x86/kernel/cpu/mshyperv.c
index
b5375b9
..
04cb8d3
100644
(file)
--- a/
arch/x86/kernel/cpu/mshyperv.c
+++ b/
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);
}