From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.169 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796249842; b=gIZzwSpm3IkFGd0J3U0E4uQc9A/QzQz7RkJQsEG+76RUeFQkLL6dGN/pIFsdnPh2hy6N rniTWfsBRsRfTE1wc8N6RQEecDeQPs5dFxdKnG4XKkS2gnt0U7O2kYnwTr9ALAJDcWZeI rOa2DL96HpUgx0yO2rXwoMYixn0qCKUArWL67KPpcmJtz3w9maJpc1XkC6+AHGP5ovu/6 eBHQDIoLdtgDBzlzbezJ8Ja+6Tn2LxkcjPJjTCGbQ5VU/v0DqJbqxVzn9Ss3I/xpDd5K3 2kHzCnt60Fw5WXApzl1pNbV6lh3amlLYlYwtLr78hbGWE6SKIpEy0fccjh75Tn/2EQg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796249842; 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=p71vxx24xdLLHkVOtSD9W9cTTaahaaXtYGtL+IuvGNs=; b=ug8+9N77bKYH+55T5JUSOwN9iDnH+2UvrLZdkjQpjLLHuITeTmyi0EinXI/PgBdftx5I NBwPAP9JXk4RIW3x9MmJui/YLC0s2E5bQA1u+zPezlDL3YFxqg45AZjQn4Q5/Vyy8MlKb jeIeLlynIbvrN9oTpCcwuBvBkWpi1Es/30KQVIUivf1KjEB5B7JxV9ZMwI35tlsVUCSfJ 0ZMxec6WjyBEGOqkrbkCLYetDa8XyVxVUi7C6f/Np+vr3MGvwEVW+9cMP3uta9uIKGAya 8VJvz1VUsiDuNMKNGoBZYIFdiQuHjMfhZKoXLH8Q61g+XpG4kMURfMORv8/a93t5pDg== 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=ahi3naE3; arc=none smtp.remote-ip=209.85.215.169 Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (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 0996E606A33A for ; Wed, 2 Dec 2026 22:17:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0996E606A33A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com 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=ahi3naE3 Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-cd62c570b5dso9125110a12.2 for ; Wed, 02 Dec 2026 14:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796249841; x=1796854641; 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=p71vxx24xdLLHkVOtSD9W9cTTaahaaXtYGtL+IuvGNs=; b=ahi3naE3QH5ElNRgLNN9i8tYa8pzfqBmDr4wFyXehyy7WS1W4KruFpDHKE0YS86caZ bX/6qEKpCISnID9GvMnDyE8oSndCekssUdd3cBMMXxnE1GlOhccagQLniDNfng4W0kby hf0LFzKQL4Cfh3yyPfhW0Du7Mpg9LfQ6aaiZegljmVZe/M7yrRpCw3xSAWRy0ajtoZ2S wZlJoStkG52Ee4xGECBEpkDxNFKuBy4eK3F5Fag0tJDNAgruyrAOLhhY+OBfkgmSf1iz 1+8Vkpy9FflgfvYQO99hPS3tg9beTwhdTMZlZcYHf89nFhcYRlTQix4bAlfugJob6AdO xrMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796249841; x=1796854641; 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=p71vxx24xdLLHkVOtSD9W9cTTaahaaXtYGtL+IuvGNs=; b=chUdXyp+FT3er5Vy/W0lj3cQoJeBUr6ghEUr2EU1epZuqlXNm80+P2J7h5eRs+J6Fb Z9NhUTULMUM7VJIWTRAkh/zzxPn+fai9/JDS2DUo0cxr/I1rkKHRKhBBziJc4ome5VVj OBe9qIZ+bf7LdgRhKvxBO3fNViFhCGTorcJUZRLErOjBAOK6FTVV6aiWcbPc6jzVAmQ+ BCU+z5bJXiunJv0X6VbhiTAaHwX6a7DbjCsc141/QGPkAel0oukNrcEAfnymXySIu3RS Uihuj+kD82e7F6l7XFfvIVuMwqEOPMPWOYtf5NXLkOmpPyxz4jX781lqRgEF+BMlY4Xv aQag== X-Gm-Message-State: APuU4Z8ZuiefgRGwl1UiAOG7fdKCdoNsECQmrasg6NbUNLevbpEVE1sr yasFpqI/fpMQzUj47jSDCIoKNufingKAhst8Nvxf4kRJcy+HAYcyBEg0 X-Gm-Gg: AZFdTZcU8xlBddOZ4mEqPB1e/iPGVxVDJ/Tx7c6iNO4Hci/pLNgzrK3bF/FmRglWRWi +eekkePYNDoPLFZ2aBgGRZw1Kd7qCyXaGZgkMjFT/4hl0OdiX4WohLwKRrRxVu5MwD+tOiixmJS 7fjhrYX1u63U6WRtZWR2RNkA9FcnlZr+r1mc1krscRPIQxLVZGsd4PFbqiA5q5+g2A3mnR5nMhg hTo3eKQTBZRRfRxwNOOM2KIPSlH7eQUJL0PhiXB8qDuFBA6HOLkR2Y0O7zvydaGoGLPl3arUhPZ lf56NfNz5kiTqu2KdCXqW+HjHqbXjC3oa3Vtded+JTUTip+iK6yHtM22RT41x9dVV8RVCnQeJrj oSWQRAVEe4Owy9EegdMWgWr6vScypAnxOPv0deYmLkrgs5D2lm5T8qqH0aQ58sLAo3bZwcyAKq/ ycx+WOxM6v1iExaV/EMdA7kjuko+DYqDmrwCrnglBxnFfcA6PlvY7HdmXLY+piIU61XXObN7knv aMqMB2pyMO/GhHtv9KmFN6/mFv6UWplae1KvkzixV3CHcynIvfRoyrp2LLN71YNnU/hnUXjZMKd TuV7yRJ9+tP3GAUBANiSwNpSkedvMSuGW+VDLl3aDf4jclFTVfEc/Eo= X-Received: by 2002:a17:90b:384b:b0:3b5:c61e:82f4 with SMTP id 98e67ed59e1d1-3b5c61e8492mr1150363a91.46.1796249841100; Wed, 02 Dec 2026 14:17:21 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7843862sm1075653a91.2.2026.12.02.14.17.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 14:17:20 -0800 (PST) Message-ID: Date: Wed, 2 Dec 2026 14:17:18 -0800 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v4 09/10] net: au1000: keep the MAC stopped until the PHY link is ready To: netdev-bot+sashiko@kernel.org 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, horms@kernel.org, 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 References: <20261121004809.1690280-10-f.fainelli@gmail.com> <179557011468.3135.5568658065903608607@kernel.org> Content-Language: en-US, fr-FR From: Florian Fainelli In-Reply-To: <179557011468.3135.5568658065903608607@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/24/26 17:28, 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. The driver now sets mac_managed_pm on every PHY registered on its MDIO bus, including unattached aliases. This prevents MDIO-bus PM from powering down the physical PHY before the MAC stops or accessing MDIO after the MAC clock is gated. The MAC manages power transitions through the attached PHY only, avoiding duplicate operations through aliases. The resume callback now calls phy_init_hw() and phy_resume() even when the interface is down, then resets and clock-gates the MAC again. It leaves the IRQ and PHY state machine stopped for an inactive interface. For resume failures, close now skips phy_stop() when the PHY is already halted and restores netdev presence after freeing the IRQ. A subsequent ifup requests the IRQ again and retries PHY initialization and resume, allowing recovery without rebinding the driver. pw-bot: cr -- Florian