From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 A4AFC36921C for ; Mon, 19 Jan 2026 13:20:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768828842; cv=none; b=lsuYNmUKBWUO5vSFd77Hm4tQMBuGjk++a7mH46NEdlWd6UIcH9I883ZuayAQ6Qm1cOaesz3iCtITwUE0tUNDu10vwbG698LkNSW7qiEaX/1pzwIDbvZbc9jWGSSP5MYK2U8kIy/gXdDrZlheKhXJem4tAUSGXAlFf2wM0hkXE20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768828842; c=relaxed/simple; bh=EQOm3MNiQSsW5rdGkmOFnTGQUr1SnAsHfKkJRxBdDhY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jE/62Eu3gHYJXfdy/vkcuhjJlNh4h/Y3bShuoIDbk5NnoBoum/Pwy5n43AE0XoN7NQ0QCQ8Iuii6JjOnTa8M8KaUwhlvDhxwcutkOGBoBukLoq1Ij1q+xK/wOkWYC1CxaWfIZ1HHX6IWiI0n8J6OBATwV/QgYhqvOQITlV7dbDU= 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.84.56 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-02.galae.net (Postfix) with ESMTPS id D86C11A2951; 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: netdev@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