projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680e60b
)
e1000e: Fix OTHER interrupts processing for MSI-X
author
Dmitry Fleytman
<dmitry@daynix.com>
Thu, 15 Sep 2016 06:14:28 +0000
(09:14 +0300)
committer
Jason Wang
<jasowang@redhat.com>
Tue, 27 Sep 2016 09:54:22 +0000
(17:54 +0800)
Interrupt mask for legacy OTHER causes should
not apply to MSI-X OTHER cause.
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c
patch
|
blob
|
history
diff --git
a/hw/net/e1000e_core.c
b/hw/net/e1000e_core.c
index a5751acd5cb0148854ca374b780aa3ab4e87a09e..d26b611ab96795a6c824131b351fa963ddbda013 100644
(file)
--- a/
hw/net/e1000e_core.c
+++ b/
hw/net/e1000e_core.c
@@
-2131,7
+2131,7
@@
e1000e_update_interrupt_state(E1000ECore *core)
/* Set ICR[OTHER] for MSI-X */
if (is_msix) {
- if (core->mac[ICR] &
core->mac[IMS] &
E1000_ICR_OTHER_CAUSES) {
+ if (core->mac[ICR] & E1000_ICR_OTHER_CAUSES) {
core->mac[ICR] |= E1000_ICR_OTHER;
trace_e1000e_irq_add_msi_other(core->mac[ICR]);
}