Article View: linux.kernel.netdev
Article #26167[PATCH iwl-next v2 0/4] e1000: phylink for the Intel CE4100 GbE
From: Joseph Telaak
Date: Thu, 03 Dec 2026 06:13
Date: Thu, 03 Dec 2026 06:13
65 lines
13152 bytes
13152 bytes
The GbE of the Intel CE4100 family (PCI 8086:2e6e) has an RGMII
interface, which can also run as RMII, 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 registers the
MAC's MDIO bus and attaches a PHY 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). v2 ran again on both with lockdep and CONFIG_DEBUG_ATOMIC_SLEEP,
without warnings, including MTU changes while the PHY was read over MDIO
or renegotiated the link and, on the switch board, an mdio node next to
the fixed link. 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.
---
Changes in v2:
- 1/4: phy-handle and mdio no longer depend on each other, and phy-mode
also lists rmii, which the MAC has. The driver still refuses rmii with
a phy-handle or a fixed-link, and an mdio node without either. The
fixed-link example says the switch adds the RGMII delays (Andrew).
- 2/4: dropped the bool in struct e1000_hw that duplicated the phylink
pointer (Maxime). phylink is destroyed after the PHY reset in remove()
and the probe error path. The phy-mode error no longer names phylink
(Maxime). Probe drops the carrier before registering the netdev.
e1000_down() clears TCTL_EN under phylink_lock, and a link-up during
a reset no longer enables TX again (Sashiko).
- 3/4: the MDIO bus is registered for an mdio node with a fixed-link
too, and the phy-handle can point to any bus (Maxime, Andrew). An mdio
node with neither is refused, since e1000's own PHY code would drive
the bus too. phylink is set up before the bus.
- Link to v1: https://patch.msgid.link/20261201-e1000-phylink-v1-0-21e6f1c816a0@telaak.dev
---
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 | 92 ++++++
MAINTAINERS | 1 +
drivers/net/ethernet/intel/Kconfig | 1 +
drivers/net/ethernet/intel/e1000/e1000.h | 17 +
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 | 6 +
drivers/net/ethernet/intel/e1000/e1000_main.c | 352 ++++++++++++++++++++-
8 files changed, 624 insertions(+), 16 deletions(-)
---
base-commit: 784a6d32afd726628b70dea1da74c9a7b37fbf82
change-id: 20261116-e1000-phylink-9d5ccc98baf9
Best regards,
--
Joseph Telaak <joseph@telaak.dev>
Technical Details
Message-ID:
<20261203-e1000-phylink-v2-0-0a8f80515363@telaak.dev>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376317-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376317-linux-kernel-netdev=dewy.ru
From: joseph@telaak.dev (Joseph Telaak)
Newsgroups: linux.kernel.netdev
Subject: [PATCH iwl-next v2 0/4] e1000: phylink for the Intel CE4100 GbE
Date: Thu, 03 Dec 2026 01:13:46 -0500
Organization: Usenet Network
Message-ID: <20261203-e1000-phylink-v2-0-0a8f80515363@telaak.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2192968"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:45G/cnDJbVNkp0pVQHV7Kgwic/E= sha256:dWOoQ8E2AquM0AnCQnWQwmCNeEHyizGYpvJ35N+s3fA=
sha1:V+JheJSaCTega6LsuNszwLMI9kQ= sha256:wm/Uej//EsE9uOMhJQDuj2TOF2k9rY628BKJ90J5dPE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 9E0EB117833; Thu, 3 Dec 2026 09:14:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Rg2lhPMqXrBc;
Thu, 3 Dec 2026 09:14:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376317-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=telaak.dev
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id CC09A117804; Thu, 3 Dec 2026 09:13:58 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id CBE532589D; Thu, 3 Dec 2026 06:13:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796278434;
b=Unti26rkEolclFfdmC6bzMT5jctN88zio5PE+PDH+Y99lwtnwv84MQWR1nkwuQ3TB3oT
QdHqeM4zu9Fht2LMKY1NlDmRPyxw92jMdHIGbLv+DTv25272G0PzIGqyzrnXdJLKBL37O
6GUBIMonoYWbICWn9SprDQhn46Yf517ZCYpmrWGOZBlU/YKMoQcROHMCE1+Y9QDnk7XMz
ozho1opg51fk3Mxgp2Qniiz9BTMLpUjRDpE5l9jODWsY5THdvhW1rfJ9QGRfPkXoOaYU1
XZuXctj7wnZbW02HYz1I6iqtyckiEkMsCR/eh89H+ObU5SS+rIbllNcW/3INmtxs/DQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796278434;
h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:Subject:Date:Message-Id:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking:
X-Change-ID:To:Cc:X-Mailer;
bh=YWcuFiR88YIL3UETEsNeoK3Nnis9tesz1BB0oaOfK6c=;
b=MP3FjcoJst2s7UAdTZrpzWd/2QcDYnMEE45xgc1qOwQqYSVaJOkw+1cfhGfx96SNRWJu
tbe4W2YtmH5BbWr3kU1YtiLxd7A/Jg5ligUyQCfKaGZ19ksbkduDP34ai4CF9PKRv5MN8
G5DwumTT6WKp5MFOl0rldZQPDDm58/qEJyk2gjcXWsPPhD1e1W9L5CsVA+jj1dLzJInlI
mmC5ji4v6HLrUsqJj9cUwqKM5r0RmCPk/MhfpCcoQvMoS+wXY8pYAFmq1GhUDSB0RxeiG
MTqfGpqXtng4zzV9lpttKQw0ufBFTPzJ0C3CmPvaej8tbtazAtCf9pu6vwQr+OgtUNw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=none header.from=telaak.dev;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id B3164606A33B;
Thu, 3 Dec 2026 06:13:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.181
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796278434;
b=UFLY3fxpLnXGeRH7kuK9mEOwLiFwSPLrcY6KvhL4JRihXMP4b6L6l6Akcho4HD7cNWi9
t5zAUrjUEj8Mz0xXclA3YESitZRL+L09uIB0/OYoPoH6sy0CKKPeAJ2XLamBMvSLeF4HJ
U+p6sstb/fjXRtb0WmZzc5ZfLo1I1t/BFnZYidu6Go2Zv5ROPA+VkaA+n+9qqUIXkRxPV
LWNhywspFgkeo1Ye4qDZ9hmVRlmKSM5/KxMIRlcZl2DlezSM09yEiWcFPO9QNnDASXubi
2JtYHhMUoh0T0xllO8mK76AxU1xqxkU2iXPz8SumE0EwaNik9EznFO12Xgxle45xWDw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796278434;
h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:Subject:Date:
Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:
X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer;
bh=YWcuFiR88YIL3UETEsNeoK3Nnis9tesz1BB0oaOfK6c=;
b=FthBJ0OgsKFUro7ImJVyucbLVX5Cdc2VwKt3GF3JKTAx15Je9HfWDRXuXGgeGNtBh4bG
wWeMesxzf+GX8/uhHAMfZ+GMkAwbsXYna2iAyvZ6hlLCi4vI1LSvF8yyqj4GrJZuS6mH0
CDrQ7J3BunSwnAs2sKIdZiQ1H3Fm9BVWDzpcCFyBzlIyqSwTufoRuceZZEv/Pejzkc5+Q
qF0D3QNWFfjVQJUf9w3f93hc/TUNVUv2kauKvrNkT6qQ42hrbdmG6vU3rfCy7i/DmmXZQ
NrJP7Wz/FHO1VKYzmW4zxzaTGE199zhkq51TlRWDIgrtp14wymZpdSjfPLg1YPQTh+A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=telaak.dev;
spf=pass smtp.mailfrom=gmail.com;
arc=none smtp.remote-ip=209.85.160.181
X-Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4A02606A32D
for <netdev@vger.kernel.org>; Thu, 3 Dec 2026 06:13:53 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C4A02606A32D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=telaak.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-537548b811aso111254681cf.3
for <netdev@vger.kernel.org>; Wed, 02 Dec 2026 22:13:53 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796278433; x=1796883233;
h=cc:to:content-transfer-encoding:content-type:mime-version
:message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=YWcuFiR88YIL3UETEsNeoK3Nnis9tesz1BB0oaOfK6c=;
b=n7THoCoXtbqHkog4Y6BF2pch63SeRqZHfv8wZoqNOhpJOX4DJ8AOvzNJXGcum8Ud9u
TXQIIsfMWOUpGvkyONfvLD8xgzpN3MJ+b8QeRo466hK888Rqa2528HdfW0CyNEUH3wrj
AOtnCOFttP8Xtias72M5qTFaSLl+yP8g8fJVr9y4nU7R28pktHjjxsNnLH4EM/BP2FX/
VvaARrs1oZ7MrPKGF//H2Q9jRPXrDuNgyzc5chEudaQLRKQauTaQIWnaYC7ZWudDkTMk
zYC7R+2HycURlug4Y83vSzjwjeqhHARnRCZ6Rz+g/W0z1tqIAw7BWIPXmpew0uPRjX8z
pUPw==
X-Forwarded-Encrypted: i=1; AL+hErEZxlo0IFEZV7hZvy7Cq0VSxn/HPAvU3yk3Sm023OYK5yrMnXmRZSPaeE1InOsLOM2/iNZ4tp4=@vger.kernel.org
X-Gm-Message-State: APuU4Z865t0hOvgpzvniqvBldRaQthr9411fSBJ9oV4NRNUU2Uuc5k73
ewZde48V+wp7VoQx0Hxy57LRBFK6bBcDehg7tVGHlDDRZ7GgKSQpYqgR
X-Gm-Gg: AZFdTZc94eIdczAoS+ChkPZ2ohp4GmOrarqIm35KRNUd3sbGBkX20xN7et80XRUjqQR
FYaFfBZSxU32rgQgjuW/0yeheda8dNlpzmR9bGhpOHkK/6e57s9vc2qJd7207z2qboERybP5SXl
Jv/ZhTgHIMccZB48GE1dfUQAwuZT/EKXJVF2Bg7vc/c2TyiuQk8NpCtpNsvyweCL6tB239Fo1L8
QJk5E12aQw5mn9NEqTELpG0vTMnK9jnlhUhf2dbOeqdwBJX3J9BAqgxKh+colj3rNbHHJFHskYg
N9gUwJzXTBLEMygt1YZXnegPV43M7fLiZt5Zklq7nrJy6KxQdp0dLj5UZBCMpdb6VtaDW9mRHnP
OpxqJYt9ZPzsfqOdhEAEIlyTQnoZzB1SVfyOQV1Lh2xAj60gh9AXpucmo4zPqmualDebavF3TLv
Ih/JNIqVu2L9dJ9ha3pNKvFwFFWRC9+5ndgUJ7s3XTzOUdfV2pVnj2VNIWyMkZEFrqPboF807qu
cgIyxqhdoN2Fq+luAct3cEp7fTcnuiN1K8yHdDFuF3aGerNRvzMxUPPnOG2eDnWYy30DWEovTf9
IvIflSuYunrZ3EU/O3Tnas2r+geUt18NEDGOjtINRlT0F/dyzupktulgA+qoc5CCi9EMAXThDKY
Q/YUbjdFwYpRZnZVrqi9VRDWZngqx3J3zObcExKMjJtrzztsng26Y36Zo40RtasN5cUdXvqSO/g
rJfYYKQN/jvubUvQV9x3ZqG5sY
X-Received: by 2002:a05:622a:428d:b0:55c:54f1:a9fa with SMTP id d75a77b69052e-55d769e7ea5mr806455461cf.30.1796278432658;
Wed, 02 Dec 2026 22:13:52 -0800 (PST)
X-Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa ([71.68.170.161])
by smtp.gmail.com with ESMTPSA id af79cd13be357-949ca98d9d6sm3077137885a.18.2026.12.02.22.13.51
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 02 Dec 2026 22:13:52 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-B4-Tracking: v=1; b=H4sIAAAAAAAA/12NwQ6CMBBEf4Xs2ZpuExvx5H8YDqUsskIKaWuFE
P5dqDePk5k3b4VAninArVjBU+LAo9uDOhVgO+OeJLjZMyipNCJqQSilFFO3DOx6UTYXa215rU1
bws5Mnlqe898D+DMIR3OE6teEd/0iG4+7Y9txiKNfsjphJrJFSfyzJBRSKCTdor2iNvIeaTCmP
zeUoNq27QtfIiSlxwAAAA==
X-Change-ID: 20261116-e1000-phylink-9d5ccc98baf9
X-Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Joseph Telaak <joseph@telaak.dev>
X-Mailer: b4 0.16.0