]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: tpda: add sysfs node to flush specific port
authorTao Zhang <tao.zhang@oss.qualcomm.com>
Tue, 23 Dec 2025 10:09:53 +0000 (18:09 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 5 Jan 2026 16:54:02 +0000 (16:54 +0000)
commita089d585a7f4fa85b5e1d78c5308e27a0d875b17
tree0f03e30757c84fb5f252ca745a31822286a80649
parent33f04ead7c498f29bca875783f13542e5ccd17ac
coresight: tpda: add sysfs node to flush specific port

Setting bit i in the TPDA_FLUSH_CR register initiates a flush request
for port i, forcing the data to synchronize and be transmitted to the
sink device.

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-4-4c95db608b62@oss.qualcomm.com
Documentation/ABI/testing/sysfs-bus-coresight-devices-tpda
drivers/hwtracing/coresight/coresight-tpda.c
drivers/hwtracing/coresight/coresight-tpda.h