From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 223FF606A31F for ; Sun, 6 Dec 2026 13:06:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=13FYzQIC; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=UiRR2DgC DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=Mx+x3nKXXNygDqeSynnMo3OF0K170QL+xApVDsrj1Xc=; b=13FYzQICqQcrZ6 P7MZU93qZRCvUaCzyPVZofQiiHHt9qp5iUmPbRVLVBVOFZGam3sjhlfgc+6irHKq+mCKj8U/nab9N P+tpD7NJ0y45W7w35VYaFgQpMImWrn5mx5o2lTntCEZpijJom5sgVJ/+2QeqAWzXgEFF8WmbF2ASx oPRSzaM8Dvup4fknlSrX2s+EFSK0+afG92s6aQIQc33pw4h0UswE6jjauMNniAAKGthBXzbkgtziR ii320+r1TJ09bg/pkl89eA/oujTwerw47Dd2iOAnSaPFVJxlfYw2dcAJnXlRyzXqH+PcTPskSm4te RByKEY66eEoyeIJaf9mQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xaBwG-00000003adX-2UX6; Sun, 06 Dec 2026 13:06:00 +0000 Received: from smtpout-03.galae.net ([185.246.85.4]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xaBwD-00000003ad7-3l1N for linux-arm-kernel@lists.infradead.org; Sun, 06 Dec 2026 13:05:59 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 510FE4E418DF; Sun, 6 Dec 2026 13:05:52 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 19F8F604C0; Sun, 6 Dec 2026 13:05:52 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4123511EA1777; Sun, 06 Dec 2026 14:05:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796562351; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=Mx+x3nKXXNygDqeSynnMo3OF0K170QL+xApVDsrj1Xc=; b=UiRR2DgCqN10dbnOllSlAOx9sm6yVbtYzNHtFXvn1Qdz2hh4j1QTrB4rPm1V9YcKBg9a/H IoY2vQmYe5Qi1X8MrkbXY40+CsAHwHv+EczZ/HqBp10zyTOpdp5CcXHvv9nVnNWTLDThAS hAGtfI8zhzB7Ef1WQs5nU1gk3a9GRKgYanF8eJx8qOR0c8pElCpMAdHdtUBDV6VYpRa319 4mUQkYEw9Df0hc9FEJJSt4x1bHplDLrMeGZh5TEtVKMK6OobmSyPeWj+ej8VNSR7hIBFgS crTVJ2lZ9u1Ksin98SOVK0nZx+U9jK32AvFqVfez2LvAN1GOtAnmrI3RamjINA== Message-ID: Date: Sun, 6 Dec 2026 14:05:27 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net] net: stmmac: keep RXC running for atomic filter updates To: Lorenzo Bianconi Cc: Mohd Ayaan Anwar , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Russell King , "Russell King (Oracle)" , Jacob Keller , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20261205-stmmac-keep-rxc-running-v1-1-35f8cb71cb98@oss.qualcomm.com> <40dbae2a-5ca1-4f04-b48f-a74aeaf11ab1@bootlin.com> Content-Language: en-US From: Maxime Chevallier In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261206_050558_158558_E35E4C37 X-CRM114-Status: GOOD ( 13.30 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 >>>> That would introduce some power consumption impacts though no ? >>> >>> Yes, you are right. I guess this is a trade-off between correctness and >>> simplicity of the fix. >>> If we disable CONFIG_VLAN_8021Q (CONFIG_VLAN_8021Q=n) there are multiple spots >>> (not just ndo_set_rx_mode_async()) where we can access sensible DMA/MAC regs >>> while the RXC clock is gated. >>> I drafted a possible fix in [0] but as you can see it is much more complex :) >>> >>> Regards, >>> Lorenzo >>> >>> [0] https://github.com/LorenzoBianconi/net-next/commit/87da83ada7e971e78908ccbd5bbe104b00654124 >> >> Quickly looking at it, it's complex but not as bad as I expected, this can be >> a nice series on its own :) >> >> It's important we get this right, the RXC thing have been a never ending source >> of problems with dwmac, and we have the plumbing in phylink to deal with that, >> I'd be very happy with this being behind us ! >> >> but hey we know how it goes now, 3 patches in a small series, a few sashiko replies >> and suddently we have a 20-patches backlog... >> >> Do you feel like sending your more complete change ? > > sure, I am fine with that. I will test it a bit more and then I will post it. > I guess we should target net, agree? I'm not quite sure anymore, net is overloaded and we're late in the cycle... nobody seems to have complained about encountering actual problems with that so far, and as there's quite some cleanup/rework involved it's likely to be a headache to backport. But OTOH without the LLM flood I'd have sent that to net... I'd say in doubt, go with net-next ? Maxime > > Regards, > Lorenzo > >> >> Maxime >>