Skip to content

net: ethernet: mtk_wed: misc fixes

Zhi-Jun You linux-arm-kernel linux-mediatek lkml netdev 4 versions – Applied

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

Get series with b4
b4 am [email protected] change-id 20261016-wedfix-8079f58dbf06

Versions newest first · linked by author and title

  1. v6 Latest4 patches 0 repliesApplied 4/4
  2. v55 patches 4 repliesSuperseded
  3. v43 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v32 patches3 repliesSuperseded

Changes in v6 from the cover letter

- Update cover letter to address the platform that the patches were tested on.
- Update message of patch 2 to clarify what's the issue.
- Update patch 3 to rely on ring descriptor instead of an extra flag.
- Squashed patch 5 into patch 4.
- Lin to v5: https://lore.kernel.org/all/[email protected]/

Patches in v6 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: ethernet: mtk_wed: skip ring reset in wdma_tx_ring_setup for WED v3drivers/net/ethernet/mediatek/mtk_wed.c+1 -10 repliesApplied
2/4net: ethernet: mtk_wed: fix reset condition for rx wdmadrivers/net/ethernet/mediatek/mtk_wed.c+1 -10 repliesApplied
3/4net: ethernet: mtk_wed: free up rings during detachdrivers/net/ethernet/mediatek/mtk_wed.c+8 -00 repliesApplied
4/4net: ethernet: mtk_wed: setup WDMA_RING_TX(0) for non-DBDC MT7986drivers/net/ethernet/mediatek/mtk_wed.c+14 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH net v6 0/4] net: ethernet: mtk_wed: misc fixes

Ths patch series includes some fixes for issues that were discovered by Sashiko and one original patch fixing issue I encountered.

Patch 1,2,3 fix issues that were found by Sashiko. Patch 1 was compiled test only.
Patch 2,3,4 were tested on a mt7986.

Patch 1 fixes tx wdma ring reset for WED v3. Patch 2 fixes the reset condition for rx wdma. Patch 3 fixes rx ring and tx wdma ring not being freed up Patch 4 fixes WED on non-DBDC mt7986.

---
Changes in v6:
- Update cover letter to address the platform that the patches were tested on.
- Update message of patch 2 to clarify what's the issue.
- Update patch 3 to rely on ring descriptor instead of an extra flag.
- Squashed patch 5 into patch 4.
- Lin to v5: https://lore.kernel.org/all/[email protected]/

Changes in v5:
- Add cover letter.
- Add patch 3 to address Sashiko review on rx ring and tx wdma ring not
being freed up.
- Add patch 5 to address Sashiko review on error handling.
- Link to review: https://lore.kernel.org/all/[email protected]/

Changes in v4:
- Add patch 2 to address Sashiko review on rx wdma reset condition.
- Link to review: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Add patch 1 to address Sashiko review on WED v3 tx wdma ring reset.
- Link to review: https://lore.kernel.org/netdev/[email protected]/

Changes in v2:
- Address issues raisied by Sashiko in patch 4
- Link to review: https://lore.kernel.org/all/[email protected]/
- Add comment to explain the special case
- Link to v1: https://lore.kernel.org/all/[email protected]/
---

To: Felix Fietkau <[email protected]>
To: Lorenzo Bianconi <[email protected]>
To: Andrew Lunn <[email protected]>
To: "David S. Miller" <[email protected]>
To: Eric Dumazet <[email protected]>
To: Jakub Kicinski <[email protected]>
To: Paolo Abeni <[email protected]>
To: Matthias Brugger <[email protected]>
To: AngeloGioacchino Del Regno <[email protected]>
To: Sujuan Chen <[email protected]>
To: Rex Lu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
Zhi-Jun You (4):
net: ethernet: mtk_wed: skip ring reset in wdma_tx_ring_setup for WED v3
net: ethernet: mtk_wed: fix reset condition for rx wdma
net: ethernet: mtk_wed: free up rings during detach
net: ethernet: mtk_wed: setup WDMA_RING_TX(0) for non-DBDC MT7986

 drivers/net/ethernet/mediatek/mtk_wed.c | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)

---
base-commit: 7076f684d5132e6a6145e1da2fa74771ecd052e5
change-id: 20261018-wedfix-a60905150472

Best regards,

Signature · 1 line
Zhi-Jun You <[email protected]>