]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'dp83tg720-reduce-link-recovery'
authorJakub Kicinski <kuba@kernel.org>
Sat, 14 Jun 2025 01:09:48 +0000 (18:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jun 2025 01:09:49 +0000 (18:09 -0700)
commitf5e72579fe34a81c00c53fd3b1d76c16aa4a2a58
tree09953cae1fc89a833ae1c61ddb77abc63069ff8f
parent0051ea4aca6714965ea1e5ce78bde329eb37b138
parentcc8aeb0f535f3214c2aad13a384e93a55db15569
Merge branch 'dp83tg720-reduce-link-recovery'

Oleksij Rempel says:

====================
dp83tg720: Reduce link recovery

This patch series improves the link recovery behavior of the TI
DP83TG720 PHY driver.

Previously, we introduced randomized reset delay logic to avoid reset
collisions in multi-PHY setups. While this approach was functional, it
had notable drawbacks: unpredictable behavior, longer and more variable
link recovery times, and overall higher complexity in link handling.

With this new approach, we replace the randomized delay with
deterministic, role-specific delays in the PHY reset logic. This enables
us to:
- Remove the redundant empirical 600 ms delay in read_status()
- Drop the random polling interval logic
- Introduce a clean, adaptive polling strategy with consistent
behavior and improved responsiveness

As a result, the PHY is now able to recover link reliably in under
1000_ms
====================

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