Re: [PATCH net v4 07/10] net: au1000: restore RX buffer addresses when restarting the MAC
From: Simon Horman
Date: Tue Dec 01 2026 - 06:03:39 EST
On Tue, Nov 24, 2026 at 07:45:54PM -0800, Florian Fainelli wrote:
>
>
> On 11/24/2026 5:28 PM, netdev-bot+sashiko@xxxxxxxxxx wrote:
...
> > There's no runtime difference. MIPS_AU1X00_ENET depends on
> > MIPS_ALCHEMY, which only supports little-endian, so writel() and the
> > plain store write the same bits.
> >
> > Would a plain store match the surrounding code better, like this:
> >
> > aup->rx_dma_ring[i]->buff_stat =
> > lower_32_bits(aup->rx_db_inuse[i]->dma_addr) | RX_DMA_ENABLE;
> >
> > The other option is to mark rx_dma_ring and tx_dma_ring as __iomem
> > and convert every access to readl()/writel().
>
> These are good suggestions as non bug fixes but for now, this will do.
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>