Skip to content

net: stmmac: Fixes and Tegra186 support

Thierry Reding linux-devicetree linux-tegra lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 2 repliesIn review
  2. v17 patches 22 repliesSuperseded

Changes in v2 from the cover letter

- address review comments by Mikko and Joao
- add two additional cleanup patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: stmmac: Rename clk_ptp_ref clock to ptp_refDocumentation/devicetree/bindings/net/stmmac.txt drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c+4 -41 reply
2/9net: stmmac: Stop PHY and remove TX timer on errordrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+5 -10 replies
3/9net: stmmac: Disable PTP reference clock on errordrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+8 -00 replies
4/9net: stmmac: Balance PTP reference clock enable/disabledrivers/net/ethernet/stmicro/stmmac/stmmac_main.c drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c+4 -10 replies
5/9net: stmmac: Check for DMA mapping errorsdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+2 -00 replies
6/9net: stmmac: Parse FIFO sizes from feature registersdrivers/net/ethernet/stmicro/stmmac/common.h drivers/net/ethernet/stmicro/stmmac/dwmac4.h drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c +1 more+13 -00 replies
7/9net: stmmac: Program RX queue size and flow controldrivers/net/ethernet/stmicro/stmmac/dwmac4.h drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c+62 -20 replies
8/9net: stmmac: dwc-qos: Split out ->probe() and ->remove()drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c+98 -260 replies
9/9net: stmmac: dwc-qos: Add Tegra186 supportdrivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c drivers/net/ethernet/stmicro/stmmac/dwmac4.h+248 -00 replies

Reviews trailers per patch

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

PatchJoao PintoMikko PerttunenRob Herring
1/9A-b
2/9
3/9
4/9R-b
5/9
6/9R-b
7/9
8/9R-b R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/9] net: stmmac: Fixes and Tegra186 support

From: Thierry Reding <[email protected]>

Hi everyone,

This series of patches start with a few cleanups that I ran across while adding Tegra186 support to the stmmac driver. It then adds code for FIFO size parsing from feature registers and finally enables support for the incarnation of the Synopsys DWC QOS IP found on NVIDIA Tegra186 SoCs.

This is based on next-20170310.

Changes in v2:
- address review comments by Mikko and Joao
- add two additional cleanup patches

Thanks,
Thierry

Thierry Reding (9):
net: stmmac: Rename clk_ptp_ref clock to ptp_ref
net: stmmac: Stop PHY and remove TX timer on error
net: stmmac: Disable PTP reference clock on error
net: stmmac: Balance PTP reference clock enable/disable
net: stmmac: Check for DMA mapping errors
net: stmmac: Parse FIFO sizes from feature registers
net: stmmac: Program RX queue size and flow control
net: stmmac: dwc-qos: Split out ->probe() and ->remove()
net: stmmac: dwc-qos: Add Tegra186 support

 Documentation/devicetree/bindings/net/stmmac.txt   |   6 +-
 drivers/net/ethernet/stmicro/stmmac/common.h       |   3 +
 .../ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c    | 371 +++++++++++++++++++--
 drivers/net/ethernet/stmicro/stmmac/dwmac4.h       |  15 +
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c   |  57 +++-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |  23 +-
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |   3 +-
 7 files changed, 444 insertions(+), 34 deletions(-)
Signature · 1 line
2.12.0