|
|
357786 |
From d77dfec42fe78f5010780dadd10d7e20e0877867 Mon Sep 17 00:00:00 2001
|
|
|
357786 |
From: Xiao Wang <jasowang@redhat.com>
|
|
|
357786 |
Date: Thu, 16 Aug 2018 06:09:02 +0200
|
|
|
357786 |
Subject: [PATCH 1/5] e1000e: Do not auto-clear ICR bits which aren't set in
|
|
|
357786 |
EIAC
|
|
|
357786 |
|
|
|
357786 |
RH-Author: Xiao Wang <jasowang@redhat.com>
|
|
|
357786 |
Message-id: <1534399743-23973-2-git-send-email-jasowang@redhat.com>
|
|
|
357786 |
Patchwork-id: 81850
|
|
|
357786 |
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 1/2] e1000e: Do not auto-clear ICR bits which aren't set in EIAC
|
|
|
357786 |
Bugzilla: 1596010
|
|
|
357786 |
RH-Acked-by: wexu@redhat.com
|
|
|
357786 |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
357786 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
357786 |
|
|
|
357786 |
From: Jan Kiszka <jan.kiszka@siemens.com>
|
|
|
357786 |
|
|
|
357786 |
The spec does not justify clearing of any E1000_ICR_OTHER_CAUSES when
|
|
|
357786 |
E1000_ICR_OTHER is set in EIAC. In fact, removing this code fixes the
|
|
|
357786 |
issue the Linux driver runs into since 4aea7a5c5e94 ("e1000e: Avoid
|
|
|
357786 |
receiver overrun interrupt bursts") and was worked around by
|
|
|
357786 |
745d0bd3af99 ("e1000e: Remove Other from EIAC").
|
|
|
357786 |
|
|
|
357786 |
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
|
|
|
357786 |
Signed-off-by: Jason Wang <jasowang@redhat.com>
|
|
|
357786 |
(cherry picked from commit 2285a00c113469bb3e750ca4921cdb7baaae9e25)
|
|
|
357786 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
357786 |
---
|
|
|
357786 |
hw/net/e1000e_core.c | 4 ----
|
|
|
357786 |
1 file changed, 4 deletions(-)
|
|
|
357786 |
|
|
|
357786 |
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
|
|
|
357786 |
index c93c466..9504891 100644
|
|
|
357786 |
--- a/hw/net/e1000e_core.c
|
|
|
357786 |
+++ b/hw/net/e1000e_core.c
|
|
|
357786 |
@@ -2022,10 +2022,6 @@ e1000e_msix_notify_one(E1000ECore *core, uint32_t cause, uint32_t int_cfg)
|
|
|
357786 |
|
|
|
357786 |
effective_eiac = core->mac[EIAC] & cause;
|
|
|
357786 |
|
|
|
357786 |
- if (effective_eiac == E1000_ICR_OTHER) {
|
|
|
357786 |
- effective_eiac |= E1000_ICR_OTHER_CAUSES;
|
|
|
357786 |
- }
|
|
|
357786 |
-
|
|
|
357786 |
core->mac[ICR] &= ~effective_eiac;
|
|
|
357786 |
|
|
|
357786 |
if (!(core->mac[CTRL_EXT] & E1000_CTRL_EXT_IAME)) {
|
|
|
357786 |
--
|
|
|
357786 |
1.8.3.1
|
|
|
357786 |
|