From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 ED355368272 for ; Mon, 19 Jan 2026 13:20:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768828843; cv=none; b=I8qj9WF5EMaNfyU7m3FKxoXnmxz4Z2uUxqG850N3aLTP7fNRdJ9ASTigU5rx+V95qnNHp6uAML+3pWUUpyzotyNtCGRkrhG2u0Fn84ogHTGdn4Ex3HTo3VFhr5wCzvBy7lXFiVC/XFW+KlkjY0OeZGv8Qdl0ReJ2oDGx7DY9cFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768828843; c=relaxed/simple; bh=EQOm3MNiQSsW5rdGkmOFnTGQUr1SnAsHfKkJRxBdDhY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OCnYK84GrvnJ0sSZWegouNH8DC7TtPK78CZuE5UdoHZ3ZRxq3EhJRSarTTD78sDebl/Ry/CR99YKpkWsWVsJziNLN2BdWSSaA3QziTYH5JN66oicDjFzw8k1e4cwAoaiJJBF1eRcRK0uMnqkc7IL4FaSkR8ls9FzQYBK8d7nBiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=WL75Q6Jm; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="WL75Q6Jm" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id D6D7B4E42176; Mon, 19 Jan 2026 13:20:38 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AA6D560731; Mon, 19 Jan 2026 13:20:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 80CE510B6AFE7; Mon, 19 Jan 2026 14:20:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1768828837; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=C88mVe4i3Z4l63ZcsasxWSNQLM5vvDv1/QRFfBQNgwM=; b=WL75Q6JmD/2Sm5piBoIA+v8gzFbjTwJz0lP7rJVdDU/Ayn+q92uePzNzCiiQNAK2CP8PRv ip3puZqFUHQg/9mIUqwTeSVahXjqKCGNhc/JiVR8jMg+ajzSzfDatEi0wQmTIp4Mq1xZ9z WvtLjHEhcnLeN2PVZCCdFgPXIqr20jYnFAVWKJJL8nPDPHvCz2VdqlrpDEyq0F3TWU2iA5 YpKxcvARPFMLIs5De1S9LNSH57XWzurdG/MYqhgDwYsBj4xV4eyi4/nhu6/D2fufTQELal PeUDVjASw+xlDH/vuc62zUY42q5wgihzdX/qC9tWoWwh5m+oJRVc5Z/dSkALKQ== Message-ID: Date: Mon, 19 Jan 2026 14:20:28 +0100 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 10/14] net: stmmac: use integrated PCS for BASE-X modes To: "Russell King (Oracle)" , Andrew Lunn , Heiner Kallweit Cc: Alexandre Torgue , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , Mohd Ayaan Anwar , Neil Armstrong , netdev@vger.kernel.org, Paolo Abeni , Vinod Koul References: From: Maxime Chevallier Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 On 19/01/2026 13:34, Russell King (Oracle) wrote: > dwmac-qcom-ethqos supports SGMII and 2500BASE-X using the integrated > PCS, so we need to expand the PCS support to include support for > BASE-X modes. > > Add support to the prereset configuration to detect 2500BASE-X, and > arrange for stmmac_mac_select_pcs() to return the integrated PCS if > its supported_interfaces bitmap reports support for the interface mode. > > This results in priv->hw->pcs now being write-only, so remove it. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Maxime Chevallier Maxime