diff options
| author | Leo Yan <leo.yan@arm.com> | 2026-05-15 21:08:16 +0100 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-05-18 10:18:45 +0100 |
| commit | 3a4a1c4dd977b5141ad28958d940d2b1aaecf70e (patch) | |
| tree | 609ea74f8242b7d1ad7ddd7a719f286c9c69ac1e /scripts/objdiff | |
| parent | 6317302ae25268f53fc292226592a7776b39dffd (diff) | |
coresight: Move per-CPU source pointer to core layer
Move the per-CPU source pointer from ETM perf to the core layer, as this
will be used for not only perf session and also for CPU PM notifiers.
Provides coresight_{set|clear|get}_percpu_source() helpers to access the
per-CPU source pointer. Add a raw spinlock to protect exclusive access.
Device registration and unregistration call the set and clear helpers
for init and teardown the pointers.
Update callers to invoke coresight_get_percpu_source() for retrieving
the pointer.
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: James Clark <james.clark@linaro.org>
Tested-by: Jie Gan <jie.gan@oss.qualcomm.com>
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/20260515-arm_coresight_path_power_management_improvement-v14-9-f88c4a3ecfe9@arm.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
