🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8567

Re: [PATCH net-next] net: phy: aquantia: Poll global status register for provision ID

#8567
From: Andrew Lunn
Date: Thu, 29 Oct 2026 13:35
22 lines
9134 bytes
On Thu, Oct 29, 2026 at 05:28:10PM +0800, Hongmei Xu wrote:
> After the firmware reset sequence completes, the global reserved status
> register (VEND1_GLOBAL_RSVD_STAT1) may not yet contain a valid provision
> ID. This can cause subsequent firmware operations to proceed with stale
> state.
> 
> Poll VEND1_GLOBAL_RSVD_STAT1 until the provision ID field is non-zero
> before returning from aqr_wait_reset_complete(). A timeout is treated as
> a non-fatal warning since the PHY can still function without a valid
> provision ID.

If it can still work without the provisioning ID, why bother reading
it?

Maybe extend the commit message saying what features will be missing
if there is no ID.

It looks like USXGMII and 10G-QXGMII might be mixed up? Is such a mix
up not fatal?

	Andrew
Technical Details
Message-ID: <12b07a59-c087-4ba2-8d5e-40b2a6d6a72a@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-353300-linux-kernel-netdev=dewy.ru
References: <20261029-aquantia-poll-global-status-register-v1-1-808089824a3d@oss.qualcomm.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-353300-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: phy: aquantia: Poll global status register
 for provision ID
Date: Thu, 29 Oct 2026 14:35:06 +0100
Organization: Usenet Network
Message-ID: <12b07a59-c087-4ba2-8d5e-40b2a6d6a72a@lunn.ch>
References: <20261029-aquantia-poll-global-status-register-v1-1-808089824a3d@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2017827"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6Ewd5j1lIykNsR+I6n4/uaHTkm4= sha256:qZAKnBf0Te2teKp4KxlK3yEzIZz0ulyyk7nYvjxNr58=
	sha1:VApBZ6TMOLRZjSe86I5DwSTERiw= sha256:0hu3KdGQR8B0I2r3LVjKwvmpSVcqoOyAPb0Ha/HpCng=
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 4C18B125C66; Thu, 29 Oct 2026 16:38:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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] 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 aFQoPXe3jczJ;
	Thu, 29 Oct 2026 16:37:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-353300-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 30DD1125C65; Thu, 29 Oct 2026 16:37:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 7AC032653E; Thu, 29 Oct 2026 13:35:30 +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=1793280920;
	b=CinmXY/4Tq0SBhZMFYptTZz3iG+GK0tFtsq/oKe1o53qv67WPImk43FmH9lX6CSwFv17
	 eUMcDSQhlen5vQ9zm4uB1lEE3JllEu7+zPN7osbDTJ2cDTCTuZOAE5Sw3gmADLLfiA+P/
	 3xDjfG7lvb3Xe10Hv+ZrnJo4N04tUe3V7BmTHEJr32Rc49do+9ZIQo7hekf0c7/wolE5g
	 NGAWAxqg1XW/7Y/yIJl0hias+aG6OGiS6TiYVn5AupAiYC03N1cPH2EUsnFep/h5glihR
	 eu0lV9ZgF/1wNtYf/1uftbaP37f1OxErmVbVYy6+xhYzxi3Ona39JP03fBY1tRdWk6A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793280920;
	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=p860bwH6YeFofoBMbDY5HJC01y3g60gjrZpZOZVP8Oo=;
	b=YGQS0hMRyyUqF0Z/ml9vgcEe/WAKHmEXPwhsDDHlksF/Lyb85B8gG1njC4fasI6NwM1r
	 g3l6Frb8M4BIzpztd5jmo1n9CpM9MCz5pxexC4q8dcLdeGaf9TYT0Sht8V5fczjSoaa/5
	 iaSvvrnj/cyiKc1j16+hry3xZ/fvFxHJVDOhgNvAlyxd9Weep3uX161IXPAPQ4fbYXIVz
	 JjGtfNDlSxK9gz5fYFDuIlKqbIbc7sp8KVhUTOVzVxnf1pW11LB3/KOyYeJywDs18n+BY
	 SusNxcNVZkHZYwKRc3g8YMPfnvLyOKswN6LXVLN1rEXfZ/JyxxJOd07j+0ENSVClvXw==
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=lzAIydcA;
	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 B71C0606A32F;
	Thu, 29 Oct 2026 13:35:20 +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=lzAIydcA
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=1793280914;
	b=Hp5lDlQVM8d6P0KeOwSrJlybSPdvJu4IukncmeJycDP0UVFxKZsN8uroPkQrCiR6qa/w
	 U2xNEjDKfC0HJeZeiHBNPvieMd8pZ7ojNo/6V5fKx8adbY4A5rgqtEsfskBA5GKWWnahq
	 VXsFt3Jb1g3hXVpuE0+DjQqiZTQZ0TThR0bGzFGb2ZNrXReRyxmF71z6jbyD9R4hrqZwH
	 482sVDDtLD+uOuE6zh/Ba2PhBFs9a3uW9DvZAi/ESINJG/c5QFi7th9a41WRxc7R0u3SG
	 IZXaNyHzidEQuG4UBfEU4LhsSHcZ47/iUsZtFbY5VG1/j5CSpZAz+1CCyXzjTQsYbbw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793280914;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=p860bwH6YeFofoBMbDY5HJC01y3g60gjrZpZOZVP8Oo=;
	b=W+IV9JV4B/4CIg8JOiVAFaiKyN2svmn8ikdGIEAEjn9q4+TFIuBkyKT6NORsP57UIw13
	 gxekk41XN0BJnKG1LihjmFc2pP9WcBjifS+czfLVa1vRaDiK72HeJ6U801mZuVs+ar/cg
	 RE4nXCmEJ8RlTYzrGHiu6DH5kvryQyVBj8GWlXixJ3EiN6RwXkj/Dtw0yh2EGpiooYbOS
	 3CHdWeS8r715rCEuCkGM9RDApbZE/taabaMqKwswADrsev5CiNfAWPm/iT3mQInUobHfb
	 4RzoBok8VdAJ9MvLCJyvpnYMOpW5qfDG5RFo6DYD7PYYC9UVx8xHUGzxRcJbYiq243w==
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=lzAIydcA;
	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 4E1D9606A324;
	Thu, 29 Oct 2026 13:35:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4E1D9606A324
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=p860bwH6YeFofoBMbDY5HJC01y3g60gjrZpZOZVP8Oo=; b=lzAIydcAdQTTqpVd36qz+60LIV
	G40qigAE0laJGX5NqEExCMlBU5UI631Sthnq6zl9R+h3lVn54tBjoY3013UDC2sB/r1LS6lbtpjxG
	HT96Aiub0i/xeyHZH3rR/3GQrn6JkTlr8/XBgyaWRiQ0p8GtcPkVFdoi+QayCEiLNbaY=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xMQHa-00DFWc-1w; Thu, 29 Oct 2026 14:35:06 +0100
X-Cc: Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Sagar Cheluvegowda <sagar.cheluvegowda@oss.qualcomm.com>
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: <20261029-aquantia-poll-global-status-register-v1-1-808089824a3d@oss.qualcomm.com>