summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2020-02-14 12:14:37 +0300
committerVinod Koul <vkoul@kernel.org>2020-02-19 10:39:10 +0300
commit16cd3c670183d788f5a0dfe41415d3386ba92ed9 (patch)
tree1f4719862561790e6bbbea727e1728c70f983b8b /tools/perf/scripts/python/export-to-sqlite.py
parent1c83767c9d417c4cc45d95f09b3a6e6c6b5417b5 (diff)
downloadlinux-16cd3c670183d788f5a0dfe41415d3386ba92ed9.tar.xz
dmaengine: ti: k3-udma: Workaround for RX teardown with stale data in peer
When a channel is asked to be stopped (teardown) and we do not have active descriptor to receive stale data buffered on the remote side then the teardown will not complete as UDMA needs a descriptor to be able to flush out the DMA pipe. The peer is trying to push the data to UDMA in teardown, but UDMA is pushing back because it has no descriptor which would allow it to drain the data. The workaround is to create 1K 'trashcan' to receive the discarded data and set up descriptors for packet and TR mode channels. When a channel is stopped and there is no active descriptor then a descriptor is pushed to the ring for UDMA before the teardown is initiated. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20200214091441.27535-3-peter.ujfalusi@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions