diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2018-11-20 18:31:46 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-01-07 07:23:11 +0300 |
commit | 5c094d4cac5ba78139f4d7169145b57af7f07981 (patch) | |
tree | da727149d396b2122fd2fc75ad597c0614d15167 /drivers/dma/Kconfig | |
parent | 616f0f81d857e248a72b5af45ab185196556ae2e (diff) | |
download | linux-5c094d4cac5ba78139f4d7169145b57af7f07981.tar.xz |
dmaengine: xilinx_dma: in axidma slave_sg and dma_cyclic mode align split descriptors
Whenever a single or cyclic transaction is prepared, the driver
could eventually split it over several SG descriptors in order
to deal with the HW maximum transfer length.
This could end up in DMA operations starting from a misaligned
address. This seems fatal for the HW if DRE (Data Realignment Engine)
is not enabled.
This patch eventually adjusts the transfer size in order to make sure
all operations start from an aligned address.
Cc: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/Kconfig')
0 files changed, 0 insertions, 0 deletions