[net-next,v15,1/9] net: phy: aquantia: fix system interface type not updated in forced mode
| Message ID | 20260923-qcom-sa8255p-emac-v15-1-e82f33720737@oss.qualcomm.com (mailing list archive) |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-sunxi+bounces-26196-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mxe881.netcup.net (Postfix) with ESMTPS id 78B591C03CB
for <noreply@patchwork.local>; Wed, 23 Sep 2026 17:27:04 +0200 (CEST)
Authentication-Results: mxe881;
dkim=pass header.d=qualcomm.com;
dkim=pass header.d=oss.qualcomm.com;
spf=pass (sender IP is 172.232.135.74)
smtp.mailfrom=linux-sunxi+bounces-26196-noreply=patchwork.local@lists.linux.dev
smtp.helo=sto.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.232.135.74 as permitted sender) client-ip=172.232.135.74;
envelope-from=linux-sunxi+bounces-26196-noreply=patchwork.local@lists.linux.dev;
helo=sto.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.90.174.1])
by sto.lore.kernel.org (Postfix) with ESMTP id 937F0610ACD
for <noreply@patchwork.local>; Wed, 23 Sep 2026 15:15:24 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 03E1553F69D;
Wed, 23 Sep 2026 15:15:07 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com
header.b="N6R11wVD";
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.b="UV9tgaK5"
X-Original-To: linux-sunxi@lists.linux.dev
Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com
[205.220.168.131])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68D6139A7FD
for <linux-sunxi@lists.linux.dev>; Wed, 23 Sep 2026 15:15:04 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=205.220.168.131
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1790176506; cv=none;
b=G8dFBBhbDUelVosRNhERgOf46jwZuzbJZEwhehSs4l9hRkgMBvnKHWSmsuoIyuMVxToS3ETeBvvRSfagMRqyWyGRPoWQQoLQQwekVsuQzo1d5/Cd9fbS4CXhAr9HsNDNPR8nwZRs0OhBUvKauRprX8TpUIib4QMXIr3VJOaLvyE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1790176506; c=relaxed/simple;
bh=48a0yspdUEk3xwkcjvTbhXXEU17F+t29neQdikkIdcE=;
h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:
In-Reply-To:To:Cc;
b=E0vvyuWrrYusr3L6+ELNQjaNjZKWjAvONgmGefNZcv/J++7IrSfMvfkUptYOIR01IXKEHSmf13uz+3jTXNFKC+0C2QW6jU++Wazql9WpxiYwl9gXkLE8Y+uMWhgiVGBj4+gBWrc9dfC1/Z9TQrBtXCIbt+aX/skOAcvbQWyWvi8=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com
header.b=N6R11wVD;
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.b=UV9tgaK5; arc=none smtp.client-ip=205.220.168.131
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=oss.qualcomm.com
Received: from pps.filterd (m0279864.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
68NDKq6q2056314
for <linux-sunxi@lists.linux.dev>; Wed, 23 Sep 2026 15:15:02 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
L9UR2dTT1MgkrWsYz4e8MugIDq9vhO6USeCZW8zDLR4=; b=N6R11wVDDRegxGy8
zyMG7bN81RYwU3rXgmPicR8oDXcCtY8JyyUggDfZSfhdKPkwuVHhi/530+B9Ob0U
oLDa4tcmSeYyDmcq91IqcbpQCsjvSltj1ZoTMtStLasx00kYxlvwdbmbd1JomxPB
Od99UE67F8+vsgs27anJix93oASB79NCwRFmyUVxpiA2ltsY8Of6TeKECpTgGH2v
DY3hqpHwgiR0Ea8jmJR9kb6PiGMaGvJNwtGuzUl5LjKX4jywoQ+K4KD7u1liSQVo
PYCwDpBWituC8qt+AUwiKABucs2nPcIzVs6aPOEKwPFs3LK3xEUiNqhkKiMXLEK0
UpLodg==
Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com
[209.85.217.69])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gvfjv0hdd-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <linux-sunxi@lists.linux.dev>; Wed, 23 Sep 2026 15:15:01 +0000 (GMT)
Received: by mail-vs1-f69.google.com with SMTP id
ada2fe7eead31-78f2fe53829so1116715137.2
for <linux-sunxi@lists.linux.dev>;
Wed, 23 Sep 2026 08:15:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1790176501; x=1790781301;
darn=lists.linux.dev;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=L9UR2dTT1MgkrWsYz4e8MugIDq9vhO6USeCZW8zDLR4=;
b=UV9tgaK5t+rjUvFRUo1IdBnSGfyszhrP6skiKASpqStnKU6v4FwNB6A1+bcGhAORWn
0Ek9hlHKr3ul0vK0b80tuliV1CD8Kh/sdhCU3V4Z4HkpUQOqawqlJsjt7eqbWER6JS2+
eRl+WQpzKdwNhpwiE9vf2G6Oo/luLEEu2XhUR5U5OjtYIjTDm7fIIrJXQyp1gNj5J3zN
wRhTMIxz7BdWeIhwHjGbSm4cM9bJQnFhWBWgrJjItcsdCxIalOaMuOFSO3FlC6MweEw2
gzaEpj8irbMNUrXyvxa2GHdZSxypr81MguiMf2pRfwrV7veOGHxQw8jdCwFn4n+3oTpZ
ltZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1790176501; x=1790781301;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=L9UR2dTT1MgkrWsYz4e8MugIDq9vhO6USeCZW8zDLR4=;
b=dGrnbZ5JK7P39Rh/7jfKY0KvFV33vNPE6QadhPPaQNYI85BH6SCpQ5NBug29C9xEI8
NA9vKahx8bQdL72EjZ4FwLyrcTEuyDkdnjeV6Wy54cte+u6NMj5XSZXl2kT1pxV57I3Z
OBmkSKRyXu4s9wU+d2JLHQLAJWJFGIIkNrUwO3ei66sY61SJOSnNczZzst1cKcwQy3O7
jP0Bds7PrU7kHWOFe8VPguFWL7dO8FGRd3dhJfwcFDFUW7JiaOFjDoi4HRH8sikL2voR
mg2bmYbCn9HKmjwOE+i0qjr3JH9Ud6gclRRtUkqf1IFwzSZyhyYeuLvrNdBiQ5r1jigw
4nYw==
X-Forwarded-Encrypted: i=1;
AKwUvBzd3/5gRzumItifEU/7jds1OPDL6OyEui0C6gKUwYbhThi6J+F83PsLaWsjI1dMPBNKeDzqVyG7Ursi5Q==@lists.linux.dev
X-Gm-Message-State: AFuF++kjwPyW3EfH/OeDJykgcVGyMhzJ8g7mUfaFU8s3BC6hYm4QjlEg
4FkwXSktkOXH2vLSI6dF3kqwuijTiFRhhNRRIWYgVvzaBFv3z+C4dpSp6CTzKcZgN2h+OAtBccC
m0oKbGpg9Pt4af3PZ/NFBC30weTiPlveduc++RTcKRtQbutk1FGLhnkiVuUeaUJVCUzrmmEjDTg
==
X-Gm-Gg: AYBFou3LzMBY7YfxueqmnzavgaVeXmSqinrmbUWBA4jc6z5lo4WkF8DvK2/cqJOw6r4
ZzPjvNpUWf01xur1ahPX4KtWIsPZxvb772OWCDZhOhpsftfT91zkYT+7Gok55SlybSuQjUGi6/5
r980Y4UeGwfZxeygnTfPkCGsMcQPxQi1uS2MxvnCffedOEZHcYRv91BpGf7so9jSPIIhcHuN02C
eUqna5G7LxV60A1+zNv48WEYDSHtOKrnAcolyV4m/OgnRZKfhnxvTvm/7GpLD+AbkGgJe8RT165
kAgh64oXTzjckEuf9l0lFP42CiiruFkfGjOgpSdVDHE/Ucgkv5+hHpzqiys8s72WZgt7023X2Ax
28pfLjRNOXhHtAws4SMXU3Uv9PwdU
X-Received: by 2002:a05:6102:4188:b0:7a7:198b:674b with SMTP id
ada2fe7eead31-7ac1e24f078mr2861455137.32.1790176500580;
Wed, 23 Sep 2026 08:15:00 -0700 (PDT)
X-Received: by 2002:a05:6102:4188:b0:7a7:198b:674b with SMTP id
ada2fe7eead31-7ac1e24f078mr2861406137.32.1790176500070;
Wed, 23 Sep 2026 08:15:00 -0700 (PDT)
Received: from brgl-qcom.local ([2a01:cb1d:dc:7e00:34c6:dbd6:5b58:a3fe])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-49fe0c4054fsm55126325e9.3.2026.09.23.08.14.56
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 23 Sep 2026 08:14:58 -0700 (PDT)
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Date: Wed, 23 Sep 2026 17:14:35 +0200
Subject: [PATCH net-next v15 1/9] net: phy: aquantia: fix system interface
type not updated in forced mode
Precedence: bulk
X-Mailing-List: linux-sunxi@lists.linux.dev
List-Id: <linux-sunxi.lists.linux.dev>
List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <20260923-qcom-sa8255p-emac-v15-1-e82f33720737@oss.qualcomm.com>
References: <20260923-qcom-sa8255p-emac-v15-0-e82f33720737@oss.qualcomm.com>
In-Reply-To: <20260923-qcom-sa8255p-emac-v15-0-e82f33720737@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Vinod Koul <vkoul@kernel.org>,
Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>, Shawn Guo <shawnguo@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Jan Petrous <jan.petrous@oss.nxp.com>, s32@nxp.com,
Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>,
Romain Gantois <romain.gantois@bootlin.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Maxime Ripard <mripard@kernel.org>,
Christophe Roullier <christophe.roullier@foss.st.com>,
Bartosz Golaszewski <brgl@kernel.org>, Radu Rendec <radu@rendec.net>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
Drew Fustini <dfustini@tenstorrent.com>, linux-sunxi@lists.linux.dev,
linux-amlogic@lists.infradead.org, linux-mips@vger.kernel.org,
imx@lists.linux.dev, linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org, sophgo@lists.linux.dev,
linux-riscv@lists.infradead.org, brgl@kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
stable@vger.kernel.org
X-Mailer: b4 0.14.2
X-Developer-Signature: v=1; a=openpgp-sha256; l=2050;
i=bartosz.golaszewski@oss.qualcomm.com; h=from:subject:message-id;
bh=48a0yspdUEk3xwkcjvTbhXXEU17F+t29neQdikkIdcE=;
b=kA0DAAoBBZ0uy/82hMMByyZiAGqz7OOgV0gtRJkZHGdKpH+X0k8DmAZYc5XdGUyaVggrvqRmy
IkCMwQAAQoAHRYhBJHlEy3ltUYde6Jl/AWdLsv/NoTDBQJqs+zjAAoJEAWdLsv/NoTDSakQAI45
3c0nVh4x3AoEXSUEJkG/9yLxn5l3sftmcI8RwXGnLRW7g3FvPfHVO9kgDsV92QuJB8z+HB7Svuf
BufupGZa5X5CpNX48nD/7QUdcAxHO8pp/F9l7m+W24YDimBlfYxS7IUrHAn55TRybzGJwMaZvJS
kNOamqPyyzWoCKj0QQiV5TOeYkS1ydw4mUcyMsZY5tDnfUpwE/xFc3RB8ftI9QSKUMPx61J55qq
2f1vmvyLtyvoVt6WImg9Ii7cBTL3SWVdKumUjIb19euVf3KEJDZOY0g9vSH+nYxpfFJ7jwkM7Bq
7VequVxgJEIRnfSGF7VPVqefK0pHsTGZ+wms5ctzDQao6OVgGur58IYfJAcebTZnweW0IyIRnj7
W6vpWiDjXMrvSApv/PAGnGyY2j2Z4zXMYHLInNarwItTlDdAAKCDdI/EAnbNbGDkTja2obpkHru
XBK8uqCJwXJKsK9VIyy8GQlls0chF7VQmhzqo6T6pco5dR/9F6AqP4a2qOUi11LEgijlqi5OXkQ
noSRzO1UbVDQuLaUO4HFNbbALAnXh+ADClkQSikfRUvZLJvgAsNUDo4WvXBP0NvHljJHC35xgfI
wEf/Kh+whGvzFIwbrXorqRhgdglnrJ+Q4wTs3wmd5jXRaNVp22VJRxAbFtbwXebc/xKKUuuMQgR
SXihp
X-Developer-Key: i=bartosz.golaszewski@oss.qualcomm.com; a=openpgp;
fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDA2MCBTYWx0ZWRfX4bKbs7L9VZfX
JmB1OPExLiLsscyWL9qjF6PfOLol7CsCIaIp9O17/KFNpp1m2vhkhtu/UTXV7I/UYJ5oaeFfsoV
h4vpdCsJWTZ/yhcktR7/ub9vRgDIpCHzMi1IRJBHJdabMNsAv/jwvXGYHMkP7/Nj5hLM9ZxRpkl
PsiUbdO6mOyB27UZ1DGDaD45lFpwh3ie5jcKVy5DBFD/CHlZH7c66+WO+tNPrAncXy3Khj1pPb4
3W5BokSQgVurCtfTsNeqML2S0fJOVUQ14QsPSjJMnOqH+D5lAiCv/VTXxIGB9A5odvzQNh9Od/T
Bq9HehSV12hYzabe8M+ni4vi/b6uEzdQ6tUiYucwNDysEKn5U4j6GkWTLGM8+VqWdazVHCg9tV6
CQ8kyAcQhGXVk0nMXpCPbP740NsANymH2tpEmkZs7nbDcJDj7Tn6Qr5YzREjxTy058vefOW5cGT
1GJYo0AlUDk6dzcR+hw==
X-Authority-Analysis: v=2.4 cv=aIxlOr9m c=1 sm=1 tr=0 ts=6ab3ecf6 cx=c_pps
a=5HAIKLe1ejAbszaTRHs9Ug==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8
a=EUspDBNiAAAA:8 a=mooR1oPkU_hlknJbmfEA:9 a=QEXdDO2ut3YA:10
a=gYDTvv6II1OnSo0itH1n:22
X-Proofpoint-GUID: q2RNjoFU_J2lVn_b7q3ZXGczHL0iP1Wg
X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDA2MCBTYWx0ZWRfX3zRvTaxdGYkY
LambqN1JMHt5wwGHVRI/dpQD+rA/yOp7ES2F1OrDDBiFl7xl8JD/JTzVxMDGvtiPQbh5eRPqOd+
waKM4SFz9lMArrtOKpLEcbNAr9l6kwA=
X-Proofpoint-ORIG-GUID: q2RNjoFU_J2lVn_b7q3ZXGczHL0iP1Wg
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49
definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
impostorscore=0 suspectscore=0 priorityscore=1501 spamscore=0 phishscore=0
malwarescore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 clxscore=1015
classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230060
X-Rspamd-Server: rspamd-worker-8404
X-Spamd-Result: default: False [-2.16 / 15.00];
BAYES_HAM(-5.50)[100.00%];
RBL_SENDERSCORE(2.00)[172.232.135.74:from];
SUSPICIOUS_RECIPS(1.50)[];
MAILLIST(-0.15)[generic];
BAD_REP_POLICIES(0.10)[];
MIME_GOOD(-0.10)[text/plain];
HAS_LIST_UNSUB(-0.01)[];
FROM_HAS_DN(0.00)[];
MID_RHS_MATCH_FROM(0.00)[];
R_DKIM_ALLOW(0.00)[qualcomm.com:s=qcppdkim1];
DBL_BLOCKED_OPENRESOLVER(0.00)[sto.lore.kernel.org:rdns,sto.lore.kernel.org:helo,qualcomm.com:email,qualcomm.com:dkim];
PRECEDENCE_BULK(0.00)[];
RCVD_COUNT_SEVEN(0.00)[8];
TAGGED_RCPT(0.00)[dt,netdev,renesas];
FROM_NEQ_ENVFROM(0.00)[bartosz.golaszewski@oss.qualcomm.com,linux-sunxi@lists.linux.dev];
RCVD_VIA_SMTP_AUTH(0.00)[];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1];
ASN(0.00)[asn:63949, ipnet:172.232.128.0/19, country:SG];
R_SPF_ALLOW(0.00)[+ip4:172.232.135.74];
DKIM_TRACE(0.00)[qualcomm.com:+];
TO_DN_SOME(0.00)[];
FORGED_SENDER_MAILLIST(0.00)[];
RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a01:cb1d:dc:7e00:34c6:dbd6:5b58:a3fe:received,100.90.174.1:received,205.220.168.131:received,209.85.217.69:received];
TAGGED_FROM(0.00)[bounces-26196-noreply=patchwork.local];
DMARC_POLICY_ALLOW(0.00)[qualcomm.com,reject];
FREEMAIL_TO(0.00)[kernel.org,lunn.ch,davemloft.net,google.com,redhat.com,gmail.com,foss.st.com,st.com,linaro.org,baylibre.com,oss.nxp.com,nxp.com,oss.qualcomm.com,bootlin.com,glider.be,rendec.net];
RCVD_TLS_LAST(0.00)[];
RCPT_COUNT_GT_50(0.00)[50];
MIME_TRACE(0.00)[0:+];
FORGED_RECIPIENTS_MAILLIST(0.00)[];
RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.232.135.74:from]
X-Rspamd-Queue-Id: 78B591C03CB
X-MORS-Enabled: yes
X-MORS-DOMAIN: patchwork.local
X-MORS-HOSTING: hosting172546
X-MORS-USER: hosting172546
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
net: stmmac: qcom-ethqos: add support for SCMI power domains
|
|
Commit Message
Bartosz Golaszewski
Sept. 23, 2026, 3:14 p.m. UTC
aqr_gen1_read_status() decodes the MDIO_PHYXS_VEND_IF_STATUS register
to determine which SerDes interface the PHY is currently using on its
system side and stores the result in phydev->interface. phylink relies
on this value to configure the MAC.
The autoneg == AUTONEG_DISABLE check is not correct:
MDIO_PHYXS_VEND_IF_STATUS is set by the PHY firmware based on the
negotiated link speed, not based on whether autoneg was used to reach
it. When the link comes up at 1G in forced mode, the register correctly
reads SGMII, but the early return prevents phydev->interface from being
updated. It stays at whatever value it held before (typically 2500BASE-X
from the initial autoneg run), so phylink configures the MAC for the
wrong interface and the link cannot come up.
Remove the autoneg guard so that the system interface type is always
decoded when the link is up.
Cc: stable@vger.kernel.org
Fixes: 110a2432c520 ("net: phy: aquantia: add downshift support")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
drivers/net/phy/aquantia/aquantia_main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Comments
On Wed, 23 Sep 2026 17:14:35 +0200 Bartosz Golaszewski wrote: > aqr_gen1_read_status() decodes the MDIO_PHYXS_VEND_IF_STATUS register > to determine which SerDes interface the PHY is currently using on its > system side and stores the result in phydev->interface. phylink relies > on this value to configure the MAC. > > The autoneg == AUTONEG_DISABLE check is not correct: > MDIO_PHYXS_VEND_IF_STATUS is set by the PHY firmware based on the > negotiated link speed, not based on whether autoneg was used to reach > it. When the link comes up at 1G in forced mode, the register correctly > reads SGMII, but the early return prevents phydev->interface from being > updated. It stays at whatever value it held before (typically 2500BASE-X > from the initial autoneg run), so phylink configures the MAC for the > wrong interface and the link cannot come up. > > Remove the autoneg guard so that the system interface type is always > decoded when the link is up. > > Cc: stable@vger.kernel.org > Fixes: 110a2432c520 ("net: phy: aquantia: add downshift support") > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Sounds like a real regression, is it? Should we ship it to Linus tomorrow so that it makes 7.3? stable + next does not compute for me
On Thu, 1 Oct 2026 01:33:34 +0200, Jakub Kicinski <kuba@kernel.org> said: > On Wed, 23 Sep 2026 17:14:35 +0200 Bartosz Golaszewski wrote: >> aqr_gen1_read_status() decodes the MDIO_PHYXS_VEND_IF_STATUS register >> to determine which SerDes interface the PHY is currently using on its >> system side and stores the result in phydev->interface. phylink relies >> on this value to configure the MAC. >> >> The autoneg == AUTONEG_DISABLE check is not correct: >> MDIO_PHYXS_VEND_IF_STATUS is set by the PHY firmware based on the >> negotiated link speed, not based on whether autoneg was used to reach >> it. When the link comes up at 1G in forced mode, the register correctly >> reads SGMII, but the early return prevents phydev->interface from being >> updated. It stays at whatever value it held before (typically 2500BASE-X >> from the initial autoneg run), so phylink configures the MAC for the >> wrong interface and the link cannot come up. >> >> Remove the autoneg guard so that the system interface type is always >> decoded when the link is up. >> >> Cc: stable@vger.kernel.org >> Fixes: 110a2432c520 ("net: phy: aquantia: add downshift support") >> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > > Sounds like a real regression, is it? Should we ship it to Linus > tomorrow so that it makes 7.3? stable + next does not compute for me > Yes, this is independent from the rest of the series and a small fix. It sounds good to send it upstream ASAP. Bart
diff --git a/drivers/net/phy/aquantia/aquantia_main.c b/drivers/net/phy/aquantia/aquantia_main.c index e95d391a6dc233879ae1fb2a97758b3df9600ce5..096407bebd52a8e644084c3e286fb5dbcfa3f598 100644 --- a/drivers/net/phy/aquantia/aquantia_main.c +++ b/drivers/net/phy/aquantia/aquantia_main.c @@ -544,7 +544,7 @@ static int aqr_gen1_read_status(struct phy_device *phydev) if (ret) return ret; - if (!phydev->link || phydev->autoneg == AUTONEG_DISABLE) + if (!phydev->link) return 0; /* The status register is not immediately correct on line side link up. @@ -594,6 +594,9 @@ static int aqr_gen1_read_status(struct phy_device *phydev) phydev->interface = aqr_translate_interface(phydev, interface); + if (phydev->autoneg == AUTONEG_DISABLE) + return 0; + /* Read rate from vendor register */ return aqr_gen1_read_rate(phydev); }