diff options
| author | David S. Miller <[email protected]> | 2022-06-13 11:36:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-06-13 11:36:56 +0000 |
| commit | a7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa (patch) | |
| tree | 52141b7e0e42b81ef3ca50c302a4d2d7ebd0d418 /net/unix/garbage.c | |
| parent | Merge branch 'hns3-fixres' (diff) | |
| parent | net: axienet: Use iowrite64 to write all 64b descriptor pointers (diff) | |
| download | kernel-a7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa.tar.gz kernel-a7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa.zip | |
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 <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
