Skip to content

Commit a446baa

Browse files
committed
Merge tag 'coresight-next-v6.18-v2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux into char-misc-next
Suzuki writes: coresight: Updates for Linux v6.18, take 2 This is an updated drop for v6.18, fixing the invalid commit reference in the original tag. CoreSight selfhosted tracing subsystem updates targeting Linux v6.18, includes: - Clean up and consolidate clocks handling - Support for exposing labels via sysfs for better device identification - Add Qualcomm Trace Network On Chip driver support - Miscellaneous fixes Signed-off-by: Suzuki K Poulose <[email protected]> * tag 'coresight-next-v6.18-v2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/coresight/linux: (27 commits) coresight: Add label sysfs node support dt-bindings: arm: Add label in the coresight components coresight: tnoc: add new AMBA ID to support Trace Noc V2 coresight: Fix incorrect handling for return value of devm_kzalloc coresight: tpda: fix the logic to setup the element size coresight: trbe: Return NULL pointer for allocation failures coresight: Refactor runtime PM coresight: Make clock sequence consistent coresight: Refactor driver data allocation coresight: Consolidate clock enabling coresight: Avoid enable programming clock duplicately coresight: Appropriately disable trace bus clocks coresight: Appropriately disable programming clocks coresight: etm4x: Support atclk coresight: catu: Support atclk coresight: tmc: Support atclk coresight-etm4x: Conditionally access register TRCEXTINSELR coresight: fix indentation error in cscfg_remove_owned_csdev_configs() coresight: tnoc: Fix a NULL vs IS_ERR() bug in probe coresight: add coresight Trace Network On Chip driver ...
2 parents d943fa6 + 01f96b8 commit a446baa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+827
-324
lines changed

Documentation/ABI/testing/sysfs-bus-coresight-devices-cti

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,9 @@ Date: March 2020
239239
KernelVersion: 5.7
240240
Contact: Mike Leach or Mathieu Poirier
241241
Description: (Write) Clear all channel / trigger programming.
242+
243+
What: /sys/bus/coresight/devices/<cti-name>/label
244+
Date: Aug 2025
245+
KernelVersion 6.18
246+
Contact: Mao Jinlong <[email protected]>
247+
Description: (Read) Show hardware context information of device.

Documentation/ABI/testing/sysfs-bus-coresight-devices-dummy-source

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ KernelVersion: 6.14
1313
Contact: Mao Jinlong <[email protected]>
1414
Description: (R) Show the trace ID that will appear in the trace stream
1515
coming from this trace entity.
16+
17+
What: /sys/bus/coresight/devices/dummy_source<N>/label
18+
Date: Aug 2025
19+
KernelVersion 6.18
20+
Contact: Mao Jinlong <[email protected]>
21+
Description: (Read) Show hardware context information of device.

Documentation/ABI/testing/sysfs-bus-coresight-devices-etb10

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Description: (RW) Disables write access to the Trace RAM by stopping the
1919
into the Trace RAM following the trigger event is equal to the
2020
value stored in this register+1 (from ARM ETB-TRM).
2121

22+
What: /sys/bus/coresight/devices/<memory_map>.etb/label
23+
Date: Aug 2025
24+
KernelVersion 6.18
25+
Contact: Mao Jinlong <[email protected]>
26+
Description: (Read) Show hardware context information of device.
27+
2228
What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rdp
2329
Date: March 2016
2430
KernelVersion: 4.7

Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ KernelVersion: 4.4
251251
Contact: Mathieu Poirier <[email protected]>
252252
Description: (RO) Holds the cpu number this tracer is affined to.
253253

254+
What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/label
255+
Date: Aug 2025
256+
KernelVersion 6.18
257+
Contact: Mao Jinlong <[email protected]>
258+
Description: (Read) Show hardware context information of device.
259+
254260
What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmccr
255261
Date: September 2015
256262
KernelVersion: 4.4

Documentation/ABI/testing/sysfs-bus-coresight-devices-etm4x

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,12 @@ Contact: Mathieu Poirier <[email protected]>
329329
Description: (RW) Access the selected single show PE comparator control
330330
register.
331331

332+
What: /sys/bus/coresight/devices/etm<N>/label
333+
Date: Aug 2025
334+
KernelVersion 6.18
335+
Contact: Mao Jinlong <[email protected]>
336+
Description: (Read) Show hardware context information of device.
337+
332338
What: /sys/bus/coresight/devices/etm<N>/mgmt/trcoslsr
333339
Date: April 2015
334340
KernelVersion: 4.01

Documentation/ABI/testing/sysfs-bus-coresight-devices-funnel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ Date: November 2014
1010
KernelVersion: 3.19
1111
Contact: Mathieu Poirier <[email protected]>
1212
Description: (RW) Defines input port priority order.
13+
14+
What: /sys/bus/coresight/devices/<memory_map>.funnel/label
15+
Date: Aug 2025
16+
KernelVersion 6.18
17+
Contact: Mao Jinlong <[email protected]>
18+
Description: (Read) Show hardware context information of device.

Documentation/ABI/testing/sysfs-bus-coresight-devices-stm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,9 @@ KernelVersion: 4.7
5151
Contact: Mathieu Poirier <[email protected]>
5252
Description: (RW) Holds the trace ID that will appear in the trace stream
5353
coming from this trace entity.
54+
55+
What: /sys/bus/coresight/devices/<memory_map>.stm/label
56+
Date: Aug 2025
57+
KernelVersion 6.18
58+
Contact: Mao Jinlong <[email protected]>
59+
Description: (Read) Show hardware context information of device.

Documentation/ABI/testing/sysfs-bus-coresight-devices-tmc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,9 @@ Contact: Anshuman Khandual <[email protected]>
107107
Description: (RW) Current Coresight TMC-ETR buffer mode selected. But user could
108108
only provide a mode which is supported for a given ETR device. This
109109
file is available only for TMC ETR devices.
110+
111+
What: /sys/bus/coresight/devices/<memory_map>.tmc/label
112+
Date: Aug 2025
113+
KernelVersion 6.18
114+
Contact: Mao Jinlong <[email protected]>
115+
Description: (Read) Show hardware context information of device.

Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,9 @@ KernelVersion 6.15
272272
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]>
273273
Description:
274274
(RW) Set/Get the enablement of the individual lane.
275+
276+
What: /sys/bus/coresight/devices/<tpdm-name>/label
277+
Date: Aug 2025
278+
KernelVersion 6.18
279+
Contact: Mao Jinlong <[email protected]>
280+
Description: (Read) Show hardware context information of device.

Documentation/ABI/testing/sysfs-bus-coresight-devices-trbe

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ Contact: Anshuman Khandual <[email protected]>
1212
Description: (Read) Shows if TRBE updates in the memory are with access
1313
and dirty flag updates as well. This value is fetched from
1414
the TRBIDR register.
15+
16+
What: /sys/bus/coresight/devices/trbe<cpu>/label
17+
Date: Aug 2025
18+
KernelVersion 6.18
19+
Contact: Mao Jinlong <[email protected]>
20+
Description: (Read) Show hardware context information of device.

0 commit comments

Comments
 (0)