Skip to content

net: stmmac: add new features to xgmac

Jisheng Zhang linux-arm-kernel linux-devicetree lkml netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest9 patches 7 repliesIn review
  2. v49 patches 9 repliesSuperseded
  3. v310 patches 15 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v210 patches5 repliesSuperseded
v110 patches7 repliesSuperseded

Changes in v5 from the cover letter

- move "additionalItems" and "maxItems" a bit earlier to patch5 to fix "interrupt-names... is too long"

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: stmmac: correct RX COE parsing for xgmacdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+1 -11 reply
2/9net: stmmac: xgmac: add more feature parsing from hw capdrivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c+1 -01 reply
3/9net: stmmac: enlarge max rx/tx queues and channels to 16drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c include/linux/stmmac.h+5 -61 reply
4/9net: stmmac: reflect multi irqs for tx/rx channels and mac and safetydrivers/net/ethernet/stmicro/stmmac/dwmac-intel.c drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +1 more+29 -291 reply
5/9net: stmmac: xgmac: support per-channel irqdrivers/net/ethernet/stmicro/stmmac/dwxgmac2.h drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c+22 -131 reply
6/9dt-bindings: net: snps,dwmac: add safety irq supportDocumentation/devicetree/bindings/net/snps,dwmac.yaml+11 -22 replies
7/9net: stmmac: platform: support parsing safety irqs from DTdrivers/net/ethernet/stmicro/stmmac/stmmac_platform.c+12 -00 replies
8/9dt-bindings: net: snps,dwmac: add per channel irq supportDocumentation/devicetree/bindings/net/snps,dwmac.yaml+66 -20 replies
9/9net: stmmac: platform: support parsing per channel irq from DTdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c+29 -40 replies

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchAlexandre TORGUESerge Semin
1/9A-b R-b
2/9A-b R-b
3/9A-b
4/9
5/9
6/9
7/9A-b
8/9
9/9

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

Read the v5 thread

Cover letter [PATCH net-next v5 0/9] net: stmmac: add new features to xgmac

This series add below new features to xgmac:

correct RX COE parsing
add more feature parsing from hw cap enlarge C22 ADDR and rx/tx channels support parse safety ce/ue irq from DT support per channel irq

Since v4:
- move "additionalItems" and "maxItems" a bit earlier to patch5 to fix "interrupt-names... is too long"

Since v3:
- collect Acked-by tag
- remove patch which enlarges the max XGMAC C22 ADDR to 31 since it's merged
- s/stmmac_request_irq_multi/stmmac_request_irq_multi_channel
- update the dt-binding to refelct the optional per-channel irq:
- use enum
- add additionalItems and maxItems to fix the "interrupt-names .. is too long"

Since v2:
- check per channel irq by (res->rx_irq[0] > 0 && res->tx_irq[0] > 0) rather than (res->rx_irq[0] && res->tx_irq[0])
- bypass if (irq <= 0) when request rx/tx irq

Since v1:
- remove "_irq" suffix from safety irqs dt binding
- remove "snps,per-channel-interrupt" dt binding, check the channel irq instead.
- more renaming about "msi" to reflect per channel irq isn't MSI specific

Jisheng Zhang (9):
net: stmmac: correct RX COE parsing for xgmac
net: stmmac: xgmac: add more feature parsing from hw cap
net: stmmac: enlarge max rx/tx queues and channels to 16
net: stmmac: reflect multi irqs for tx/rx channels and mac and safety
net: stmmac: xgmac: support per-channel irq
dt-bindings: net: snps,dwmac: add safety irq support
net: stmmac: platform: support parsing safety irqs from DT
dt-bindings: net: snps,dwmac: add per channel irq support
net: stmmac: platform: support parsing per channel irq from DT

 .../devicetree/bindings/net/snps,dwmac.yaml   | 77 ++++++++++++++++++-
 .../net/ethernet/stmicro/stmmac/dwmac-intel.c |  4 +-
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.c  |  2 +-
 .../net/ethernet/stmicro/stmmac/dwxgmac2.h    |  2 +
 .../ethernet/stmicro/stmmac/dwxgmac2_core.c   |  5 +-
 .../ethernet/stmicro/stmmac/dwxgmac2_dma.c    | 34 ++++----
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 56 +++++++-------
 .../ethernet/stmicro/stmmac/stmmac_platform.c | 35 +++++++++
 include/linux/stmmac.h                        | 10 +--
 9 files changed, 172 insertions(+), 53 deletions(-)
Signature · 1 line
2.40.1