[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250220085833.476b3f62@kernel.org>
Date: Thu, 20 Feb 2025 08:58:33 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Nick Hu <nick.hu@...ive.com>
Cc: Radhey Shyam Pandey <radhey.shyam.pandey@....com>, Andrew Lunn
<andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Michal
Simek <michal.simek@....com>, Russell King <linux@...linux.org.uk>,
Francesco Dolcini <francesco.dolcini@...adex.com>, Praneeth Bajjuri
<praneeth@...com>, Andrew Lunn <andrew@...n.ch>, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: axienet: Set mac_managed_pm
On Mon, 17 Feb 2025 13:58:42 +0800 Nick Hu wrote:
> The external PHY will undergo a soft reset twice during the resume process
> when it wake up from suspend. The first reset occurs when the axienet
> driver calls phylink_of_phy_connect(), and the second occurs when
> mdio_bus_phy_resume() invokes phy_init_hw(). The second soft reset of the
> external PHY does not reinitialize the internal PHY, which causes issues
> with the internal PHY, resulting in the PHY link being down. To prevent
> this, setting the mac_managed_pm flag skips the mdio_bus_phy_resume()
> function.
>
> Fixes: a129b41fe0a8 ("Revert "net: phy: dp83867: perform soft reset and retain established link"")
> Signed-off-by: Nick Hu <nick.hu@...ive.com>
Applied, thanks!
Powered by blists - more mailing lists