diff options
| author | Nick Hu <[email protected]> | 2025-02-17 05:58:42 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-20 08:14:04 +0000 |
| commit | a370295367b55662a32a4be92565fe72a5aa79bb (patch) | |
| tree | 77804bc2f078bb3239bf4ea5ba9596f1ce3ad4ed /net/ipv4/tcp_fastopen.c | |
| parent | Merge branch 'net-core-improvements-to-device-lookup-by-hardware-address' (diff) | |
| download | kernel-a370295367b55662a32a4be92565fe72a5aa79bb.tar.gz kernel-a370295367b55662a32a4be92565fe72a5aa79bb.zip | |
net: axienet: Set mac_managed_pm
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 <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions
