[PATCH net v2] net: stmmac: dwmac4: mask interrupts when stopping DMA in suspend
Andrew Lunn
andrew at lunn.ch
Mon Jul 20 06:59:19 PDT 2026
On Mon, Jul 20, 2026 at 01:15:29PM +0200, Luis Lang wrote:
> Since commit 1b9707e6f1a9 ("net: stmmac: enable RPS and RBU
> interrupts"), suspending causes an interrupt storm from the RPS
> interrupt.
> Fix this by adding a deinit_chan() op to stmmac_dma_ops, which
> masks all default dma channel interrupts. This is called from
> stmmac_stop_all_dma(), so interrupts don't trigger while suspending.
>
> Fixes: 1b9707e6f1a9 ("net: stmmac: enable RPS and RBU interrupts")
> Suggested-by: Andrew Lunn <andrew at lunn.ch>
> Suggested-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
> Signed-off-by: Luis Lang <luis.la at mail.de>
Nice. Thanks for working on this.
These are the sort of patches i like to see. We see a lot of AI driven
patches fixing theoretical issues which nobody really cares about. The
submitter does not appear to understand what they are doing, maybe
compile tests it, but never boot it on real hardware.
You have built and booted lots of kernels, done git bisects, sent a
good bug report, done the work of actually fixing the problem with a
little help from us, and pretty much got the processes correct first
time. You have the basics for being a real kernel hacker. I would be
happy to receive more patches from you.
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Thanks
Andrew
More information about the linux-arm-kernel
mailing list