๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25480

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

#25480
From: Florian Fainelli
Date: Tue, 01 Dec 2026 21:58
30 lines
12538 bytes
On 12/1/26 02:23, Simon Horman wrote:
> 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.

Certainly, will respond to Sashiko shortly and spin a v5, thanks for 
reviewing the other patches, much appreciated.
-- 
Florian
Technical Details
Message-ID: <7cb89cb3-e4b0-4a29-9227-6da3c0c21fae@gmail.com>
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-375372-linux-kernel-netdev=dewy.ru
References: <20261121004809.1690280-10-f.fainelli@gmail.com> <179557011468.3135.5568658065903608607@kernel.org> <20261201102340.GN804035@horms.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-375372-linux-kernel-netdev=dewy.ru
From: f.fainelli@gmail.com (Florian Fainelli)
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 13:58:14 -0800
Organization: Usenet Network
Message-ID: <7cb89cb3-e4b0-4a29-9227-6da3c0c21fae@gmail.com>
References: <20261121004809.1690280-10-f.fainelli@gmail.com>
 <179557011468.3135.5568658065903608607@kernel.org>
 <20261201102340.GN804035@horms.kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1826639"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:znVFEbpb5MR1Q2W2EY9bcOUJlkQ= sha256:BxLTlTvqkYfzCLLr4g/MYwKrBVWIBFHBwgD3QcuqhWU=
	sha1:TBVDPtaGLg50QkKrueoaIzjk/no= sha256:d9PPAXSdLy9HUn/eA6eZzlmGQKym+0fDB1hW/wwGEpA=
Content-Language: en-US, fr-FR
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 8CB851174B4; Wed,  2 Dec 2026 00:58:46 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, 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 (2048-bit key)
	header.d=gmail.com
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 MlvRdb39cHXv;
	Wed,  2 Dec 2026 00:58:43 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375372-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6A787117461; Wed,  2 Dec 2026 00:58:32 +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 C18F72DB06; Tue,  1 Dec 2026 21:58:29 +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=1796162309;
	b=TYUBRvn2SmwRkC9QOhNYqavivjaP8OwN7CIj8fcsLRnTLLLIrFcO9tNZp41LHtbzDyv1
	 6IPRtuID9/TiIXdWrDUDX9uYzesGwhblJ94sbHUksUokw1dtG3YqkVPy2H4FvqXLlDqnb
	 V2IVxqSOWpKRiPTgWbAUApqCHbj1lBW0XhtSJwg6bW/Y7Xt2mu/XAEXdyOnImj/e1UP80
	 0UmHNH3a/QEgvBaY2W9VHZXGI7luc5IN5yy0tZoHELU2obU+3eb2dw6ick/itWKoFV66q
	 EJNP2ZkfCgDS0wMBp13cWmAWtHfIbDnaMK28dXAL7Gs1ZIWSuBhEz+bnI3N/Sr6u3Bw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796162309;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=V2HJGPfH+UrO87H9bBvc/L01Na0uUFM24x8UQqTzfiI=;
	b=VoBPPHSF8jmxTrLzOQvWos6hC0EfGRf6/rHwmcDMUGlycxYVzLia9ZcPHVrNuJZfRQrX
	 +fAVN4p2i2gJ27yE658DvI6GnldmqAmqQpVpU67+Od+twaOrbH34aS8/Wod5u3hleYqI/
	 bcaLqfu7n9gb0g5AHP48R/6vmxLfa2o5AbNtqiX1dmrxmyssBs7xQCIuzgwIVmVx6BC07
	 giahoy9/nIkcUVDOzCPjR345p/mMQNBNe6iNnN8SEldlsVGEhTKKW1eHXzjiIixYhkV5v
	 AiFFk/3NwJCXUhE3KhwK2HSsnysFAceUyzVKMoMyKbnpZ6klNO+1NfsycWysSrLanFg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=mbBk5p4k;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	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 7B6EE606A320;
	Tue,  1 Dec 2026 21:58:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=mbBk5p4k
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.181
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796162298;
	b=dRSZtG5HjGzIOhmbTv2xTFhKNmbPtw2wx+9coy0x1wNTaYr8m85AlbpnLqBMLbvuGH5H
	 zEcJ2mM3ZR/mBUuBOAiCK79UuigvQzzpJyThfWmAeWgAVdZbYKvbUhcrinqmVy2igDN7g
	 3h0liXsGt5ZHO210FAIf009pSBiNXPGSRXPzoslmIh2NZnI8ibPdZcaFKsfqQvSlsfX+o
	 kIb7BUYPKPiJUab68Z8WblQnTeD7x13RByCRrgCK+JKlj4mKu4T7t/DhbEvF2KnYYpw1z
	 8lRtulfmMXn7chOHu0IKXEaUbH4mfR6TA44j+Xb1361dA/KA+DybGG5fG8GRS09FeYg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796162298;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Message-ID:Date:
	 MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language:
	 From:In-Reply-To:Content-Type:Content-Transfer-Encoding;
	bh=V2HJGPfH+UrO87H9bBvc/L01Na0uUFM24x8UQqTzfiI=;
	b=a2lSKJML+GcCArTI8LiJ0R4KP4QBLrSkib47zZ5LvueMnrs+mu7RbYUGlylbMTMkAOlo
	 gmSG5Lozy1k3LBre5s6DCXWcJ70yOW6xQDLuGomLrXvpPlH5OC0xtY+GxtLVNLGTQzKo+
	 NdKVJ4m1/g5J/6/EWyQdpS0br/JzCL9oUufVQ3iKkTY7LViUBYJRZ7WB4IjIS/ne+iPRY
	 4p+XKZWTz5gn+Q72J6WHERlO+UIcAurlvj6sjXgddAieollEwDf6ek7mmckwRFhvmGKbx
	 cpV4NKH6Kf+2ds0Htj+jUGO7xBQURaUMnKd6RNxn87MnCuvk9wLg/9XbVKhX9Nc87tw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=mbBk5p4k;
	arc=none smtp.remote-ip=74.125.82.181
X-Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AD21606A31A
	for <netdev@vger.kernel.org>; Tue,  1 Dec 2026 21:58:18 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4AD21606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-33fb4680717so1968190eec.1
        for <netdev@vger.kernel.org>; Tue, 01 Dec 2026 13:58:18 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1796162297; x=1796767097; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:in-reply-to:from
         :content-language:references:cc:to:subject:user-agent:mime-version
         :date:message-id:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=V2HJGPfH+UrO87H9bBvc/L01Na0uUFM24x8UQqTzfiI=;
        b=mbBk5p4k0lvw/hf0oo1mdiJLiqjRNRrqxnitNasNDNFy69Dj2sm+wr41igZ+0bJZ8T
         Edn4zlcdVnjrdAfzP+KPogSp772VJ4bDP8Rcy3Z0GpifExGgZfJerj2qVY9dvq17mhqq
         vdK9k3/8ekiBd/22vJrooTlqAFdt4/czKMuRiJ6CxDRzKc6gMgueREen7RJPAEPTylmv
         X54No/N1z4UvzWE9gcsbF4UaZxxtYq0PpGiPLuGo/LhFLIDZFiK26RrVhgZB7FQCs6i8
         rm+7m9oMrmoFSJ8wGi52oRoXAHPLWpvWmHhAxsoVOqveiozKYKvhWv9UmsQQSuS88Baq
         USCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796162297; x=1796767097;
        h=content-transfer-encoding:content-type:in-reply-to:from
         :content-language:references:cc:to:subject:user-agent:mime-version
         :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=V2HJGPfH+UrO87H9bBvc/L01Na0uUFM24x8UQqTzfiI=;
        b=YhL3xWn8CTIIHYmuX2uJoZpEveEDf2SvvrNyA3oWU0AXUoZP0AC1jQTbYoJQvYB/PO
         zco/JQUMN1pXxb9+oaZ0YhJUMbmnWOtyOsCVUf2zt3SMVEYHv/fj/4fhMCTCfTjPx5tS
         YXcc6NZoPHi2+2+nLfyopq2xoK9WwwgscHSPQ8r6l38vF/8XiFsxxlZizF3/UE379/tZ
         WfnwhO0QVXJR7U2MswvJA08BLRobJCte7CqiA1bMfqXa3iGy5Y2GYaD8vYKTUzdv/3uA
         xr4wgpmMeypvg3ddFoD4G/CBeOorCogFYY4NP9EZ2oNb3Y8RX8vqHyTFI/wEciwvRXQK
         NiAw==
X-Gm-Message-State: APuU4Z9B57i7vDZRgU6HX9Xhyzf9l9bceLgxbQs53vtEoKogchetXPfQ
	sECGKwmRzIZAbmV3GebLrKxF1GJF4FCweaFtozn3PMOuQLMjMcqcScDg
X-Gm-Gg: AZFdTZfTOW8nb3xAXPdlXjt//zgEuTewjhUBbmToIf6JwN891I/nMWtzqUJOCyLocJm
	JjiwvD29goeOlbeJw2tVPjIKzHQz75JDZvWEaDcEXweiRW9ThqiPPpoYqozs/v4h09r03spnOE2
	51x8JqC4n0PspNDgXfKDCFsgPBPxaQaDwsFQ5cM7KRIOAfHsd3wqsl3TRmPDNluHE++K7fHP7Rk
	BUl9geBR6/zFMvT7lvAs8hSxxuCF931pt0EFhZbKMdkBd97Tnp1EU0CmG7z+QlPzZMUr1F1Coxj
	WfPpWBWlCKdq35nC3Uu3aIbs8vyhYX+ICeWq+KMsI2qHF2P0KClcbVn7UfuUpoV1UZbSXBv3NRO
	3CBtbB4xazYMPs2DRrj3KjygG3ObZJpZO2I0KggVIg7H7R1cY9kgRGcnz8+hCTvhesExCplaz4S
	69B0Xg3zj1VDOFoOGbPCyvr2n7VSesZVduNdbRITC90lrdkiQVQtAgPuu7/IsVb8uWcH+LEtosF
	YnVyC4iVpBrYscGQnDSot4tuUEmbtzu3z4ksKqSqIowUKz8852GFQJ8KdKk58ZNJU351xXb4uHz
	e2aV3WX8JLtaYhbuQr4BR7sTfoE8BiSUi/dXZpIygl740JLm+MxeSIDU
X-Received: by 2002:a05:7301:fe91:b0:386:e392:5031 with SMTP id 5a478bee46e88-386e3925531mr18582434eec.14.1796162297143;
        Tue, 01 Dec 2026 13:58:17 -0800 (PST)
X-Received: from [10.67.48.245] ([192.19.223.252])
        by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385c6830815sm101598441eec.20.2026.12.01.13.58.15
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Tue, 01 Dec 2026 13:58:16 -0800 (PST)
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-User-Agent: Mozilla Thunderbird
X-Cc: 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-In-Reply-To: <20261201102340.GN804035@horms.kernel.org>