diff options
| author | Oleksij Rempel <[email protected]> | 2025-07-09 13:07:52 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-11 01:08:16 +0000 |
| commit | b4517c363e0e005c7f81ae3be199eec68e87f122 (patch) | |
| tree | b6ac2199d897132cc07f3b1e301749499ca160e7 /tools/perf/scripts/python/syscall-counts.py | |
| parent | ibmvnic: Fix hardcoded NUM_RX_STATS/NUM_TX_STATS with dynamic sizeof (diff) | |
| download | kernel-b4517c363e0e005c7f81ae3be199eec68e87f122.tar.gz kernel-b4517c363e0e005c7f81ae3be199eec68e87f122.zip | |
net: phy: microchip: Use genphy_soft_reset() to purge stale LPA bits
Enable .soft_reset for the LAN88xx PHY driver by assigning
genphy_soft_reset() to ensure that the phylib core performs a proper
soft reset during reconfiguration.
Previously, the driver left .soft_reset unimplemented, so calls to
phy_init_hw() (e.g., from lan88xx_link_change_notify()) did not fully
reset the PHY. As a result, stale contents in the Link Partner Ability
(LPA) register could persist, causing the PHY to incorrectly report
that the link partner advertised autonegotiation even when it did not.
Using genphy_soft_reset() guarantees a clean reset of the PHY and
corrects the false autoneg reporting in these scenarios.
Fixes: ccb989e4d1ef ("net: phy: microchip: Reset LAN88xx PHY to ensure clean link state on LAN7800/7850")
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
