]> git.ipfire.org Git - thirdparty/qemu.git/commit
e1000e: Do not auto-clear ICR bits which aren't set in EIAC
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 1 Apr 2018 21:17:55 +0000 (23:17 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 15 Jun 2018 02:39:53 +0000 (10:39 +0800)
commit2285a00c113469bb3e750ca4921cdb7baaae9e25
tree47067fbf41baa158fcfc7600554240c961600869
parent8b43f964f987d44f25df1b7c002d0c241b57bffe
e1000e: Do not auto-clear ICR bits which aren't set in EIAC

The spec does not justify clearing of any E1000_ICR_OTHER_CAUSES when
E1000_ICR_OTHER is set in EIAC. In fact, removing this code fixes the
issue the Linux driver runs into since 4aea7a5c5e94 ("e1000e: Avoid
receiver overrun interrupt bursts") and was worked around by
745d0bd3af99 ("e1000e: Remove Other from EIAC").

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c