Skip to content

net: stmmac: dwmac4: Fixes issues in dwmac4

Ley Foon Tan linux-arm-kernel lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesApplied 3/3
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 1 replySuperseded

Changes in v3 from the cover letter

- Added more description in cover letter.
- Fixed subject for the cover letter

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: stmmac: dwmac4: Fix MTL_OP_MODE_RTC mask and shift macrosdrivers/net/ethernet/stmicro/stmmac/dwmac4.h+2 -21 replyApplied
2/3net: stmmac: dwmac4: Fix the MTL_OP_MODE_*_MASK operationdrivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c+2 -21 replyApplied
3/3net: stmmac: dwmac4: Receive Watchdog Timeout is not in abnormal interrupt summarydrivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c+4 -21 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] net: stmmac: dwmac4: Fixes issues in dwmac4

This patch series fixes issues in the dwmac4 driver. These three patches don't cause any user-visible issues, so they are targeted for net-next.

Patch #1:
Corrects the masking logic in the MTL Operation Mode RTC mask and shift macros. The current code lacks the use of the ~ operator, which is necessary to clear the bits properly.

Patch #2:
Addresses inaccuracies in the MTL_OP_MODE_*_MASK macros. The RTC fields are located in bits [1:0], and this patch ensures the mask and shift macros use the appropriate values to reflect this.

Patch #3:
Moves the handling of the Receive Watchdog Timeout (RWT) out of the Abnormal Interrupt Summary (AIS) condition. According to the databook, the RWT interrupt is not included in the AIS.

Changes since v2:
- Added more description in cover letter.
- Fixed subject for the cover letter

Changes since v1:
- Updated CC list from get_maintainers.pl.
- Removed Fixes tag.
- Add more description in cover letter.

History:
v1: https://lore.kernel.org/linux-arm-kernel/[email protected]/T/
v2: https://lore.kernel.org/netdev/[email protected]/T/

Ley Foon Tan (3):
net: stmmac: dwmac4: Fix MTL_OP_MODE_RTC mask and shift macros
net: stmmac: dwmac4: Fix the MTL_OP_MODE_*_MASK operation
net: stmmac: dwmac4: Receive Watchdog Timeout is not in abnormal
interrupt summary

 drivers/net/ethernet/stmicro/stmmac/dwmac4.h     | 4 ++--
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 4 ++--
 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c | 6 ++++--
 3 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1