public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH 6.1.y-cip 0/3] net: stmmac: Fix EEE-related issues
@ 2025-12-29  8:39 Ovidiu Panait
  2025-12-29  8:39 ` [PATCH 6.1.y-cip 1/3] net: phy: add configuration of rx clock stop mode Ovidiu Panait
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Ovidiu Panait @ 2025-12-29  8:39 UTC (permalink / raw)
  To: cip-dev, pavel, nobuhiro.iwamatsu.x90

Hi,

When testing Ethernet on the Renesas RZ/V2H and RZ/V2N platforms with
6.1-cip, LPI interrupt storms and VLAN register access timeouts were
observed.

Both issues are caused by the RX clock stop feature being enabled by
default. When EEE is active and the link is idle, the PHY stops the
RX clock to save power. However, the stmmac hardware requires the RX
clock to be running when accessing certain registers.

More specifically, VLAN operations fail with:

    # ip link add link end1 name end1.5 type vlan id 5
    15c40000.ethernet end1: Timeout accessing MAC_VLAN_Tag_Filter
    RTNETLINK answers: Device or resource busy

Also, LPI interrupt storms occur because the RX clock may be stopped when
the driver attempts to clear the pending interrupt. The interrupt is
not cleared and keeps re-triggering until the RX clock resumes.

A comprehensive overview of RX clock related issues in stmmac can be
found in these threads:
https://lore.kernel.org/all/20251026122905.29028-1-laurent.pinchart@ideasonboard.com/
https://lore.kernel.org/all/Z9ySeo61VYTClIJJ@shell.armlinux.org.uk/

These issues are already fixed in mainline. This series backports the
relevant stmmac EEE fixes to 6.1-cip.

Best regards,
Ovidiu


Ovidiu Panait (2):
  net: stmmac: Fix VLAN 0 deletion in vlan_del_hw_rx_fltr()
  net: stmmac: Disable EEE RX clock stop when VLAN is enabled

Russell King (Oracle) (1):
  net: phy: add configuration of rx clock stop mode

 .../net/ethernet/stmicro/stmmac/dwmac4_core.c |  3 +-
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |  8 ++++-
 drivers/net/phy/phy.c                         | 32 +++++++++++++++----
 include/linux/phy.h                           |  1 +
 4 files changed, 36 insertions(+), 8 deletions(-)

-- 
2.51.0



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

end of thread, other threads:[~2026-01-07  8:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-29  8:39 [PATCH 6.1.y-cip 0/3] net: stmmac: Fix EEE-related issues Ovidiu Panait
2025-12-29  8:39 ` [PATCH 6.1.y-cip 1/3] net: phy: add configuration of rx clock stop mode Ovidiu Panait
2026-01-04 17:28   ` [cip-dev] " Pavel Machek
2025-12-29  8:39 ` [PATCH 6.1.y-cip 2/3] net: stmmac: Fix VLAN 0 deletion in vlan_del_hw_rx_fltr() Ovidiu Panait
2025-12-29  8:39 ` [PATCH 6.1.y-cip 3/3] net: stmmac: Disable EEE RX clock stop when VLAN is enabled Ovidiu Panait
2026-01-04 17:29 ` [cip-dev] [PATCH 6.1.y-cip 0/3] net: stmmac: Fix EEE-related issues Pavel Machek
2026-01-07  8:17 ` nobuhiro.iwamatsu.x90

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox