mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH iwl-next 0/4] e1000: phylink for the Intel CE4100 GbE
@ 2026-12-01  7:21 Joseph Telaak
  2026-12-01  7:21 ` [PATCH iwl-next 1/4] dt-bindings: net: add " Joseph Telaak
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Joseph Telaak @ 2026-12-01  7:21 UTC (permalink / raw)
  To: Tony Nguyen, Przemek Kitszel, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Russell King
  Cc: intel-wired-lan, netdev, devicetree, linux-kernel, Joseph Telaak

The GbE of the Intel CE4100 family (PCI 8086:2e6e) has an RGMII interface
and its own MDIO controller. e1000 only handles a PHY it drives itself,
so a MAC wired straight to a switch port fails to probe, and a PHY on the
bus never gets its own driver.

This series lets the device tree describe the link. Patch 1 documents
the node, patch 2 hands a fixed link to phylink, patch 3 attaches a PHY
on the MAC's MDIO bus through phylink, and patch 4 disables EEE, which
the MAC cannot do. Without these properties nothing changes at run time;
E1000 now selects PHYLINK.

Tested on two CE5300 boards, on a backport to 7.3: one with an RTL8211E
(1G and 100M, MTU changes, ifdown/ifup, VLAN filter and offload changes,
pause, autoneg restart, PHY LEDs offloaded to the netdev trigger), and
one wired to a BCM53125 switch with a fixed link (1G through the switch,
STP). Both also ran with lockdep and CONFIG_DEBUG_ATOMIC_SLEEP, without
warnings. Suspend/resume and PCI error recovery were not tested; with
Wake-on-LAN enabled only by the EEPROM default, phylink does not keep
the link up across suspend.

---
Joseph Telaak (4):
      dt-bindings: net: add the Intel CE4100 GbE
      e1000: use phylink for a CE4100 fixed link
      e1000: attach a CE4100 PHY through phylink
      e1000: disable EEE on a CE4100 PHY under phylink

 .../devicetree/bindings/net/intel,ce4100-gbe.yaml  |  90 ++++++
 MAINTAINERS                                        |   1 +
 drivers/net/ethernet/intel/Kconfig                 |   1 +
 drivers/net/ethernet/intel/e1000/e1000.h           |   8 +
 drivers/net/ethernet/intel/e1000/e1000_ethtool.c   |  36 +++
 drivers/net/ethernet/intel/e1000/e1000_hw.c        | 135 ++++++++-
 drivers/net/ethernet/intel/e1000/e1000_hw.h        |   7 +
 drivers/net/ethernet/intel/e1000/e1000_main.c      | 325 ++++++++++++++++++++-
 8 files changed, 591 insertions(+), 12 deletions(-)
---
base-commit: eacacbbea61ffb13e053f9dca732f007b924ef8a
change-id: 20261116-e1000-phylink-9d5ccc98baf9

Best regards,
--  
Joseph Telaak <joseph@telaak.dev>


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

end of thread, other threads:[~2026-12-01 13:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01  7:21 [PATCH iwl-next 0/4] e1000: phylink for the Intel CE4100 GbE Joseph Telaak
2026-12-01  7:21 ` [PATCH iwl-next 1/4] dt-bindings: net: add " Joseph Telaak
2026-12-01 13:16   ` Andrew Lunn
2026-12-01  7:21 ` [PATCH iwl-next 2/4] e1000: use phylink for a CE4100 fixed link Joseph Telaak
2026-12-01  8:58   ` Maxime Chevallier
2026-12-01  9:20     ` Joseph Telaak
2026-12-01  7:21 ` [PATCH iwl-next 3/4] e1000: attach a CE4100 PHY through phylink Joseph Telaak
2026-12-01  9:02   ` Maxime Chevallier
2026-12-01  9:32     ` Joseph Telaak
2026-12-01  7:21 ` [PATCH iwl-next 4/4] e1000: disable EEE on a CE4100 PHY under phylink Joseph Telaak
2026-12-01  9:04   ` Maxime Chevallier
2026-12-01  9:24     ` Joseph Telaak
2026-12-01  9:42       ` Maxime Chevallier

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

all inboxes | Powered by JetHome®