diff options
author | Robert Walker <robert.walker@arm.com> | 2017-12-18 21:05:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 12:05:18 +0300 |
commit | 11595db8e17faaa05fadc25746c870e31276962f (patch) | |
tree | dd33837b440d081b3d3ba209754508c5192ee903 /drivers/hwtracing/coresight/coresight-etb10.c | |
parent | 3703221944d00ac7af85c293f8939a273f587544 (diff) | |
download | linux-11595db8e17faaa05fadc25746c870e31276962f.tar.xz |
coresight: Fix disabling of CoreSight TPIU
The CoreSight TPIU should be disabled when tracing to other sinks to allow
them to operate at full bandwidth.
This patch fixes tpiu_disable_hw() to correctly disable the TPIU by
configuring the TPIU to stop on flush, initiating a manual flush, waiting
for the flush to complete and then waits for the TPIU to indicate it has
stopped.
Signed-off-by: Robert Walker <robert.walker@arm.com>
Tested-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etb10.c')
0 files changed, 0 insertions, 0 deletions