From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 6835A346A1E; Fri, 13 Mar 2026 12:28:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773404925; cv=none; b=Q1R593Ayo8R4JAUjKHjFEa8VyNF31mPGEEAPSEU1+PpI1noqzZqa2mA5lPAJDbS4BKD5n3n1m+3ATzgytbGov7FjEmvp4UJzRvkvWTWBrtjuLjsSpsgF3yKZ3CG7rKnysLV0iV0JDArstYRmJqrvi2hCRqABKWPhdLCAqhnuPdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773404925; c=relaxed/simple; bh=FIhcf2HabOis2K0VXT9uCLzluZfIzvfF2J+2VTdHSWM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=jYEGZrMS/inJ82GZDA8VXcIoCzyCt64A2/1MJffcWADgerifYK/T6GL/st6tEIK8jLoL8Fb38+kzHY0QsuozqotmrnbxPhDf/u5vN/m/EkZzUJ9OIGxfhJEoMa3uN4M2ebjvCkuFd4eBSNr9OZNPxOXezwIu2yZI3VY5k/AUzts= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=VA0Ph9jU; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="VA0Ph9jU" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PPt4n11Wo/S9hRlGUV2kynAxDiBlLfFjx/Ch8r1+pdg=; b=VA0Ph9jUYkB7fUd1THREroZgFR sAhZngmquEBkAtJA+LVdLytWDeEpL7wOG7bmk/kts0Y/0smSXBUkfTssh+pP/nBYc//1flSAkUHxs Zr1iUb1CFIQ2aaaXTqrf1N73VmX0vONriTGBDPds+arRhKDeorVzWR8Dwss/cEsNMXPM4D6M72Of2 QuBnjTsVz8fCHx1g3OvgPNGvtzE3e9XNBNJXEV8aCPB8fkzb6eft/RkhgkQuGBaxGS8QSIQ7oh+Tp nIgipLr+lAClR7qpagWuRbta70hJdfas6nCjaRi7PTrvnXwRMf99Zgx1hmA2ye0iFo1IDVzgqIj36 au+nruow==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:48808) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w11d4-000000000uI-3Ulc; Fri, 13 Mar 2026 12:28:34 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1w11d0-000000008DR-1o7q; Fri, 13 Mar 2026 12:28:30 +0000 Date: Fri, 13 Mar 2026 12:28:30 +0000 From: "Russell King (Oracle)" To: Andrew Lunn 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-stm32@st-md-mailman.stormreply.com, Mohd Ayaan Anwar , netdev@vger.kernel.org, Paolo Abeni , Vinod Koul Subject: [PATCH net-next 0/8] net: stmmac: improve PCS support Message-ID: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: Russell King (Oracle) This series is the next of the three part series sorting out the PCS support in stmmac, building on part 2: net: stmmac: qcom-ethqos: further serdes reorganisation Similar patches have been posted previously. This series does away with the common SerDes PHY support, instead using a flag to indicate whether 2500Mbps mode is supported (STMMAC_FLAG_SERDES_SUPPORTS_2500M.) At this time, I have no plans to resurect the common SerDes PHY support - the generic PHY layer implementations are just too random to consider that, and I certainly do not want the extra work of fixing that. Changes from RFC v3: - only set default_an_inband if using SGMII/2500BASE-X mode. drivers/net/ethernet/stmicro/stmmac/common.h | 4 - .../ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 2 + drivers/net/ethernet/stmicro/stmmac/dwmac1000.h | 12 +- .../net/ethernet/stmicro/stmmac/dwmac1000_core.c | 11 +- drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 10 +- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 10 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 8 +- drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.c | 156 +++++++++++++++++++-- drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h | 29 +++- include/linux/stmmac.h | 1 + 10 files changed, 197 insertions(+), 46 deletions(-) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!