Merge branch 'address-eee-regressions-on-ksz-switches-since-v6-9-v6-14'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 13 May 2025 08:23:26 +0000 (10:23 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 13 May 2025 08:23:27 +0000 (10:23 +0200)
commit6eeceb3f208de37d07696a7cff411e3922502fa7
tree134d3cb0ac680e665b93c99dfa58001b19a34e31
parent498625a8ab2c8e1c9ab5105744310e8d6952cc01
parent8c619eb21b8e87ae95877e9cca9fcb0e3115776e
Merge branch 'address-eee-regressions-on-ksz-switches-since-v6-9-v6-14'

Oleksij Rempel says:

====================
address EEE regressions on KSZ switches since v6.9 (v6.14+)

This patch series addresses a regression in Energy Efficient Ethernet
(EEE) handling for KSZ switches with integrated PHYs, introduced in
kernel v6.9 by commit fe0d4fd9285e ("net: phy: Keep track of EEE
configuration").

The first patch updates the DSA driver to allow phylink to properly
manage PHY EEE configuration. Since integrated PHYs handle LPI
internally and ports without integrated PHYs do not document MAC-level
LPI support, dummy MAC LPI callbacks are provided.

The second patch removes outdated EEE workarounds from the micrel PHY
driver, as they are no longer needed with correct phylink handling.

This series addresses the regression for mainline and kernels starting
from v6.14. It is not easily possible to fully fix older kernels due
to missing infrastructure changes.

Tested on KSZ9893 hardware.
====================

Link: https://patch.msgid.link/20250504081434.424489-1-o.rempel@pengutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>