diff options
author | Mike Leach <mike.leach@linaro.org> | 2023-01-16 12:49:19 +0000 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2023-01-19 10:16:47 +0000 |
commit | 9edf291091f68f4767cb9d65fa825b64021277bd (patch) | |
tree | 6a47b40e27633c3f822dd0b24d54e9b77c7b95c0 /drivers/cpuidle/Makefile | |
parent | df4871204e5de97e47959f826e9cd2e76b41f969 (diff) | |
download | linux-stable-9edf291091f68f4767cb9d65fa825b64021277bd.tar.gz linux-stable-9edf291091f68f4767cb9d65fa825b64021277bd.tar.bz2 linux-stable-9edf291091f68f4767cb9d65fa825b64021277bd.zip |
coresight: etm3x: Update ETM3 driver to use Trace ID API
Use the TraceID API to allocate ETM trace IDs dynamically.
As with the etm4x we allocate on enable / disable for perf,
allocate on enable / reset for sysfs.
Additionally we allocate on sysfs file read as both perf and sysfs
can read the ID before enabling the hardware.
Remove sysfs option to write trace ID - which is inconsistent with
both the dynamic allocation method and the fixed allocation method
previously used.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230116124928.5440-7-mike.leach@linaro.org
Diffstat (limited to 'drivers/cpuidle/Makefile')
0 files changed, 0 insertions, 0 deletions