Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: xilinx_dma: Fix 64-bit simple AXIDMA transfer

In AXI DMA simple mode also pass MSB bits of source and destination
address to xilinx_write function. It fixes simple AXI DMA operation
mode using 64-bit addressing.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1569495060-18117-2-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Radhey Shyam Pandey and committed by
Vinod Koul
68fe2b52 bd73dfab

+2 -1
+2 -1
drivers/dma/xilinx/xilinx_dma.c
··· 1354 1354 node); 1355 1355 hw = &segment->hw; 1356 1356 1357 - xilinx_write(chan, XILINX_DMA_REG_SRCDSTADDR, hw->buf_addr); 1357 + xilinx_write(chan, XILINX_DMA_REG_SRCDSTADDR, 1358 + xilinx_prep_dma_addr_t(hw->buf_addr)); 1358 1359 1359 1360 /* Start the transfer */ 1360 1361 dma_ctrl_write(chan, XILINX_DMA_REG_BTT,