Article View: linux.kernel.netdev
Article #3732Re: [PATCH net-next 0/2] net: pcs: xpcs: fix operating mode selection
From: Andrew Lunn
Date: Thu, 15 Oct 2026 20:34
Date: Thu, 15 Oct 2026 20:34
28 lines
6891 bytes
6891 bytes
On Wed, Oct 14, 2026 at 05:30:57PM -0500, Alex Elder wrote:
> The XPCS found on Toshiba TC9564 is unable to operate at 2500base-X
> and slower with a PHY connected using SGMII/2500base-X. This XPCS
> supports 10Gbase-R, which is the default operating mode, and this
> causes mode selection to fail for slower interfaces (SGMII, 1000baseX,
> and 2500baseX). Writing a reserved value to the MDIO_CTRL2 register
> avoids this failure.
>
> Wangxun already addresses a similar scenario, but includes custom
> quirk handling.
>
> This series implements handling for slower rates for an XPCS that
> supports 10Gbase-R. The first patch rearranges code that performs
> soft reset so that it is done *before* the interface mode is
> switched. The second adds code to xpcs_switch_interface_mode()
> to update the MDIO_CTRL2 register for interfaces that support
> 10Gbase-R so that the desired rate change works as intended.
You Cc: those reported by get_maintainers, but i think a few other
people should be involved, who have made changes in this area:
Coia Prant <coiaprant@gmail.com>
Choong Yong Liang <yong.liang.choong@linux.intel.com>
Vladimir Oltean <vladimir.oltean@nxp.com>
Jiawen Wu <jiawenwu@trustnetic.com>
Andrew
Technical Details
Message-ID:
<597dbcf1-8362-408e-a1ba-256b07b99713@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346926-linux-kernel-netdev=dewy.ruReferences:
<20261014223100.304486-1-elder@riscstar.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346926-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 0/2] net: pcs: xpcs: fix operating mode selection Date: Thu, 15 Oct 2026 22:34:06 +0200 Organization: Usenet Network Message-ID: <597dbcf1-8362-408e-a1ba-256b07b99713@lunn.ch> References: <20261014223100.304486-1-elder@riscstar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2616775"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:LBzklPHuOHSMiMq9KAx5p27MFqM= sha256:z1w4L2Cu/Tg1QMzHjJCcCkbLTB+pHFxBjxLdke+hyjk= sha1:W5N7xLsQgF/YTn50FCQVcDkfPos= sha256:zI/FtxJQomLidU07/1RNsNQdmmxHmJ3W0uRGeUUHN70= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 5A00F1103D8; Thu, 15 Oct 2026 23:39:53 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.049 X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tUjQkfgJWAsx; Thu, 15 Oct 2026 23:39:50 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346926-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id F1AB41103B4; Thu, 15 Oct 2026 23:39:39 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 847B336CB0; Thu, 15 Oct 2026 20:34:19 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A27D598C00; Thu, 15 Oct 2026 20:34:19 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="XS7h2Ylr" X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 84EE1483819; Thu, 15 Oct 2026 20:34:16 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792096458; cv=none; b=gn/tVH2LAbGl0nyOY2Ag9iqU/VWvmNGrL/C3g71/qayJAgmIijjaMmfQIdhOrGIKtEjBGKryYp6j4+1apfpc7WCZIXgG/RTRJl9xfC+Q8SZGlTcmFWaoRfT4MwW3FUJiuOzO4jp7JhAYz9ko3nJG6ea5/+BIBDes2amzpe9ZcFI= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792096458; c=relaxed/simple; bh=gDpQFN++xPwT0x6m8l+Fta4hIRm9lrj7r30nvMaPyW8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Vpf9SilxY3kjzcP+uJt71iocFvWGyqmlYs81+F+hDqqkfHH8oieD2wFYUpczmi44lsKWBE3C20K9dHD/VRWbwPP4ovTlJrsgV0z4gyPceg9tavesN3Bynk+b5tGihXL+XjxiOjNMCp62bJVie/LmLi3HI5b2Wc6QW4PllKftaew= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=XS7h2Ylr; arc=none smtp.client-ip=156.67.10.101 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=sT57Px4Vg7Js1kzkyVxmNzndr3U3+dmuMx+Xr+DujHo=; b=XS7h2Ylrdx/fLqFAMc3VTKBd0s VzmZ4Vci+QLQFGsd4MDtb+8axLdtxA1loz5sD3UfsGTmMh/0nJQfVNNCFEZY1klml8gN0BrE714PT cvORvzPM3T1r/1OhC0jzZ+qFc0CN84RXXd/FWd+Z/R9AqT2u7fcZVUIWraC5+B5MhTr4=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xHS9O-00B1JS-3W; Thu, 15 Oct 2026 22:34:06 +0200 X-Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261014223100.304486-1-elder@riscstar.com>