diff options
author | Robert Walker <robert.walker@arm.com> | 2017-12-18 19:05:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 10:05:18 +0100 |
commit | 11595db8e17faaa05fadc25746c870e31276962f (patch) | |
tree | dd33837b440d081b3d3ba209754508c5192ee903 /net/netlabel | |
parent | coresight: Use PTR_ERR_OR_ZERO() (diff) | |
download | linux-11595db8e17faaa05fadc25746c870e31276962f.tar.xz linux-11595db8e17faaa05fadc25746c870e31276962f.zip |
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 'net/netlabel')
0 files changed, 0 insertions, 0 deletions