From: Maxime Chevallier <maxime.chevallier@bootlin.com>
To: Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>
Cc: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Russell King <linux@armlinux.org.uk>,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
Jacob Keller <jacob.e.keller@intel.com>,
netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH net] net: stmmac: keep RXC running for atomic filter updates
Date: Sun, 6 Dec 2026 14:05:27 +0100 [thread overview]
Message-ID: <dc35e7c1-6408-45e3-8355-229d515c9e27@bootlin.com> (raw)
In-Reply-To: <axVV6GHVE0IyufXP@lore-desk>
>>>> 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
>>
prev parent reply other threads:[~2026-12-06 13:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 17:31 [PATCH net] net: stmmac: keep RXC running for atomic filter updates Lorenzo Bianconi
2026-12-05 17:36 ` netdev-bot+sinfo
2026-12-05 17:39 ` Lorenzo Bianconi
2026-12-05 21:11 ` Maxime Chevallier
2026-12-06 12:07 ` Lorenzo Bianconi
2026-12-06 12:23 ` Maxime Chevallier
2026-12-06 12:32 ` Lorenzo Bianconi
2026-12-06 13:05 ` Maxime Chevallier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dc35e7c1-6408-45e3-8355-229d515c9e27@bootlin.com \
--to=maxime.chevallier@bootlin.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lorenzo.bianconi@oss.qualcomm.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mohd.anwar@oss.qualcomm.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rmk+kernel@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox