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 A77E223E35F for ; Thu, 16 Oct 2025 07:45:13 +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=1760600715; cv=none; b=D8f9GIctq9APijX0d5dcly5j0Aia4wIWBZYBOLVIAhxbbt1836KnOEuQIGcDqG/JhXs8tp0obvytPQOvVY+GgXLYBlMT2t3zYOrQmjTiza0SBdMCOPIo707idKZbTzZFclNfU6CeS1e/rc8gFOkXm9y0iPnjfbDio72BAFadljg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760600715; c=relaxed/simple; bh=39D5Sil96gvLms1//zOCjbIiT96hh7B0Yr94Qfs2TMY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CzA4VgRPHzLWwhfwnaIsYU1yv7e6p0d8VX0SnBQoLkOZAeNUJ8T2ciqdnlmRcJCEjxjQgD5SlExGDFRNQHKGIUrnXBZe93fKdFA0jAkIXRaCntDwH83in1gL1jYAW+wkDD313RcsXyLnVcLTw/2UuLHvVdULEQMdM8vX+J6XZtM= 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=nfuFh5AH; 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="nfuFh5AH" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id D7D7C4E410F3; Thu, 16 Oct 2025 07:45:11 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id A0B066062C; Thu, 16 Oct 2025 07:45:11 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 97CFF102F22F8; Thu, 16 Oct 2025 09:44:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1760600710; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=I0v577q1BsABPUxTz1xRiLHueg9d5rceOxAUtuerf34=; b=nfuFh5AHbkXF3rWr3y6jX3fbtDy+caY15+qyME3fkfKk8vMoSZE0F7wBVUB6+AlW5Rn0oC JQ4BLlcUNFD7Ij4kWS4VxeXkEAAkxYSrDbPShUnhbAG0qH1cI4R9a/letuXmQOfatIN3AT 520yznS0ic5zJTEAafuU+Zk84MEQ78cwP+v2vVANcbidvCn9nkcGxehZLRGcK9Y3Iu/6NJ CQ1JaLdOvzTlVXiOLn8PR2jID7PBiv4ul8+d86+R6j/2QfZcSwgUH1iDzMVZQVNDwRKgzu KFJQz+8PLdwAT084rrDEaf2vZtHezNZj4k7fSVvKvTHlc0TlD5dTaQdc64WgJA== Message-ID: Date: Thu, 16 Oct 2025 09:44:38 +0200 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 00/14] net: stmmac: phylink PCS conversion To: "Russell King (Oracle)" , Andrew Lunn , Heiner Kallweit Cc: Abhishek Chauhan , Alexandre Torgue , Alexis Lothore , Andrew Lunn , Boon Khai Ng , Choong Yong Liang , Daniel Machon , "David S. Miller" , Drew Fustini , Emil Renner Berthing , Eric Dumazet , Faizal Rahim , Furong Xu <0x1207@gmail.com>, Inochi Amaoto , Jacob Keller , Jakub Kicinski , "Jan Petrous (OSS)" , Jisheng Zhang , Kees Cook , Kunihiko Hayashi , Lad Prabhakar , Ley Foon Tan , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Matthew Gerlach , Maxime Coquelin , Michal Swiatkowski , netdev@vger.kernel.org, Oleksij Rempel , Paolo Abeni , Rohan G Thomas , Shenwei Wang , Simon Horman , Song Yoong Siang , Swathi K S , Tiezhu Yang , Vinod Koul , Vladimir Oltean , Vladimir Oltean , Yu-Chun Lin 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 Hi Russell, On 15/10/2025 17:10, Russell King (Oracle) wrote: > On Wed, Oct 15, 2025 at 03:19:25PM +0100, Russell King (Oracle) wrote: >> Changes since RFC: >> - new patch (7) to remove RGMII "pcs" mode >> - new patch (8) to move reverse "pcs" mode to stmmac_check_pcs_mode() >> - new patch (9) to simplify the code moved in the previous patch >> - new patch (10) to rename the confusing hw->ps to something more >> understandable. >> - new patch (11) to shut up inappropriate complaints about >> "snps,ps-speed" being invalid. >> - new patch (13) to add a MAC .pcs_init method, which will only be >> called when core has PCS present. >> - modify patch 14 to use this new pcs_init method. > > I've just noticed I sent out RFC v2.. completely forgot about that, > sorry :( I don't know if you saw my reply to it then... To quote : " I tested that series on socfpga with : - 1 instance using RGMII, w/ a ksz9031 PHY, and it works well, traffic flows, ethtool seems to report correct data - 1 instance that has the Lynx PCS (DMA_HW_FEATURE[30:28] == 0) This also works perfectly, switching between SGMII/1000BaseX dynamically by hotswapping SFP modules works well, no regression found at a first glance. " All the boards I have that have a flavour of stmmac don't seem to have the internal PCS, are you still interested in some testing , just for non-regression ? This is a subset of RFC v2, but with patches 13 and 14 > reversed. > Maxime