Skip to content

net: stmmac: Fixes for -net

Jose Abreu linux-arm-kernel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: stmmac: Fix sparse warningdrivers/net/ethernet/stmicro/stmmac/dwmac4_core.c drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c drivers/net/ethernet/stmicro/stmmac/hwif.h +1 more+6 -50 replies
2/9net: stmmac: gmac4: bitrev32 returns u32drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c+1 -10 replies
3/9net: stmmac: xgmac: bitrev32 returns u32drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c+1 -10 replies
4/9net: stmmac: selftests: Must remove UC/MC addresses to prevent false positivesdrivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c+76 -281 reply
5/9net: stmmac: xgmac: Only get SPH header len if availabledrivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c+2 -11 reply
6/9net: stmmac: xgmac: Fix TSA selectiondrivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c+1 -00 replies
7/9net: stmmac: xgmac: Fix AV Feature detectiondrivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c+1 -10 replies
8/9net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AVdrivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c+2 -00 replies
9/9net: stmmac: xgmac: Disable MMC interrupts by defaultdrivers/net/ethernet/stmicro/stmmac/mmc_core.c+4 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net 0/9] net: stmmac: Fixes for -net

Misc fixes for stmmac.

Patch 1/9, corrects a sparse warning reported by kbuild.

Patch 2/9 and 3/9, use the correct variable type for bitrev32() calls.

Patch 4/9, fixes the random failures the we were seing when running selftests.

Patch 5/9, prevents a crash that can occur when receiving AVB packets and with SPH feature enabled on XGMAC.

Patch 6/9, fixes the correct settings for CBS on XGMAC.

Patch 7/9, corrects the interpretation of AVB feature on XGMAC.

Patch 8/9, disables Flow Control for AVB enabled queues on XGMAC.

Patch 9/9, disables MMC interrupts on XGMAC, preventing a storm of interrupts.

---
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Jose Abreu <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---

Jose Abreu (9):
net: stmmac: Fix sparse warning
net: stmmac: gmac4: bitrev32 returns u32
net: stmmac: xgmac: bitrev32 returns u32
net: stmmac: selftests: Must remove UC/MC addresses to prevent false
positives
net: stmmac: xgmac: Only get SPH header len if available
net: stmmac: xgmac: Fix TSA selection
net: stmmac: xgmac: Fix AV Feature detection
net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in
AV
net: stmmac: xgmac: Disable MMC interrupts by default

 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c  |   4 +-
 .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c    |   5 +-
 .../net/ethernet/stmicro/stmmac/dwxgmac2_descs.c   |   3 +-
 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c |   4 +-
 drivers/net/ethernet/stmicro/stmmac/hwif.h         |   2 +-
 drivers/net/ethernet/stmicro/stmmac/mmc_core.c     |   6 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   5 +-
 .../net/ethernet/stmicro/stmmac/stmmac_selftests.c | 104 +++++++++++++++------
 8 files changed, 94 insertions(+), 39 deletions(-)
Signature · 1 line
2.7.4