From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.182 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796249842; b=4/ME4iiAoVW4S55PGRJ8GdBkRQ0WJg0AHalkJKBToYw2OSvFDK+gQ5b0jeb0FRfmEWpE UxXEbcnILuo4fgcIPGMQ2c7YCh3hKnw2nVHhadRMeT3qXm4IbNmPecIvsPWf1eYAaOePe r5qNI9cMou/+Q84mNaccuUIrANr5nsLglOeIIdg1pWhBiWYvYhFas7V4tmYeYBA60KyUw fdc/kimvQIJjuntadG5aers9h4aZ2EosMSDL9Y3P76gEhBWZbt8RauexchvjNPhznEo5s RmMjh28tDEAb5u0GBE5imoiaLe4pNLHyGk2MnX9otD3M3A2DryfKCzeptzawgZSzM9Q== 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-Forwarded-Encrypted: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=1DpOHWFkMmFkI+LEinIUds0Z4FIb8PN6cyVUbtXnf0BsSKPoXbtDsEh0e1QYl4XrADIr EnFOfjCDTpcr3PnX4bfYWi/gVVbqwDKPxXbVmgdmm/BXknh7j5hbMSfIiHonlBDxlyHN+ jDMAlphzcER1fv2z6JWZnJsS5hkDulpx0ELHIYu14+WejASWlv6CiPPI3reGiNNoV6duZ 15vs+DJPufBMOkTL27NcyMVXRcZFRjJgWDmJtHnINwrFsSQLBk/rDOfDeIlrOsdGoueN1 PqAGpP/xuUoKNPGPrm+HhBESSct7+xiEXNF1hz8Gg0ppRQ3sovqzVIR3GrgWTcv9uNA== 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.182 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (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 07D54606A339 for ; Wed, 2 Dec 2026 22:17:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 07D54606A339 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-f182.google.com with SMTP id 41be03b00d2f7-cd62c570b5dso9125111a12.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=xYvFO/cpuZq9WUSBz359lru59TU/Jr5wK9IAMdMNatBDf0J5ZJ836eRAFjBJgMHGXQ WRqj0z3Neimo/1J4nWVmyrf3yuBmAwb9lb08YYfwSHTeeNKYENbCJeNvPdJp/PTyTS9Z Kxmp9XsefGEH8HbNzAYbnr8caJW/XdA2tJloIHC7qoALCun7B6rR0ofQI86444H2NYpN ASmh79MSHQzVbaG7lxstWBC8saoeivYpRVfCNTqM54cM0UK8EGHR7rRqP4OOvFaPf8Xm +lHBXM7C4gVUS/EjDTCb9zabtWDaUoSUi3mAPoTjxPpGiYl/2gBqxTP/jvtz+VS6Vev9 ieQg== X-Forwarded-Encrypted: i=1; AL+hErFf/mfVmkrOgFx/Db3E9d0GDwr9kpQzwaNBu+2fcbYEkAoWAiiiW+YfmIQHewtHBnVeR0OYDOKTWciWJME=@vger.kernel.org X-Gm-Message-State: APuU4Z+caBnkb0gSaxaeZutDnmJ16QB9NRZDSoQGkZX8Wc68LIg8nkBq YOAVyPTJipV+nEb8IAxz8VvfMId0b5dLrA9RICXdm1S4HU8lIWjvjlNk X-Gm-Gg: AZFdTZea7ywDfiswq0giS3DJgQzUfH13pgzPwnMwOYWEM8S2v1YCaUAGr2b4eIiqT9o 1mHOgqmegTb14qfIWlyaLwkSfFm6g24Hs3hsbrvDbE1HXIrzPwI5V7cZ/8bsy7d8cTVB0EG3/Iy 7pLGCndx0f/LdVuQCP66rTf/Xk2ULyKlyFajZWeJDKbpkuNyh1+Q7Vv7UdD22tBXhIvUsmj2Cv1 pspb2vSqTmhMQiyi/GVHzJ+zCWyTvh6KqGtQSnog+7bNf6yUmspkah7DKNj60u55+5BuBRVd50q Bxp7xUrWnOk3VxsCMeGY6tKLmAmpq+90/pUSpmKt6I7I4AWdrV1LL39p8eIhktCn0G+NuDaZPgu 707uO8SNWAyGNRoHT7EMtfFK/wKnhT5YkCxEfxFXNgX4Od85sPzDrW1g/5Ol1spN5pw75eT7Ikc jgYBwxu4Pt8b8qrzn6QmZp1TfaLdcxiGRbhcf3BcjRZKxmncSQ/afG4AukLmh8y+eWE/VRGWjk1 96js+pHiJH1X2x0pb4Wz+QV3YM8yIKwikD0yOfdUi93pSoihvQk+AK/r1byQwqPfStwetYSfEZg YurFaAW8crpNNoAn4BDRzYrVpJcvZtysosVll6wFgLIvEnAFp5z8+l8= 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: linux-kernel@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