Merge branch 'net-phy-microchip-lan88xx-reliability-fixes'
authorJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 01:08:18 +0000 (18:08 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 01:08:19 +0000 (18:08 -0700)
commit2dfa4e31768bd73bc02a69f8f2cd11dd95f062bf
tree47fe190908ca9a4a7228e22a4bfb25cb15f127c3
parent01b8114b432d7baaa5e51ab229c12c4f36b8e2c6
parentdd4360c0e8504f2f7639c7f5d07c93cfd6a98333
Merge branch 'net-phy-microchip-lan88xx-reliability-fixes'

Oleksij Rempel says:

====================
net: phy: microchip: LAN88xx reliability fixes

This patch series improves the reliability of the Microchip LAN88xx
PHYs, particularly in edge cases involving fixed link configurations or
forced speed modes.

Patch 1 assigns genphy_soft_reset() to the .soft_reset hook to ensure
that stale link partner advertisement (LPA) bits are properly cleared
during reconfiguration. Without this, outdated autonegotiation bits may
remain visible in some parallel detection cases.

Patch 2 restricts the 100 Mbps workaround (originally intended to handle
cable length switching) to only run when the link transitions to the
PHY_NOLINK state. This prevents repeated toggling that can confuse
autonegotiating link partners such as the Intel i350, leading to
unstable link cycles.

Both patches were tested on a LAN7850 (with integrated LAN88xx PHY)
against an Intel I350 NIC. The full test suite - autonegotiation, fixed
link, and parallel detection - passed successfully.
====================

Link: https://patch.msgid.link/20250709130753.3994461-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>