diff options
author | David S. Miller <davem@davemloft.net> | 2022-06-13 12:36:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-13 12:36:56 +0100 |
commit | a7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa (patch) | |
tree | 52141b7e0e42b81ef3ca50c302a4d2d7ebd0d418 /net/nsh/nsh.c | |
parent | a5b00f5b78b7adb9f6f37381da2a54db6d37cd11 (diff) | |
parent | b690f8df6497b654c2c871871e0a598e9750c0eb (diff) |
Merge branch 'axienet-fixes'
Andy Chiu says:
====================
net: axienet: fix DMA Tx error
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.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions