diff options
author | Suzuki K Poulose <[email protected]> | 2021-02-01 11:13:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-02-04 17:00:32 +0100 |
commit | df81b43802f43c0954a55e5d513e8750a1ab4d31 (patch) | |
tree | 45aac5f0efd1d530fe4559d48017f33e37eab33b /tools/perf/scripts/python/stackcollapse.py | |
parent | f6a18f354c587b6a77e71df40c715152328b34ff (diff) |
coresight: etm4x: Skip accessing TRCPDCR in save/restore
When the ETM is affected by Qualcomm errata, modifying the
TRCPDCR could cause the system hang. Even though this is
taken care of during enable/disable ETM, the ETM state
save/restore could still access the TRCPDCR. Make sure
we skip the access during the save/restore.
Found by code inspection.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 02510a5aa78d ("coresight: etm4x: Add support to skip trace unit power up")
Cc: Mathieu Poirier <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Sai Prakash Ranjan <[email protected]>
Cc: Tingwei Zhang <[email protected]>
Tested-by: Sai Prakash Ranjan <[email protected]>
Reviewed-by: Sai Prakash Ranjan <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions