aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2011-12-09 13:38:00 -0800
committerTony Lindgren <[email protected]>2011-12-09 13:38:00 -0800
commit7ba966804f58ccd81375827a71222efaa131aa70 (patch)
tree8d8b39fe1c77a937174b9d604f8cc554d18d4366 /tools/perf/scripts/python/futex-contention.py
parent5611cc4572e889b62a7b4c72a413536bf6a9c416 (diff)
ARM: OMAP2+: DMA: Workaround for invalid source position
If the DMA source position has been asked before the first actual data transfer has been done, the CSAC register does not contain valid information. We can identify this situation by checking the CDAC register: CDAC != 0 indicates that the DMA transfer on the channel has been started already. When CDAC == 0 we can not trust the CSAC value since it has not been updated, and can contain random number. Return the start address in case the DMA has not jet started. Note: The CDAC register has been initialized to 0 at dma_start time. Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Jarkko Nikula <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions