From: David S. Miller Date: Mon, 13 Jun 2022 11:36:56 +0000 (+0100) Subject: Merge branch 'axienet-fixes' X-Git-Tag: v5.19-rc3~32^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa;p=thirdparty%2Flinux.git 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 --- a7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa