[PATCH net-next 0/2] net: axienet: fix DMA Tx error

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Jun 13 04:40:13 PDT 2022


Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem at davemloft.net>:

On Mon, 13 Jun 2022 11:42:00 +0800 you wrote:
> We ran into multiple DMA TX errors while writing files over a network
> block device running on top of a DMA-connected AXI Ethernet device on
> 64-bit RISC-V machines. The errors indicated that the DMA had fetched a
> null descriptor and we found that the reason for this is that AXI DMA had
> unexpectedly processed a partially updated tail descriptor pointer. To
> fix it, we suggest that the driver should use one 64-bit write instead
> of two 32-bit writes to perform such update if possible. For those
> archectures where double-word load/stores are unavailable, e.g. 32-bit
> archectures, force a driver probe failure if the driver finds 64-bit
> capability on DMA.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: axienet: make the 64b addresable DMA depends on 64b archectures
    https://git.kernel.org/netdev/net/c/00be43a74ca2
  - [net-next,2/2] net: axienet: Use iowrite64 to write all 64b descriptor pointers
    https://git.kernel.org/netdev/net/c/b690f8df6497

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-arm-kernel mailing list