Skip to contentSkip to conversation

Request for 6.12.y: r8169 RTL8126 ALDPS fix 4af2f60bf737

DISCUSSION Applied Imre Kaloz 2 participants 2 messages Nov 16 – Nov 17

Subsystems (3)
lore
Share & tools
lore

Imre Kaloz

author Tested-by
#0 lore raw

Please apply to 6.12.y:

commit 4af2f60bf7378bd5c92b15a528d8c6c7d02bed6c
r8169: align RTL8125/RTL8126 PHY config with vendor driver

On RTL8126A, 6.12.y leaves ALDPS enabled. After the link partner had been down for 30 or 60 s, the link came back up at 5000/Full but no frames passed in either direction until the link went down again.

The commit adds the rtl8125_legacy_force_mode() and rtl8168g_disable_aldps() calls to RTL8126A, which RTL8125D already has in 6.12.y, and calls rtl8168g_enable_gphy_10m() on RTL8125D and RTL8126A. On RTL8125B it replaces an identical open-coded write with rtl8168g_enable_gphy_10m(). It was not tagged for stable.

It applies cleanly to v6.12.116. With it applied, the RTL8126A link passes traffic after the partner's link was down for 30, 60 and 120 s; without it, a 30 s or 60 s down leaves the link dead.

6.13 and later contain the commit, and older stable series have no RTL8126 support, so only 6.12.y needs it.

Thanks,
Imre

maintainer Applied
#1 lore raw
Quoted 4 lines

Please apply to 6.12.y:

commit 4af2f60bf7378bd5c92b15a528d8c6c7d02bed6c
r8169: align RTL8125/RTL8126 PHY config with vendor driver

Queued for 6.12, thanks.

Signature · 2 lines
Thanks,
Sasha