Re: [PATCH net v3] net: stmmac: resume PHY before hardware setup when opening the interface

[email protected] Wed, 05 Aug 2026 01:20:12 +0000
Newsgroups gmane.linux.network,gmane.linux.ports.arm.kernel
Message-ID <178589281289.3863162.5474751490038386802.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Mon,  3 Aug 2026 11:51:56 +0200 you wrote:
> Since the referenced commit, changing the MTU on a running interface no
> longer disconnects and reconnects the PHY; __stmmac_release() merely
> stops phylink, which also suspends the PHY (BMCR power-down) when WoL
> is not enabled. __stmmac_open() then performs the DMA software reset in
> stmmac_hw_setup() before phylink_start() resumes the PHY again.
> 
> IEEE 802.3 22.2.4.1.5 allows a PHY to stop its receive clock while
> powered down, and stmmac requires a running receive clock for the DMA
> software reset to complete (the phylink config sets mac_requires_rxc).
> On such setups, e.g. the RK3566-based Home Assistant Green with an
> RTL8211F-VD PHY in RGMII mode, any runtime MTU change now times out and
> leaves the interface dead:
> 
> [...]

Here is the summary with links:
  - [net,v3] net: stmmac: resume PHY before hardware setup when opening the interface
    https://git.kernel.org/netdev/net/c/06232cb44bc8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html