Hi Please find new patch in attachments, thanks. -----邮件原件----- 发件人: Andrew Lunn 发送时间: 2024年10月19日 1:57 收件人: Fan Hailong/范海龙 抄送: Simon Horman ; 2694439648@qq.com; alexandre.torgue@foss.st.com; joabreu@synopsys.com; davem@davemloft.net; edumazet@google.com; kuba@kernel.org; pabeni@redhat.com; mcoquelin.stm32@gmail.com; netdev@vger.kernel.org; linux-stm32@st-md-mailman.stormreply.com; linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH] net: stmmac: enable MAC after MTL configuring On Fri, Oct 18, 2024 at 01:15:30AM +0000, Fan Hailong/范海龙 wrote: > Hi > > For example, ETH is directly connected to the switch, which never power down and sends broadcast packets at regular intervals. > During the process of opening ETH, data may flow into the MTL FIFO, once MAC RX is enabled. > and then, MTL will be set, such as FIFO size. > Once enable DMA, There is a certain probability that DMA will read incorrect data from MTL FIFO, causing DMA to hang up. > By read DMA_Debug_Status, you can be observed that the RPS remains at a certain value forever. > The correct process should be to configure MAC/MTL/DMA before enabling DMA/MAC What Simon is asking for is that this is part of the commit message. Please also don't top post. Andrew --- pw-bot: cr