public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] add sysfs nodes to configure TPDA's registers
@ 2025-08-27 10:55 Jie Gan
  2025-08-27 10:55 ` [PATCH v3 1/3] coresight: tpda: add sysfs nodes for tpda cross-trigger configuration Jie Gan
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jie Gan @ 2025-08-27 10:55 UTC (permalink / raw)
  To: Suzuki K Poulose, Mike Leach, James Clark, Alexander Shishkin,
	Tingwei Zhang
  Cc: coresight, linux-arm-kernel, linux-kernel, linux-arm-msm

Patchset 1 introduces configuration of the cross-trigger registers with
appropriate values to enable proper generation of cross-trigger packets.

Patchset 2 introduces a logic to configure the TPDA_SYNCR register,
which determines the frequency of ASYNC packet generation. These packets
assist userspace tools in accurately identifying each valid packet.

Patchset 3 introduces a sysfs node to initiate a flush request for the
specific port, forcing the data to synchronize and be transmitted to the
sink device.

Changes in V3:
1. Optimizing codes according to James's comment.
Link to V2 - https://lore.kernel.org/all/20250827042042.6786-1-jie.gan@oss.qualcomm.com/

Changes in V2:
1. Refactoring the code based on James's comment for optimization.
Link to V1 - https://lore.kernel.org/all/20250826070150.5603-1-jie.gan@oss.qualcomm.com/

Tao Zhang (3):
  coresight: tpda: add sysfs nodes for tpda cross-trigger configuration
  coresight: tpda: add logic to configure TPDA_SYNCR register
  coresight: tpda: add sysfs node to flush specific port

 .../testing/sysfs-bus-coresight-devices-tpda  |  50 ++++
 drivers/hwtracing/coresight/coresight-tpda.c  | 278 ++++++++++++++++++
 drivers/hwtracing/coresight/coresight-tpda.h  |  33 ++-
 3 files changed, 360 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-coresight-devices-tpda

-- 
2.34.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-10-28  1:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 10:55 [PATCH v3 0/3] add sysfs nodes to configure TPDA's registers Jie Gan
2025-08-27 10:55 ` [PATCH v3 1/3] coresight: tpda: add sysfs nodes for tpda cross-trigger configuration Jie Gan
2025-08-27 10:55 ` [PATCH v3 2/3] coresight: tpda: add logic to configure TPDA_SYNCR register Jie Gan
2025-08-27 10:55 ` [PATCH v3 3/3] coresight: tpda: add sysfs node to flush specific port Jie Gan
2025-08-27 11:59 ` [PATCH v3 0/3] add sysfs nodes to configure TPDA's registers James Clark
2025-09-15  2:12   ` Jie Gan
2025-10-13  8:25     ` Jie Gan
2025-10-27  1:14 ` Jie Gan
2025-10-27  9:29   ` Suzuki K Poulose
2025-10-28  1:37     ` Jie Gan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox