netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] address EEE regressions on KSZ switches since v6.9 (v6.14+)
@ 2025-04-29  7:23 Oleksij Rempel
  2025-04-29  7:23 ` [PATCH net v2 1/2] net: dsa: microchip: let phylink manage PHY EEE configuration on KSZ switches Oleksij Rempel
  2025-04-29  7:23 ` [PATCH net v2 2/2] net: phy: micrel: remove KSZ9477 EEE quirks now handled by phylink Oleksij Rempel
  0 siblings, 2 replies; 4+ messages in thread
From: Oleksij Rempel @ 2025-04-29  7:23 UTC (permalink / raw)
  To: David S. Miller, Andrew Lunn, Eric Dumazet, Florian Fainelli,
	Jakub Kicinski, Paolo Abeni, Vladimir Oltean, Woojung Huh,
	Russell King (Oracle), Heiner Kallweit
  Cc: Oleksij Rempel, kernel, linux-kernel, netdev, UNGLinuxDriver,
	stable

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.

Oleksij Rempel (2):
  net: dsa: microchip: let phylink manage PHY EEE configuration on KSZ
    switches
  net: phy: micrel: remove KSZ9477 EEE quirks now handled by phylink

 drivers/net/dsa/microchip/ksz_common.c | 134 +++++++++++++++++++------
 drivers/net/phy/micrel.c               |   7 --
 include/linux/micrel_phy.h             |   1 -
 3 files changed, 106 insertions(+), 36 deletions(-)

--
2.39.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-29  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29  7:23 [PATCH net v2 0/2] address EEE regressions on KSZ switches since v6.9 (v6.14+) Oleksij Rempel
2025-04-29  7:23 ` [PATCH net v2 1/2] net: dsa: microchip: let phylink manage PHY EEE configuration on KSZ switches Oleksij Rempel
2025-04-29  7:23 ` [PATCH net v2 2/2] net: phy: micrel: remove KSZ9477 EEE quirks now handled by phylink Oleksij Rempel
2025-04-29  7:30   ` Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).