[PATCH 0/4] Cleanup dma device in spl and move dma channel[0]

Prasanth Babu Mantena p-mantena at ti.com
Fri Oct 4 15:20:53 CEST 2024


The channel allocation and deallocation for dma copy was happening on every
dma transfer. This is a overhead for transactions like NAND, which does
page reads recursively for complete data.

So, moving the dma allocation to probe and implement corresponding
remove function and cleanup dma device while exiting from spl.

Enable SPL_DM_DEVICE_REMOVE, for device removal capability in SPL.

Prasanth Babu Mantena (2):
  mach-k3: common.c: Add dma device remove in spl exit
  configs: k3: Enable device removal in SPL

Santhosh Kumar K (2):
  dma: ti: k3-udma: Move udma_probe() below all APIs
  dma: ti: k3-udma: Move DMA channel[0] allocation to probe and add
    udma_remove()

 arch/arm/mach-k3/common.c        |  23 ++-
 configs/am62ax_evm_a53_defconfig |   1 +
 configs/am62ax_evm_r5_defconfig  |   1 +
 configs/am62x_evm_a53_defconfig  |   1 +
 configs/am62x_evm_r5_defconfig   |   1 +
 configs/j7200_evm_a72_defconfig  |   1 +
 configs/j7200_evm_r5_defconfig   |   1 +
 configs/j721e_evm_a72_defconfig  |   1 +
 configs/j721e_evm_r5_defconfig   |   1 +
 configs/j721s2_evm_a72_defconfig |   1 +
 configs/j721s2_evm_r5_defconfig  |   1 +
 configs/j784s4_evm_a72_defconfig |   1 +
 configs/j784s4_evm_r5_defconfig  |   1 +
 drivers/dma/ti/k3-udma.c         | 334 ++++++++++++++++---------------
 14 files changed, 208 insertions(+), 161 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list