🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12230

Re: [PATCH net-next v7 08/10] net: dsa: realtek: rtl8365mb: re-latch the family D SerDes

#12230
From: Andrew Lunn
Date: Fri, 06 Nov 2026 15:49
20 lines
9163 bytes
> > pcs_config() runs seconds before the far-end MAC even starts
> > configuring, so a single edge driven from there is not enough: the
> > receiver has nothing to latch onto yet. Neither is pcs_link_up(),
> > which is seconds early for the same reason. phylink does not help
> > either - it never calls rtl8365mb_pcs_get_state() for this port in
> > the first place, since mb->pcs.poll only arms phylink's own poll for
> > in-band links, and this CPU port is a fixed link.

Sorry, not been following this patch series.

One thing which might help here. Russell once said it should be
possible to use phylink with pcs to pcs links, rather than use
fixed-link. You then get all the phylink machinery, which might
trigger the pcs negotiation and get your link up?

I don't know of any board which actually does this, so i've no idea if
it really does work.

	Andrew
Technical Details
Message-ID: <c5881bc0-8773-434a-8aad-2346a58bb146@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-358062-linux-kernel-netdev=dewy.ru
References: <3bf4dd70-9771-497b-8c27-e925e0ef81eb@yahoo.com> <3ecac0ea-830b-47a0-931a-67fea637f0c3@yahoo.com> <au3hdMxLSilNxhnK@analog.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-358062-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v7 08/10] net: dsa: realtek: rtl8365mb: re-latch
 the family D SerDes
Date: Fri, 6 Nov 2026 16:49:43 +0100
Organization: Usenet Network
Message-ID: <c5881bc0-8773-434a-8aad-2346a58bb146@lunn.ch>
References: <3bf4dd70-9771-497b-8c27-e925e0ef81eb@yahoo.com>
 <3ecac0ea-830b-47a0-931a-67fea637f0c3@yahoo.com>
 <au3hdMxLSilNxhnK@analog.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3915912"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:3pkT6JSELMyEibqqOUyGZR3qfJE= sha256:hyRsZTkpkvwSVcuPYmZFVtmX6kz1O1u19vUiWkDQCNI=
	sha1:Mf9GuFs/zU3ng7IUIpDeggooFg8= sha256:k09QxvI4oEz4lFIe4aQ7OaxiFviyzOwly0uyU7ldpeI=
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 2FF7011329D; Fri,  6 Nov 2026 18:51:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 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.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-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 N3CfVgoIy-PR;
	Fri,  6 Nov 2026 18:51:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-358062-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 80ADA113271; Fri,  6 Nov 2026 18:51:05 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id E19D732041; Fri,  6 Nov 2026 15:50:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793980211;
	b=zypIpXWLQiT18OCEsYuSApl0hheuA/jje4BrGzBHNUdUsMxDk+cxhZvPQfQSDpVPTsw+
	 +2jLqm9jO7SSJHANFV8usMagGMurmw9pQlo1lXwBaW9D76qVrDRdTG/xq7yHkpJ/30ErP
	 +IHIulNKJsZp0MOO999wD5mGjtnuWMW3qUXdldVz/wf4NurvNGKJ0u+cHXVhJMUoOIf//
	 viJGilK7s7EJwQ7n3wPn5VB3kdgOk5ksAcN6TIqX4SNAHRG5qGMGE3V/oegHV+zHVZtiX
	 FODYnRTzRDXRk6XD54g483nLdo6i0FCT9l2xt656URTlO7IbXIDfyZZGUuQza+Y2Thg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793980211;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=JPEkW85xL2Z5vupw5pGm1IHF5rTDX0+GjSNThZXwTZg=;
	b=dhbOZ9Ts1/nrEEX+eWUA564Z+2pBfyDQdxoTrAv7BQ77XeJvXX2h7Md93I2zhxft2V8X
	 x83CAcTiCpH3Cngdmkl3n2eGX1U1wEb8s9u7yGZdVb/YAp5x3nBJCRaP/Xz0cbcDoQoeY
	 bwYM1rQZr4RTyzMz8eX3+JKXDXtnFRGxdyc2hNo7RK33tzeQDYyNleD4vLufD8+YbLQRS
	 Lu3ZPO9VHzk9Yk8kCmdubzRrKSSdF6OxBw41+uk2q0vMUiWWchx9T4ojR7Yh9gNfqD29S
	 75BdbYr4dc6WZNtXd8hO4wx09Dr1ilzO4kQUn12HmDf+WWTwrXdZIoU2xh6yQUTGYUw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=lVCBXira;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 442B4606A332;
	Fri,  6 Nov 2026 15:50:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=lVCBXira
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793980208;
	b=vEEwalZPDAeeIj1UJ3Ag5MV+32iHQgcHuf634zKtpoPyzv6CBnppCTNoG5zHrviaOrGE
	 EbLXTZQqPXvcXk6ubtq/lXSiEYoFZC8jSWUf85+6mcJoJBzq1YAJeaUXrKdC5UlDRKs6W
	 REH0usqcKvC9ywjbYBrX2XJtZSNu2MrIuTyJ5/yqktkAnd8d1CL5i44GoalJMIJQpnjiU
	 haSUD1oTXwzl9sUQT/vK/AFTxIGgFwgV0jUi9w10/zIrX4oaEiUIiy4fKuJkAdLJlzDLb
	 afliNBy9HFSphA4XAopjZcoexSji/0M1DuM23rZnFT6Vbk9RHxqb1kq7scwJZkK/qOQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793980208;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=JPEkW85xL2Z5vupw5pGm1IHF5rTDX0+GjSNThZXwTZg=;
	b=w4xx72bfvdc4/o6zgsEZ8UHwvwuzOxyy2oWTO/68Ds38g55/9lDMeSIQxnE1X6KXr838
	 vTFu5MrYM0UCnosmbVd+pH9I5bmy+s0kdemCvlSehRbBvTDX18fiVySCLcQJcOhb43Yp1
	 nmkZc13mUsqxCa2jlsagQyIiDLjIbJj+/jd0MsNGm7NXy7whEorFRSlBFLxVHJ4I5VUz0
	 ZZw+8aEOo4TfuMYPKJpSiFhVF9FtkgPqDtPsSqwcgzEKEHgcAUvJlzyWYFdVRjDFoGRFJ
	 fT+I3hS2Hz6wcqKPP6LYbIN8d1xgpUUrXa82TVLgmJ/XSuIsx2WmJtQjldR2KFMEdrA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=lVCBXira;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5AFC606A329;
	Fri,  6 Nov 2026 15:50:07 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D5AFC606A329
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=JPEkW85xL2Z5vupw5pGm1IHF5rTDX0+GjSNThZXwTZg=; b=lVCBXiraIWnb4pXc0OF5xvO3h7
	E6y6zXegrJarYm7dxIjD/4YC8kdatUyKVZCJY2dqenTxhxbni5PlMBJ/aGE7bV9D5PhIKl9HArtgc
	HrKgw8350NW0Ig7wtiRFi0TzteXQ0++4S7Qrh/t22cZhENlbO+FuwvEHqXnJq0Bsa2kQ=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xPMCF-00EoSL-4g; Fri, 06 Nov 2026 16:49:43 +0100
X-Cc: Mieczyslaw Nalewaj <namiltd@yahoo.com>, linusw@kernel.org,
	olteanv@gmail.com, kuba@kernel.org, davem@davemloft.net,
	edumazet@google.com, pabeni@redhat.com, linux@armlinux.org.uk,
	luizluca@gmail.com, maxime.chevallier@bootlin.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <au3hdMxLSilNxhnK@analog.com>