[PATCH v2] net: stmmac: enable MAC rx/tx after DMA start

Abid Ali dev.taqnialabs at gmail.com
Fri Jul 31 00:49:01 PDT 2026


On Fri, 31 Jul 2026 10:11:40 +0800 Qingfang Deng wrote:
> This is _not_ correct. Instead it's a bit more complicated, according to
> their programming guidelines:
>
> So the correct order is: stop TX DMA -> stop MAC RX/TX -> stop RX DMA.

You're right, the XGMAC TRM with me documents the same
sequence.

IMO this looks like a fix on its own as the current teardown logic
doesn't take care of any of this. The proper shutdown sequence is
a larger change that needs per-channel status polling and timeout
handling.

I'll remove the teardown change from v3 if that makes sense and keep
only the startup reorder addressing the RX hang.



More information about the linux-arm-kernel mailing list