๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25163

Re: [PATCH net v4 09/10] net: au1000: keep the MAC stopped until the PHY link is ready

#25163
From: Simon Horman
Date: Tue, 01 Dec 2026 10:23
26 lines
9097 bytes
On Wed, Nov 25, 2026 at 01:28:34AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
> 
> Critical: 0 ยท High: 1 ยท Medium: 2 ยท Low: 0
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [High] net: au1000: unattached PHYs on aup->mii_bus lack mac_managed_pm
> - [Medium] Setting `phydev->mac_managed_pm = true` in au1000_mii_probe()
>   turns off phylib's MDIO-bus system-sleep handling.
> - [Medium] When au1000_resume() fails, the interface is left in a state
>   it cannot leave once it is closed.

Hi Florian,

I understand that v4 included some design changes in response to the
Sashiko review of v3. However, this Sashiko review of v4 does seem to raise
some correctness questions. I'd appreciate it if you could respond to them.

Thanks!
Technical Details
Message-ID: <20261201102340.GN804035@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374940-linux-kernel-netdev=dewy.ru
References: <20261121004809.1690280-10-f.fainelli@gmail.com> <179557011468.3135.5568658065903608607@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374940-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v4 09/10] net: au1000: keep the MAC stopped until the
 PHY link is ready
Date: Tue, 1 Dec 2026 10:23:40 +0000
Organization: Usenet Network
Message-ID: <20261201102340.GN804035@horms.kernel.org>
References: <20261121004809.1690280-10-f.fainelli@gmail.com>
 <179557011468.3135.5568658065903608607@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1685252"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:cmrC1DZVJ84ej+2+UOmMFct8pho= sha256:wQ7Objcp6/HYelSXm0X/8UoJHoEvw/60iGsKUavrdDQ=
	sha1:joncTH2OUb2IAaT9k656UpLZZC4= sha256:aHC1+yL20Vtod2VUUfyGf2CCxMkqyHKfnQgleQmqUts=
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 2725811732A; Tue,  1 Dec 2026 13:24:10 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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 (2048-bit key)
	header.d=kernel.org
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 mE2YKFQy1jmi;
	Tue,  1 Dec 2026 13:24:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-374940-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id C1904117329; Tue,  1 Dec 2026 13:23:57 +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 933F82408C; Tue,  1 Dec 2026 10:23:55 +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=1796120632;
	b=Guv8K+1l1RLCdUmZPkfqg3otdlrwrRHj8IBHfmN0LJEo5YgeiVb8sIDwNGK+5q0K1bR4
	 MuE/Sb6v29d6e0dEXNrez4wy3itHiD9CktJLZTLvBpRlOlj9whA86vBuvrM2HvbN6blzf
	 yFQoKgiule1Gz+ejWO0pHgepY50PQwRWewsn2xQW+DcEc20Pxb1MUgMgueTkhV4HltptF
	 S53nee4S2jXQb9R0kF486GTC6DHRqilGhKLE8x+h8xd5dHpQs+Gf/bhwreO9968dQiqg/
	 6U+ZDnLkPFT0mI9+7XrD3BzMXsOgj+9LSfLbibjq2IbP9pJjDSovD+mn0R7QTDG3aQg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796120632;
	h=X-Original-To:Received:Received:DKIM-Signature: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:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=J/64ydrVQbJ2/XZX7izjxvw/wFSQmzAo5Z1ZiI18BRA=;
	b=t0nRvf8h4+qVEmv5RWyinCJd4TJdM5rVAqXUgeSVlbES+z0H0wGpd0Jp60MySo9er7oy
	 yaiKWhXaoZgfCXHVRUdYjcjKwmIf9TtO4XxfEYVeLJR/SDwP1uCLrE/87LiGwEohS1tvc
	 h0boRzOJH2xDqGosTzlw+rxftta5RR16SlBcoeQQ0+cYod5N8oXhcq/eMUBsL0/38AuDT
	 Xbn9bl63ZPpVYsl4Wjj4w0QUVll2/jtTiv8wj9W0M2L34fZM0tWf1OtCQWOtBx1anfaMp
	 JdEgxyUzyG3kxw5++urS6WOtE+bzga3cr1rEmGnzvKxsnWvi6tatwMHp63FA/9FCvag==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bJc5F32q;
	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 BE313606A32C;
	Tue,  1 Dec 2026 10:23:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bJc5F32q
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796120626;
	b=ePfz5JaHPpaMgyyW8XYJOPyTh5kpAnIK3mrafTFx2u4b0mDxOVjnwG0xq48NFGwoj7wk
	 kCUWSjKDBZ7kFZExNICfsi+VAsLgSNJXDvkp7VGp80oZbiJ/T9uNqd63iQIYBT3Oe9M2/
	 3csEW3fL6Al4IqElXyYQN+vs3X7qWSpESDQEGGZZKwxgEodTzLpTcsTIJ/tOA3ArNkhGO
	 D80OaGk83t9rdS88z4Z7aEkF5HNtku+wqRkog5336BsjOqYySgTPgdcq3feYmTlsMhvgE
	 QoSRdHQFzqNKHOk25syJ5z0eBqMcfgNqhs6XBLXspIKdYYw4fbiyVe9HCpG4Nadvshw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796120626;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=J/64ydrVQbJ2/XZX7izjxvw/wFSQmzAo5Z1ZiI18BRA=;
	b=psdCGhWbbGcMvP7h5JC2siP4cOewWG6gCqQjWL6DaMYzLG2XtxQHj3olWkvnTcyvcnYR
	 PeA6ls6iynWibk8fUtcxEGDr58phgqgV9/D8RjWxle63v6VQq0GgaZBOa7lswrzWcnVFy
	 4+hVn3iPLAFvmVvHdAIks1xNoe50uPIcG1GljnT4KX+bbCXIrdLHWb+nzoWnCuCN4BBGX
	 ICe8P6+ErtqMUFQK2wzTpP8drs+ivuiVHY3spwAhgCVzBPiHrrLEUOBw11ChOv8ozkOyL
	 5jNZk4NUwd3nhgBl1geehcm6BiP79l1Qo3j6kSwStI5FzN6fWohRgRiNAScnpAVAiHw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bJc5F32q;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98F44606A320;
	Tue,  1 Dec 2026 10:23:46 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C99561F000C1;
	Tue,  1 Dec 2026 10:23:42 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796120626;
	bh=J/64ydrVQbJ2/XZX7izjxvw/wFSQmzAo5Z1ZiI18BRA=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=bJc5F32q8X6zDTUipra7eKrInBqdmfHcUxcAOVzbCysDeRDJuysiPM+Wllg/eH8fv
	 hgsqHCd3fvpCz3UOpxaZfhvlcM6xESapkeLQhVyoT1BH0PUu/FGQVQdduEeMCfNqqr
	 7h9gSukcKkrSUZSgO1cm0m0y0lN2yR7Gtqs1MxtyI68kRHR/2GiBKWtRjfaVGAOuNw
	 i0Nm0E/Jw0jFwgCetQzwk3tiPL5D0KvHZgf1w1OVxwv0CmzD7I72RyERpxKDdNFqpZ
	 8Mh0KxYSCyPO8PInOhGbdOHXWKJgZLV/tSH1aR0YEg2K3SDhZvJJ+RiZV8xks1srjS
	 R/U9VDnVSeSHg==
X-Cc: f.fainelli@gmail.com, netdev@vger.kernel.org, andrew+netdev@lunn.ch,
	davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
	pabeni@redhat.com, hkallweit1@gmail.com, linux@armlinux.org.uk,
	shaojijie@huawei.com, runyu.xiao@seu.edu.cn, mmyangfl@gmail.com,
	hvr@gnu.org, danny.kukawka@bisect.de, mugunthanvnm@ti.com,
	sebastian.hesselbarth@gmail.com, linux-kernel@vger.kernel.org,
	manuel.lauss@gmail.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: <179557011468.3135.5568658065903608607@kernel.org>