e1000e: Fix OTHER interrupts processing for MSI-X
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>
This commit is contained in:
parent
680e60b6ba
commit
8b54c6e187
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user