diff options
| author | Leo Yan <leo.yan@arm.com> | 2025-11-11 21:58:35 +0300 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-11-12 00:47:57 +0300 |
| commit | 693d1eaca940f277af24c74873ef2313816ff444 (patch) | |
| tree | b22b875c3f7ec205b1ccc9543feb32e79a67836d /scripts/objdiff | |
| parent | b139702a889692ec30702534ebb1ae2b11ed1cbf (diff) | |
| download | linux-693d1eaca940f277af24c74873ef2313816ff444.tar.xz | |
coresight: Change device mode to atomic type
The device mode is defined as local type. This type cannot promise
SMP-safe access.
Change to atomic type and impose relax ordering, which ensures the
SMP-safe synchronisation and the ordering between the mode setting and
relevant operations.
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-1-f55553b6c8b3@arm.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
