linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add Qualcomm extended CTI support
@ 2025-07-22  8:14 Mao Jinlong
  2025-07-22  8:14 ` [PATCH v3 1/2] dt-bindings: arm: Add Qualcomm extended CTI Mao Jinlong
  2025-07-22  8:14 ` [PATCH v3 2/2] coresight: cti: Add Qualcomm extended CTI support Mao Jinlong
  0 siblings, 2 replies; 15+ messages in thread
From: Mao Jinlong @ 2025-07-22  8:14 UTC (permalink / raw)
  To: Suzuki K Poulose, Mike Leach, James Clark, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alexander Shishkin
  Cc: Mao Jinlong, coresight, linux-arm-kernel, devicetree,
	linux-kernel, linux-arm-msm

The QCOM extended CTI is a heavily parameterized version of ARM’s CSCTI.
It allows a debugger to send to trigger events to a processor or to send
a trigger event to one or more processors when a trigger event occurs on
another processor on the same SoC, or even between SoCs.

QCOM extended CTI supports up to 128 triggers. And some of the register
offsets are changed.

The commands to configure CTI triggers are the same as ARM's CTI.

Changes in v3:
1. Rename is_extended_cti() to of_is_extended_cti().
2. Add the missing 'i' when write the CTI trigger registers.
3. Convert the multi-line output in sysfs to single line.
4. Initialize offset arrays using designated initializer.
Link to V2 - https://lore.kernel.org/all/20250429071841.1158315-3-quic_jinlmao@quicinc.com/

Changes in V2:
1. Add enum for compatible items.
2. Move offset arrays to coresight-cti-core

Yingchao Deng (2):
  dt-bindings: arm: Add Qualcomm extended CTI
  coresight: cti: Add Qualcomm extended CTI support

 .../bindings/arm/arm,coresight-cti.yaml       |   4 +-
 .../hwtracing/coresight/coresight-cti-core.c  | 127 +++++++++++++----
 .../coresight/coresight-cti-platform.c        |  16 ++-
 .../hwtracing/coresight/coresight-cti-sysfs.c | 128 ++++++++++++++----
 drivers/hwtracing/coresight/coresight-cti.h   |  75 +++++-----
 5 files changed, 248 insertions(+), 102 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2025-08-06  7:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-22  8:14 [PATCH v3 0/2] Add Qualcomm extended CTI support Mao Jinlong
2025-07-22  8:14 ` [PATCH v3 1/2] dt-bindings: arm: Add Qualcomm extended CTI Mao Jinlong
2025-07-22  8:49   ` Suzuki K Poulose
2025-07-22  9:14     ` Leo Yan
2025-07-22 12:00       ` Mike Leach
2025-07-22 14:06         ` Leo Yan
2025-07-22 14:56           ` Mike Leach
2025-07-23  2:57             ` Jinlong Mao
2025-07-28  9:52               ` Mike Leach
2025-07-31  6:40                 ` Jinlong Mao
2025-08-01  9:27                   ` Mike Leach
2025-07-22  8:14 ` [PATCH v3 2/2] coresight: cti: Add Qualcomm extended CTI support Mao Jinlong
2025-08-04 20:49   ` Mike Leach
2025-08-05 12:20     ` Mike Leach
2025-08-06  7:11     ` Jinlong Mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).