]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: Remove .cpu_id() callback from source ops
authorLeo Yan <leo.yan@arm.com>
Fri, 15 May 2026 20:08:12 +0000 (21:08 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 18 May 2026 09:18:45 +0000 (10:18 +0100)
commit9d5eb760e304d5c1e5deb80a185c6a04deaab7fe
tree68e1a618af060f8d5f3500ac877236ce53270884
parentda2bfe3377b598b297400e7c6c3bf5d493b408c8
coresight: Remove .cpu_id() callback from source ops

The CPU ID can be fetched directly from the coresight_device structure,
so the .cpu_id() callback is no longer needed.

Remove the .cpu_id() callback from source ops and update callers
accordingly.

Tested-by: Jie Gan <jie.gan@oss.qualcomm.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: James Clark <james.clark@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/20260515-arm_coresight_path_power_management_improvement-v14-5-f88c4a3ecfe9@arm.com
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-etm-perf.c
drivers/hwtracing/coresight/coresight-etm3x-core.c
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-sysfs.c
include/linux/coresight.h