]> git.ipfire.org Git - thirdparty/linux.git/commit
coresight: change the sink_ops to accept coresight_path
authorJie Gan <jie.gan@oss.qualcomm.com>
Thu, 25 Sep 2025 10:42:33 +0000 (18:42 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 10 Nov 2025 10:07:42 +0000 (10:07 +0000)
commitb139702a889692ec30702534ebb1ae2b11ed1cbf
tree8f9a227a1ff5234d88ca621604c1111c8d0da634
parent94baedb51dea4b0c97e3c9acd90953bec98d03e7
coresight: change the sink_ops to accept coresight_path

Update the sink_enable functions to accept coresight_path instead of
a generic void *data, as coresight_path encapsulates all the necessary
data required by devices along the path.

Tested-by: Carl Worth <carl@os.amperecomputing.com>
Reviewed-by: Carl Worth <carl@os.amperecomputing.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250925-fix_helper_data-v2-3-edd8a07c1646@oss.qualcomm.com
12 files changed:
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-dummy.c
drivers/hwtracing/coresight/coresight-etb10.c
drivers/hwtracing/coresight/coresight-etm-perf.c
drivers/hwtracing/coresight/coresight-priv.h
drivers/hwtracing/coresight/coresight-sysfs.c
drivers/hwtracing/coresight/coresight-tmc-etf.c
drivers/hwtracing/coresight/coresight-tmc-etr.c
drivers/hwtracing/coresight/coresight-tpiu.c
drivers/hwtracing/coresight/coresight-trbe.c
drivers/hwtracing/coresight/ultrasoc-smb.c
include/linux/coresight.h