Re: [PATCH net] net: ethernet: ave: Fix MAC to be in charge of PHY PM

From: patchwork-bot+netdevbpf
Date: Wed Oct 26 2022 - 23:31:08 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 24 Oct 2022 16:22:27 +0900 you wrote:
> The phylib callback is called after MAC driver's own resume callback is
> called. For AVE driver, after resuming immediately, PHY state machine is
> in PHY_NOLINK because there is a time lag from link-down to link-up due to
> autoneg. The result is WARN_ON() dump in mdio_bus_phy_resume().
>
> Since ave_resume() itself calls phy_resume(), AVE driver should manage
> PHY PM. To indicate that MAC driver manages PHY PM, set
> phydev->mac_managed_pm to true to avoid the unnecessary phylib call and
> add missing phy_init_hw() to ave_resume().
>
> [...]

Here is the summary with links:
- [net] net: ethernet: ave: Fix MAC to be in charge of PHY PM
https://git.kernel.org/netdev/net/c/e2badb4bd33a

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