public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] net: stmmac: Disable EEE on i.MX
@ 2026-03-25 21:00 Laurent Pinchart
  2026-03-25 21:00 ` [PATCH net-next v4 1/2] net: stmmac: provide flag to disable EEE Laurent Pinchart
  2026-03-25 21:00 ` [PATCH net-next v4 2/2] net: stmmac: imx: Disable EEE Laurent Pinchart
  0 siblings, 2 replies; 6+ messages in thread
From: Laurent Pinchart @ 2026-03-25 21:00 UTC (permalink / raw)
  To: netdev, imx
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Fabio Estevam,
	Francesco Dolcini, Frank Li, Jakub Kicinski, Joy Zou,
	Kieran Bingham, Marco Felsch, Paolo Abeni,
	Pengutronix Kernel Team, Russell King (Oracle), Stefan Klug,
	linux-arm-kernel

Hello,

This small patch series fixes a long-standing interrupt storm issue with
stmmac on NXP i.MX platforms.

The initial attempt to fix^Wwork around the problem in DT ([1]) was
painfully but rightfully rejected by Russell, who helped me investigate
the issue in depth. It turned out that the root cause is a mistake in
how interrupts are wired in the SoC, a hardware bug that has been
replicated in all i.MX SoCs that integrate an stmmac. The only viable
solution is to disable EEE on those devices.

Individual patches explain the issue in more details. Patch 1/2,
authored by Russell, adds a new STMMAC_FLAG to disable EEE, and patch
2/2 sets the flag for i.MX platforms.

[1] https://lore.kernel.org/r/20251026122905.29028-1-laurent.pinchart@ideasonboard.com

Laurent Pinchart (1):
  net: stmmac: imx: Disable EEE

Russell King (Oracle) (1):
  net: stmmac: provide flag to disable EEE

 drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c   |  9 +++------
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |  7 ++++++-
 include/linux/stmmac.h                            | 13 +++++++------
 3 files changed, 16 insertions(+), 13 deletions(-)


base-commit: d1e59a46973719e458bec78d00dd767d7a7ba71f
-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2026-03-26 18:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 21:00 [PATCH net-next v4 0/2] net: stmmac: Disable EEE on i.MX Laurent Pinchart
2026-03-25 21:00 ` [PATCH net-next v4 1/2] net: stmmac: provide flag to disable EEE Laurent Pinchart
2026-03-26 15:53   ` Laurent Pinchart
2026-03-26 17:31   ` Kieran Bingham
2026-03-26 18:10     ` Russell King (Oracle)
2026-03-25 21:00 ` [PATCH net-next v4 2/2] net: stmmac: imx: Disable EEE Laurent Pinchart

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