netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] Refine stmmac code
@ 2025-08-11  7:35 Tiezhu Yang
  2025-08-11  7:35 ` [PATCH net-next v3 1/3] net: stmmac: Check stmmac_hw_setup() in stmmac_resume() Tiezhu Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tiezhu Yang @ 2025-08-11  7:35 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: Maxime Chevallier, netdev, linux-kernel

Here are three small patches to refine stmmac code when debugging and
testing the problem "Failed to reset the dma".

v3:
  -- Add a new patch to change the first parameter of fix_soc_reset().
  -- Print an error message which gives a hint the PHY clock is missing.

v2:
  -- Update the commit message of patch #1 to explain the background.
  -- Add Reviewed-by tag for patch #2, no code changes.

Tiezhu Yang (3):
  net: stmmac: Check stmmac_hw_setup() in stmmac_resume()
  net: stmmac: Change first parameter of fix_soc_reset()
  net: stmmac: Return early if invalid in loongson_dwmac_fix_reset()

 drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c      | 6 +++---
 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c | 7 ++++++-
 drivers/net/ethernet/stmicro/stmmac/hwif.c           | 2 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c    | 9 ++++++++-
 include/linux/stmmac.h                               | 2 +-
 5 files changed, 19 insertions(+), 7 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-13 23:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11  7:35 [PATCH net-next v3 0/3] Refine stmmac code Tiezhu Yang
2025-08-11  7:35 ` [PATCH net-next v3 1/3] net: stmmac: Check stmmac_hw_setup() in stmmac_resume() Tiezhu Yang
2025-08-11  7:35 ` [PATCH net-next v3 2/3] net: stmmac: Change first parameter of fix_soc_reset() Tiezhu Yang
2025-08-11  7:35 ` [PATCH net-next v3 3/3] net: stmmac: Return early if invalid in loongson_dwmac_fix_reset() Tiezhu Yang
2025-08-13 23:40 ` [PATCH net-next v3 0/3] Refine stmmac code patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).