CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/02/28 07:17:21

Modified files:
        sys/dev/pci    : if_iwx.c 

Log message:
Sync tobhe's periodic interrupt fix from iwm(4) to iwx(4).

Rx interrupt handling can lead to a race where the interrupt is handled
before the shared data was updated.  As a workaround each "real" interrupt
enables the "periodic" Rx interrupt which triggers after 8 ms and detects
any dangling Rx activity.  If dangling Rx activity was detected the periodic
interrupt is restarted, if not it stays disabled until the next "real" Rx
interrupt is handled.
The periodic interrupt is not supposed to write IWX_CSR_FH_INT_STATUS
unless it has detected dangling Rx activity.

Reply via email to