linux_dsm_epyc7002/drivers/dma
Grygorii Strashko 52c74d3d35 dmaengine: ti: k3-udma-glue: fix channel enable functions
Now the K3 UDMA glue layer enable functions perform RMW operation on UDMA
RX/TX RT_CTL registers to set EN bit and enable channel, which is
incorrect, because only EN bit has to be set in those registers to enable
channel (all other bits should be cleared 0).
More over, this causes issues when bootloader leaves UDMA channel RX/TX
RT_CTL registers in incorrect state - TDOWN bit set, for example. As
result, UDMA channel will just perform teardown right after it's enabled.

Hence, fix it by writing correct values (EN=1) directly in UDMA channel
RX/TX RT_CTL registers in k3_udma_glue_enable_tx/rx_chn() functions.

Fixes: d702419134 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200916120955.7963-1-grygorii.strashko@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-09-18 13:06:26 +05:30
..
bestcomm
dw dmaengine: dw: Add DMA-channels mask cell support 2020-08-17 11:58:31 +05:30
dw-axi-dmac
dw-edma dmaengine: dw-edma: Fix Using plain integer as NULL pointer in dw-edma-v0-debugfs.c 2020-09-18 12:42:33 +05:30
fsl-dpaa2-qdma
hsu
idxd Linux 5.9-rc4 2020-09-11 17:45:36 +05:30
ioat dmaengine: ioat: Make two symbols static 2020-09-18 12:31:37 +05:30
ipu
mediatek dmaengine: mediatek: simplify the return expression of mtk_uart_apdma_runtime_resume() 2020-09-18 12:32:37 +05:30
ppc4xx
qcom dmaengine: qcom: bam_dma: Drop local dma_parms 2020-09-11 17:42:13 +05:30
sf-pdma dmaengine: sf-pdma: remove unused 'desc' 2020-09-18 12:30:53 +05:30
sh dmaengine: Kconfig: Update description for RCAR_DMAC config 2020-09-11 17:48:28 +05:30
ti dmaengine: ti: k3-udma-glue: fix channel enable functions 2020-09-18 13:06:26 +05:30
xilinx dmaengine: xilinx: Simplify with dev_err_probe() 2020-09-03 12:38:59 +05:30
acpi-dma.c
altera-msgdma.c
amba-pl08x.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
at_hdmac_regs.h
at_hdmac.c dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate() 2020-08-19 09:58:38 +05:30
at_xdmac.c
bcm2835-dma.c dmaengine: bcm2835: Drop local dma_parms 2020-09-11 17:42:12 +05:30
bcm-sba-raid.c
coh901318_lli.c
coh901318.c
coh901318.h
dma-axi-dmac.c dmaengine: axi-dmac: Drop local dma_parms 2020-09-11 17:42:12 +05:30
dma-jz4780.c drivers/dma/dma-jz4780: Fix race condition between probe and irq handler 2020-08-25 16:45:17 +05:30
dmaengine.c dmaengine: Save few bytes and increase readability of dma_request_chan() 2020-09-03 12:22:35 +05:30
dmaengine.h
dmatest.c dmaengine: dmatest: Print error codes as signed value 2020-09-11 17:44:28 +05:30
ep93xx_dma.c
fsl_raid.c
fsl_raid.h
fsl-edma-common.c
fsl-edma-common.h
fsl-edma.c
fsl-qdma.c
fsldma.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
fsldma.h fsldma: fix very broken 32-bit ppc ioread64 functionality 2020-08-29 13:50:56 -07:00
hisi_dma.c
idma64.c
idma64.h
img-mdc-dma.c
imx-dma.c Linux 5.9-rc4 2020-09-11 17:45:36 +05:30
imx-sdma.c dmaengine: imx-sdma: Drop local dma_parms 2020-09-11 17:42:13 +05:30
iop-adma.c dmaengine: iop-adma: Fix pointer cast warnings 2020-09-18 12:55:16 +05:30
iop-adma.h treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
k3dma.c
Kconfig
lpc18xx-dmamux.c
Makefile
mcf-edma.c
mic_x100_dma.c
mic_x100_dma.h
milbeaut-hdmac.c
milbeaut-xdmac.c
mmp_pdma.c
mmp_tdma.c
moxart-dma.c
mpc512x_dma.c
mv_xor_v2.c
mv_xor.c
mv_xor.h
mxs-dma.c dmaengine: mxs: Drop local dma_parms 2020-09-11 17:42:13 +05:30
nbpfaxi.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
of-dma.c dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling 2020-08-17 11:14:28 +05:30
owl-dma.c
pch_dma.c dmaengine: pch_dma: use generic power management 2020-08-17 10:23:55 +05:30
pl330.c Linux 5.9-rc4 2020-09-11 17:45:36 +05:30
plx_dma.c
pxa_dma.c
s3c24xx-dma.c
sa11x0-dma.c
sirf-dma.c
sprd-dma.c
st_fdma.c
st_fdma.h
ste_dma40_ll.c
ste_dma40_ll.h
ste_dma40.c dmaengine: ste_dma40: Drop local dma_parms 2020-09-11 17:42:13 +05:30
stm32-dma.c dmaengine: stm32: Simplify with dev_err_probe() 2020-09-03 12:38:59 +05:30
stm32-dmamux.c dmaengine: stm32: Simplify with dev_err_probe() 2020-09-03 12:38:59 +05:30
stm32-mdma.c dmaengine: stm32: Simplify with dev_err_probe() 2020-09-03 12:38:59 +05:30
sun4i-dma.c
sun6i-dma.c
tegra20-apb-dma.c
tegra210-adma.c
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
uniphier-mdmac.c
uniphier-xdmac.c
virt-dma.c
virt-dma.h
xgene-dma.c
zx_dma.c dmaengine: zx: remove redundant irqsave in hardIRQ 2020-09-18 12:30:50 +05:30