🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17172

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

#17172
From: Andrew Lunn
Date: Mon, 16 Nov 2026 13:33
32 lines
9906 bytes
On Mon, Nov 16, 2026 at 07:14:50PM +0800, Hongmei Xu wrote:
> According to the AQR113 PHY databook, after firmware reset, a 20ms
> timer needs to be engaged to allow the supplies to settle prior to
> allowing the PHY to boot. The working flow is:
>   -After the 20 ms timer has completed, hardware state machines
>    designed to guarantee PLL and band-gap stability engage.
>   -After the PLLs and band-gap are locked and functioning properly,
>    the processor and digital circuitry are released from reset.
>   -The PHY image is then loaded through MDIO boot-load and the
>    processor boots.
>   -After the processor boots, any provisioned register values are
>    set, and the PHY enters the provisioned operating state.
> 
> Starting subsequent firmware operations before the provision ID is
> valid leads to steady link failures; this has been observed during
> AQR113 PHY bring-up.
> 
> Poll VEND1_GLOBAL_RSVD_STAT1 on AQR113/AQR113C until the provision
> ID field is non-zero before returning from aqr_wait_reset_complete().
> A timeout indicates a hardware-level provisioning failure that
> software cannot remediate; the warning is logged to flag the hardware
> problem, but probe is not failed since a timeout does not necessarily
> prevent link establishment.
> 
> Co-developed-by: Sagar Cheluvegowda <sagar.cheluvegowda@oss.qualcomm.com>
> Signed-off-by: Sagar Cheluvegowda <sagar.cheluvegowda@oss.qualcomm.com>
> Signed-off-by: Hongmei Xu <hongmei.xu@oss.qualcomm.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Technical Details
Message-ID: <c7467c7c-a8eb-4a23-a1a4-20d6ae6dc7d0@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364341-linux-kernel-netdev=dewy.ru
References: <20261116-aquantia-poll-global-status-register-v4-1-1b44fe85db5a@oss.qualcomm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364341-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v4] net: phy: aquantia: Poll global status
 register for provision ID
