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

2022-02-13 Thread Jason Wang
在 2022/2/12 下午5:44, 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 Applied. Thanks --- hw/net/e1000e_core.c | 5

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

2022-02-12 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(