Re: [PATCH] hw/net: e1000e: Clear ICR on read when using non MSI-X interrupts

2022-02-11 Thread Jason Wang
On Thu, Feb 10, 2022 at 4:10 PM Nick Hudson wrote: > > In section 7.4.3 of the 82574 datasheet it states that > > "In systems that do not support MSI-X, reading the ICR > register clears it's bits..." > > Some OSes rely on this. > > Signed-off-by: Nick Hudson > --- > hw/net/e1000e_core.

[PATCH] hw/net: e1000e: Clear ICR on read when using non MSI-X interrupts

2022-02-10 Thread Nick Hudson
In section 7.4.3 of the 82574 datasheet it states that "In systems that do not support MSI-X, reading the ICR register clears it's bits..." Some OSes rely on this. Signed-off-by: Nick Hudson --- hw/net/e1000e_core.c | 5 + hw/net/trace-events | 1 + 2 files changed, 6 insertions(