aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNandor Han <[email protected]>2016-08-08 15:38:25 +0300
committerGreg Kroah-Hartman <[email protected]>2016-08-31 16:27:28 +0200
commit15f30f513111528c5b0c6185b2bfb7b1a58a6499 (patch)
tree588a08f0c2aeef6e4f615ce9db016b2bae4b85aa /tools/perf/scripts/python
parentfecdef932b0093b4a7e1ae88b1dbd63eb74ecc34 (diff)
dmaengine: imx-sdma - reduce transfer latency for DMA cyclic clients
Having the SDMA driver use a tasklet for running the clients callback introduce some issues: - probability to have desynchronized data because of the race condition created since the DMA transaction status is retrieved only when the callback is executed, leaving plenty of time for transaction status to get altered. - inter-transfer latency which can leave channels idle. Move the callback execution, for cyclic channels, to SDMA interrupt (as advised in `Documentation/dmaengine/provider.txt`) to (a)reduce the inter-transfer latency and (b) eliminate the race condition possibility where DMA transaction status might be changed by the time is read. The responsibility of the SDMA interrupt latency is moved to the SDMA clients which case by case should defer the work to bottom-halves when needed. Tested-by: Peter Senna Tschudin <[email protected]> Acked-by: Peter Senna Tschudin <[email protected]> Reviewed-by: Vinod Koul <[email protected]> Signed-off-by: Nandor Han <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions