]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: change helper_ops to accept coresight_path
authorJie Gan <jie.gan@oss.qualcomm.com>
Thu, 25 Sep 2025 10:42:32 +0000 (18:42 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 10 Nov 2025 10:07:41 +0000 (10:07 +0000)
commit94baedb51dea4b0c97e3c9acd90953bec98d03e7
tree7073f8797dee3e601e160be6c0c3202165c95f5c
parentaaa5abcc9d44d2c8484f779ab46d242d774cabcb
coresight: change helper_ops to accept coresight_path

Update the helper_enable and helper_disable 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-2-edd8a07c1646@oss.qualcomm.com
drivers/hwtracing/coresight/coresight-catu.c
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-ctcu-core.c
drivers/hwtracing/coresight/coresight-cti-core.c
drivers/hwtracing/coresight/coresight-cti.h
drivers/hwtracing/coresight/coresight-tmc-etr.c
drivers/hwtracing/coresight/coresight-tmc.h
include/linux/coresight.h