linux/drivers/dma/ti
Vaishnav Achath 7c94dcfa8f dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
UDMA_CHAN_RT_*BCNT_REG stores the real-time channel bytecount statistics.
These registers are 32-bit hardware counters and the driver uses these
counters to monitor the operational progress status for a channel, when
transferring more than 4GB of data it was observed that these counters
overflow and completion calculation of a operation gets affected and the
transfer hangs indefinitely.

This commit adds changes to decrease the byte count for every complete
transaction so that these registers never overflow and the proper byte
count statistics is maintained for ongoing transaction by the RT counters.

Earlier uc->bcnt used to maintain a count of the completed bytes at driver
side, since the RT counters maintain the statistics of current transaction
now, the maintenance of uc->bcnt is not necessary.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20220802054835.19482-1-vaishnav.a@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-09-05 11:45:13 +05:30
..
cppi41.c dmaengine: ti: deprecate '#dma-channels' 2022-05-19 22:58:02 +05:30
dma-crossbar.c dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate 2022-06-09 11:30:31 +05:30
edma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
k3-psil-am62.c dmaengine: ti: k3-psil-am62: Update PSIL thread for saul. 2022-04-22 11:30:43 +05:30
k3-psil-am64.c dmaengine: ti: k3-psil: Add initial map for AM64 2020-12-11 21:20:09 +05:30
k3-psil-am654.c
k3-psil-j721e.c dmaengine: ti: k3-psil-j721e: Add entry for CSI2RX 2021-08-29 19:14:19 +05:30
k3-psil-j721s2.c dmaengine: ti: k3-psil-j721s2: Add psil threads for sa2ul 2022-07-01 17:17:30 +05:30
k3-psil-j7200.c dmaengine: ti: k3-psil: add map for j7200 2020-08-17 10:50:31 +05:30
k3-psil-priv.h dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data 2022-03-11 12:32:53 +05:30
k3-psil.c dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data 2022-03-11 12:32:53 +05:30
k3-udma-glue.c dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA 2020-12-11 21:20:10 +05:30
k3-udma-private.c soc: ti: ti_sci_inta_msi: Get rid of ti_sci_inta_msi_get_virq() 2021-12-16 22:16:41 +01:00
k3-udma.c dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow 2022-09-05 11:45:13 +05:30
k3-udma.h dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA 2020-12-11 21:20:10 +05:30
Kconfig dmaengine: ti: k3-udma: Drop COMPILE_TEST for the drivers for now 2020-04-15 21:25:25 +05:30
Makefile dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data 2022-03-11 12:32:53 +05:30
omap-dma.c dma: omap: hide legacy interface 2022-04-22 11:08:43 +02:00