]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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)
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>

Trivial merge