Date: Mon, 16 Nov 2026 14:33:36 +0100
Organization: Usenet Network
Message-ID: <c7467c7c-a8eb-4a23-a1a4-20d6ae6dc7d0@lunn.ch>
References: <20261116-aquantia-poll-global-status-register-v4-1-1b44fe85db5a@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2072430"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GlLgohpZPFuslFdYE2FHzawrLTs= sha256:vX4HtO3giYxVJN8dugUzq9x/PfHQXTFEyf4v2pBFGWo=
	sha1:c70WGoytn0sRF5eFsKfSStTOhVo= sha256:RTbRdJPDKXlxCqyIY1m51uTJhNMEBqxQalWA8O5HUxU=
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 CD11C114C22; Mon, 16 Nov 2026 16:34: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.249,
	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 3ho6k1BmY2b3;
	Mon, 16 Nov 2026 16:33:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364341-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 4802F114C0E; Mon, 16 Nov 2026 16:33:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 2363C2FF37; Mon, 16 Nov 2026 13:33:45 +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=1794836025;
	b=hQ8kalRomlNlKA0pyuu9MFMnnup5w9wtdxski53KEsMFGap9Bh8cBr888gINFoBaQMwu
	 HOFhl9q/a7ZkgcER2qjcvoz1dS+D3q8GOJTeeHd+lVYibGwhvdpBu3T2NT1/0/I5qlwIc
	 sjJxod0eYn/PRLqR7LxEpqKIl5yVVBGvy0S7gesqLZIs/1FdTN3L5N615i78gGXMYcds9
	 6p1HgtsdSRKcPF6k2m/t+Kc9mFe0enk18nJ866hsrdcUh4CiyXLYkmYHQ3GFzVFGFJHRb
	 hQK0frbhH/T1vJW71sdiZmN2ETdTW+OZCKpHpFxWDX9Hj+KrCkgEbZPLSDR7gaGGZng==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794836025;
	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=ZcnyPhcxTot59tf8PtMshG+n/kse4h0RgXHi4ivebCE=;
	b=xgOzcNQmnqNYnFlLU949beu81sP6EHUiMuWx38PRhmx2LVyZaz+2geQcOqdmaSK4Y8jq
	 gNy5ivCTHTHhS8Q/v+KY+GeXy7fgebN6JI4s2gKPnBQqLAPveYZVQiATHtMfgbjqqEJhx
	 1FyL8B7YhrMzCeuf4T8zjmlsCz3MnBNZWVihluJEMVF+2TRe9Uw8g0ueYT47e+dLh0MLd
	 dVPpaXUkCyXX3FCzR/eb0Ptz01ZYmcOi7fUSR8QMJI54KzUn2o6o8pACVzTQuG2+ZGI2Y
	 3a7PzOmLLS9+iXQ7ZYuHYh5WXJXDSWH5l0GOvIbqOiKg8DtNTYQ4k/qAHQCL1OT/ydQ==
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=KebFq6MZ;
	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 EE6ED606A333;
	Mon, 16 Nov 2026 13:33:44 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=KebFq6MZ
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=1794836024;
	b=Lh6TA9s6KmQ0o/juXIvR1YRx44nHOkxi7QULTo9NDtjuRtqBV9CdkumSY9Wyy5TzIdP7
	 fgMAtSgVszs7oKjepvyw9gmj+tomFr9r9xtLVst6Mgvcz8LGjN8vDYpLLPIO1sUzEOjVB
	 Gq3ynp7AbwfAMSCabcLZHBAJfapvDAGFJoq8BGp+V0lgnFXtiA+ebgf/bILkEfA5xeki7
	 xRpCVsB4m4cvyvfQgXKo8l7G7ALa5Jclz4gVyXwcL8RH4d2E4eHgtaORmNnCIK+92xZ8k
	 zhU07+y3Cbv2o6zG8hGgDAHjgIyYfYk59GqF1q0RPiiAV9RjlZDcl2yHM21IEZNr2IQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794836024;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=ZcnyPhcxTot59tf8PtMshG+n/kse4h0RgXHi4ivebCE=;
	b=QWseSN2BSY7aPAcp6Vc3i5Nb/NwRgxH5uPwcCQ3hBHxzzm41a5U+aafL/8vQ699yJlfB
	 LowC8voi2oMdvhP1F8yMXYNbWL6WlqR+ObFSgp3YhwjyCS63TQo1nhCiVaHjPCagxymbC
	 2eQrAPnKwBNeXvg8su7PamMsYCr5M3q/V6cCmFl4/aTg5DE01oLvbEwbf84tY5uDpLmrZ
	 tFQW60UUpR1a3RNCpMEyZpoUVJll+yC3Z1c6/YK7cCDx3/3az6DhH5MG7niRRqwUu0x8e
	 +/vZ1TZ4O+9H4Gy7YH+7oP5cyOgki6pyjHW4W8+yY2JK40+HklvbUg/Tb8oKxN0vBdw==
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=KebFq6MZ;
	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 C6537606A31C;
	Mon, 16 Nov 2026 13:33:43 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C6537606A31C
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=ZcnyPhcxTot59tf8PtMshG+n/kse4h0RgXHi4ivebCE=; b=KebFq6MZDIdqXgPnkqgqxItwl7
	+SStrWsRRX0f3smxm2UBOd5cGeTHBCccWJDz5Bcbag9+nYgSjRW9fZru8YQkeKTDEgwThV8kUvvlp
	77V9z2e69mn2RFBKSgXO806dbzGZbS9WOvQBBl8XB+HIJetAfJhJbf2IAJPTsmSSYIsI=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xSwq0-00GvCH-1e; Mon, 16 Nov 2026 14:33:36 +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: <20261116-aquantia-poll-global-status-register-v4-1-1b44fe85db5a@oss.qualcomm.com>