[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250811073506.27513-1-yangtiezhu@loongson.cn>
Date: Mon, 11 Aug 2025 15:35:03 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Andrew Lunn <andrew+netdev@...n.ch>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Maxime Chevallier <maxime.chevallier@...tlin.com>,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH net-next v3 0/3] Refine stmmac code
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
Powered by blists - more mailing lists