summary refs log tree commit diff stats
path: root/util/bufferiszero.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-05-23 11:43:36 +0900
committerJason Wang <jasowang@redhat.com>2023-05-23 15:20:15 +0800
commitefb1fd7a73aac29b02514c8aa46b752a7c7caa73 (patch)
tree0f9af6b8bfe29891a3d84bee44d2e11b7554adc8 /util/bufferiszero.c
parent5844562b177e2067b8ebf78d1845334e0c759896 (diff)
downloadfocaccia-qemu-efb1fd7a73aac29b02514c8aa46b752a7c7caa73.tar.gz
focaccia-qemu-efb1fd7a73aac29b02514c8aa46b752a7c7caa73.zip
igb: Clear-on-read ICR when ICR.INTA is set
For GPIE.NSICR, Section 7.3.2.1.2 says:
> ICR bits are cleared on register read. If GPIE.NSICR = 0b, then the
> clear on read occurs only if no bit is set in the IMS or at least one
> bit is set in the IMS and there is a true interrupt as reflected in
> ICR.INTA.

e1000e does similar though it checks for CTRL_EXT.IAME, which does not
exist on igb.

Suggested-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'util/bufferiszero.c')
0 files changed, 0 insertions, 0 deletions