]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: tpda: add logic to configure TPDA_SYNCR register
authorTao Zhang <tao.zhang@oss.qualcomm.com>
Tue, 23 Dec 2025 10:09:52 +0000 (18:09 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 5 Jan 2026 16:53:23 +0000 (16:53 +0000)
commit33f04ead7c498f29bca875783f13542e5ccd17ac
tree0cb064699a18d84b6e54956bd71876b9f1c2398c
parent8e1c358a3b0e69eb527bb6723366b92e982235c3
coresight: tpda: add logic to configure TPDA_SYNCR register

The TPDA_SYNC counter tracks the number of bytes transferred from the
aggregator. When this count reaches the value programmed in the
TPDA_SYNCR register, an ASYNC request is triggered, allowing userspace
tools to accurately parse each valid packet.

Signed-off-by: Tao Zhang <tao.zhang@oss.qualcomm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Co-developed-by: Jie Gan <jie.gan@oss.qualcomm.com>
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
[ Fix kernel version in Documentation ]
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20251223-add_sysfs_nodes_to_configure_tpda-v8-3-4c95db608b62@oss.qualcomm.com
Documentation/ABI/testing/sysfs-bus-coresight-devices-tpda
drivers/hwtracing/coresight/coresight-tpda.c
drivers/hwtracing/coresight/coresight-tpda.h