🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11298

Re: [PATCH net-next v6] net: phy: aquantia: add get_features() for AQR113C

#11298
From: Andrew Lunn
Date: Wed, 04 Nov 2026 20:57
23 lines
9169 bytes
On Wed, Nov 04, 2026 at 05:59:13PM +0800, Hongmei Xu wrote:
> AQR113C does not correctly report its supported speeds in the PMA
> extended abilities registers. Without a get_features callback,
> phy_probe() uses genphy_c45_pma_read_abilities() directly, which
> produces an incorrect supported mask.
> 
> Add aqr113c_get_features() that calls aqr111_get_features() as a base
> (which uses phy_gbit_features as base and forces 2.5G/5G that the PHY
> misreports) and sets 10000baseT_Full explicitly since the PHY also
> misreports 10G.
> 
> The AQR113 likely has the same issue since it is a closely related
> variant, but this fix is limited to AQR113C as that is the only
> hardware available for testing.
> 
> Fixes: 12cf1b89a668 ("net: phy: Add support for AQR113C EPHY")
> 
> Signed-off-by: Hongmei Xu <hongmei.xu@oss.qualcomm.com>

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

    Andrew
Technical Details
Message-ID: <a3bb991a-6935-4ce9-a754-0c4ba9e72662@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-356931-linux-kernel-netdev=dewy.ru
References: <20261104-net-phy-aqr113c-fix-pma-capability-v6-1-d6d4718e45e3@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-356931-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6] net: phy: aquantia: add get_features() for
 AQR113C
Date: Wed, 4 Nov 2026 21:57:23 +0100
Organization: Usenet Network
Message-ID: <a3bb991a-6935-4ce9-a754-0c4ba9e72662@lunn.ch>
References: <20261104-net-phy-aqr113c-fix-pma-capability-v6-1-d6d4718e45e3@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3495851"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:OaQ6XwV1/RA43G0Xz8Urn6xWUos= sha256:z5/rVfTe2NXdM+kF+RCrQSL/zas4x0EvnsC3SSm3HHQ=
	sha1:oCyw76TcBZW7YQhPXslP7GedbO4= sha256:xN8PZZP7/PeC0npQ74pDZUmzyA0qv9pueyzypVG3KGg=
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 0AA8D112DA0; Thu,  5 Nov 2026 00:50:13 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.15
X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31
	tests=[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 uED0VGrpDK2A;
	Thu,  5 Nov 2026 00:50:09 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-356931-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 621BD112CF7; Thu,  5 Nov 2026 00:50:00 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 463CB6198C2; Wed,  4 Nov 2026 21:31:25 +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=1793825858;
	b=KsnbNi04TwDJC73NXcl2NKNz9OXwbnnNyRgrXxb73llxMhoLCPw7srWaIosexiH4d9GY
	 MvQSJyvB7KFyUrBS2ZAWYHZGiSf1QqoLEGCwp5hmEryRi1rEoUI1Mq+uFbIsNESjj2/3x
	 GF/S1L15HkwwNFSDTMpiYoIpUgqySGPemk+DRrdriCQHBQArp3qFnbS+n6e/laQYiSLzo
	 1npQPq5RXxDouYWhpBWqwng6zDGTqtfX66eBuxZ/a4MO7vkeGUtq+ni8M8QY5jqJrPvCO
	 NMgvGCEjic9ngrYdssHlVH003PrhRghgm0KSyzAnVGyC8AvvUZ4O2KldKBL+H7djRXw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793825858;
	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=QroCc3soYzLpiwN5IIzNHAwlSssIOI5rcaIIFmq/08o=;
	b=WJBpa07kNuxjT7mnbEKJTz6BuXPvqNNaVbGL/KD7ZQFDZr1oBQYeQiL2mEWoV1tgGY/1
	 KaT9yhnTcX1PL85pvHP3vYxLxk1MF3pyPmWIjnxF9orezCkKkdBjkuqbHsmoGzz6/q6Np
	 j59X4GYuNFm1LfwGGaZnbw6/90FvW1We45SLUc4IiN6HzRx3Wsp1wrYAFKjTMcz2Wu3w7
	 OFEBe5oaPysUNajrw443YLecvysar031+bswzn046CQhEJA5PQv7aauu2EdRgHGEsnOOm
	 QV2VtPKnAbbcv4Y9cYzryoy+qFtTr5Puk34j3x0yYG5XkgCu469xSU/4182jbnSH85g==
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=kE9k6dxr;
	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 17302609CAD8;
	Wed,  4 Nov 2026 20:57:38 +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=kE9k6dxr
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=1793825852;
	b=UIp2zsxKzgPOqRilESpyU/HYR4qF3fuxl5w8W8jPpaEx+jeTSIOOpcv9r4WqDD2UY6yp
	 F8Fv0QSPJa4mJlsaFkMPEPhk1xE7n53jHUP9yis/Qq+ZzTSq6EkfxKD689bMfRb7oDbKA
	 Dqb9f86CdsGOrqeT+loOtzSR3r0xWXSUFC19FfxOQmrGcy9VMD8aJ6GitFXjCN42Llrfj
	 Q5q9Rps16ZCxCl2U80wNGvx6ra70GOAgYQgXYdBMrsxjxbOrEJfBcojqi5HgAViI42iuF
	 iwbKPotBU9usdRsEocbN5Tn+ayR5dAfrB6kI3Fl8iXgRSrGLcNDxiyWIInFIdX2kvtg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793825852;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=QroCc3soYzLpiwN5IIzNHAwlSssIOI5rcaIIFmq/08o=;
	b=hsDmGdTqL0hkX7i6gxTgK0P7qqyRaVOC/bShQNyfbaVmHKJT6pEo8rgBPnKdodyUX52D
	 ADBYRMsysKB/3s7XNTrC+m/pipik/LUaaoqok2dp0/z6etAPCUA+XGvVWmxpPIV/qdwqy
	 DFWeUiUmnNHh7JN7Rz9Y9eY0cwnlsXyHl1tjsx15UwsgkhGP6N2/sacKUJu4FrC8D8LWT
	 uuiXQSxYq4nC3VIYV6r0itZsIBG1ZF+KJ5gO+ZVa1C0wEs3XtuNQPkvkqDoL19yUL1c97
	 bIU5TCN3IG8MBCZbWxQNxHaB3mgiGU6KOIDVIhstsMxnrJZyrg9A9qraLCGE1OT+9Rw==
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=kE9k6dxr;
	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 924F4606C908;
	Wed,  4 Nov 2026 20:57:31 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 924F4606C908
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=QroCc3soYzLpiwN5IIzNHAwlSssIOI5rcaIIFmq/08o=; b=kE9k6dxrQm77Q3TaQLznHk0QR+
	L8qHNcR1weDMsAwMdROd/dcOjy09t8m6A0GoyVGy5yzyyzFcG2phut/ghVJUkUtsiew0sNzvJo9hb
	zv2ZsyQpG50qBLR2lEzdF4AhXPqJukRFYVqnDZ9QM19zk/SjgkGwwl6bTTfgyCmil8Jk=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xOi2t-00EO0v-AH; Wed, 04 Nov 2026 21:57:23 +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
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: <20261104-net-phy-aqr113c-fix-pma-capability-v6-1-d6d4718e45e3@oss.qualcomm.com>