diff options
| author | Leo Yan <leo.yan@arm.com> | 2025-11-11 21:58:37 +0300 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-11-12 00:47:58 +0300 |
| commit | ab3fde32afe6a77e5cc60f868e44e6e09424752b (patch) | |
| tree | 3de229bd7f443fd1e56f47879c5c17934ad3a59a /scripts | |
| parent | 28eee2158575aea8fee7807adb9248ceaf9196f1 (diff) | |
| download | linux-ab3fde32afe6a77e5cc60f868e44e6e09424752b.tar.xz | |
coresight: etm3x: Always set tracer's device mode on target CPU
The ETMv3 driver shares the same issue as ETMv4 regarding race
conditions when accessing the device mode.
This commit applies the same fix: ensuring that the device mode is
modified only by the target CPU to eliminate race conditions across
CPUs.
Fixes: 22fd532eaa0c ("coresight: etm3x: adding operation mode for etm_enable()")
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20251111-arm_coresight_power_management_fix-v6-3-f55553b6c8b3@arm.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
