]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: stmmac: dwmac4: Receive Watchdog Timeout is not in abnormal interrupt summary
authorLey Foon Tan <leyfoon.tan@starfivetech.com>
Thu, 7 Nov 2024 06:36:36 +0000 (14:36 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 00:45:23 +0000 (16:45 -0800)
commit671672977012b8ef89fe4e6d6965a2e6b45f3523
tree5de31bef2697652dc3039754f463f5e2c2a2e44f
parent3fccba8fdc1b69a2a5a6f3100c3eacf6125aca7e
net: stmmac: dwmac4: Receive Watchdog Timeout is not in abnormal interrupt summary

The Receive Watchdog Timeout (RWT, bit[9]) is not part of Abnormal
Interrupt Summary (AIS). Move the RWT handling out of the AIS
condition statement.

From databook, the AIS is the logical OR of the following interrupt bits:

- Bit 1: Transmit Process Stopped
- Bit 7: Receive Buffer Unavailable
- Bit 8: Receive Process Stopped
- Bit 10: Early Transmit Interrupt
- Bit 12: Fatal Bus Error
- Bit 13: Context Descriptor Error

Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241107063637.2122726-4-leyfoon.tan@starfivetech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c