mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
1be5336bc7
With the old binding and driver architecture we had many issues: No way to assign eDMA channels to event queues, thus not able to tune the system by moving specific DMA channels to low/high priority servicing. We moved the cyclic channels to high priority within the code, but that was just a workaround to this issue. Memcopy was fundamentally broken: even if the driver scanned the DT/devices in the booted system for direct DMA users (which is not effective when the events are going through a crossbar) and created a map of 'used' channels, this information was not really usable. Since via dmaengien API the eDMA driver will be called with _some_ channel number, we would try to request this channel when any channel is requested for memcpy. By luck we got channel which is not used by any device most of the time so things worked, but if a device would have been using the given channel, but not requested it, the memcpy channel would have been waiting for HW event. The old code had the am33xx/am43xx DMA event router handling embedded. This should have been done in a separate driver since it is not part of the actual eDMA IP. There were no way to 'lock' PaRAM slots to be used by the DSP for example when booting with DT. In DT boot the edma node used more than one hwmod which is not a good practice and the kernel prints warning because of this. With the new bindings and the changes in the driver we can: - No regression with Legacy binding and non DT boot - DMA channels can be assigned to any TC (to set priority) - PaRAM slots can be reserved for other cores to use - Dynamic power management for CC and TCs, if only TC0 is used all other TC can be powered down for example Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> |
||
---|---|---|
.. | ||
xilinx | ||
adi,axi-dmac.txt | ||
apm-xgene-dma.txt | ||
arm-pl08x.txt | ||
arm-pl330.txt | ||
atmel-dma.txt | ||
atmel-xdma.txt | ||
brcm,bcm2835-dma.txt | ||
dma.txt | ||
fsl-edma.txt | ||
fsl-imx-dma.txt | ||
fsl-imx-sdma.txt | ||
fsl-mxs-dma.txt | ||
img-mdc-dma.txt | ||
jz4780-dma.txt | ||
k3dma.txt | ||
lpc1850-dmamux.txt | ||
mmp-dma.txt | ||
moxa,moxart-dma.txt | ||
mpc512x-dma.txt | ||
mv-xor.txt | ||
nbpfaxi.txt | ||
qcom_adm.txt | ||
qcom_bam_dma.txt | ||
renesas,rcar-dmac.txt | ||
renesas,usb-dmac.txt | ||
shdma.txt | ||
sirfsoc-dma.txt | ||
snps-dma.txt | ||
ste-coh901318.txt | ||
ste-dma40.txt | ||
sun4i-dma.txt | ||
sun6i-dma.txt | ||
tegra20-apbdma.txt | ||
ti-dma-crossbar.txt | ||
ti-edma.txt | ||
zxdma.txt |