Fixes for stmmac driver. --- ChangeLogs: V1->V2: * subject prefix: ethernet: stmmac: -> net: stmmac: * use dma_addr_t instead of unsigned int for physical address * use cpu_to_le32() V2->V3: * fix the build issue pointed out by kbuild bot. * add error handling for stmmac_reinit_rx_buffers() function. V3->V4: * remove patch (net: stmmac: remove redundant null check for ptp clock), reviewer thinks it should target net-next. V4->V5: * use %pad format to print dma_addr_t. * extend dwmac4_display_ring() to support all descriptor types. * while() -> do-while()
Joakim Zhang (5): net: stmmac: stop each tx channel independently net: stmmac: fix watchdog timeout during suspend/resume stress test net: stmmac: fix dma physical address of descriptor when display ring net: stmmac: fix wrongly set buffer2 valid when sph unsupport net: stmmac: re-init rx buffers when mac resume back .../ethernet/stmicro/stmmac/dwmac4_descs.c | 59 +++++-- .../net/ethernet/stmicro/stmmac/dwmac4_lib.c | 4 - .../ethernet/stmicro/stmmac/dwxgmac2_descs.c | 2 +- .../net/ethernet/stmicro/stmmac/enh_desc.c | 9 +- drivers/net/ethernet/stmicro/stmmac/hwif.h | 5 +- .../net/ethernet/stmicro/stmmac/norm_desc.c | 9 +- .../net/ethernet/stmicro/stmmac/stmmac_main.c | 151 +++++++++++++++--- 7 files changed, 194 insertions(+), 45 deletions(-) -- 2.17.1