[PATCH v10 0/2] coresight: Add label sysfs node support

Mao Jinlong posted 2 patches 1 month, 4 weeks ago
There is a newer version of this series
.../testing/sysfs-bus-coresight-devices-cti   |  6 ++
.../sysfs-bus-coresight-devices-dummy-source  |  6 ++
.../testing/sysfs-bus-coresight-devices-etb10 |  6 ++
.../testing/sysfs-bus-coresight-devices-etm3x |  6 ++
.../testing/sysfs-bus-coresight-devices-etm4x |  6 ++
.../sysfs-bus-coresight-devices-funnel        |  6 ++
.../testing/sysfs-bus-coresight-devices-stm   |  6 ++
.../testing/sysfs-bus-coresight-devices-tmc   |  6 ++
.../testing/sysfs-bus-coresight-devices-tpdm  |  6 ++
.../testing/sysfs-bus-coresight-devices-trbe  |  6 ++
.../bindings/arm/arm,coresight-cti.yaml       |  4 ++
.../arm/arm,coresight-dummy-sink.yaml         |  4 ++
.../arm/arm,coresight-dummy-source.yaml       |  4 ++
.../arm/arm,coresight-dynamic-funnel.yaml     |  4 ++
.../arm/arm,coresight-dynamic-replicator.yaml |  4 ++
.../bindings/arm/arm,coresight-etb10.yaml     |  4 ++
.../bindings/arm/arm,coresight-etm.yaml       |  4 ++
.../arm/arm,coresight-static-funnel.yaml      |  4 ++
.../arm/arm,coresight-static-replicator.yaml  |  4 ++
.../bindings/arm/arm,coresight-tmc.yaml       |  4 ++
.../bindings/arm/arm,coresight-tpiu.yaml      |  4 ++
.../bindings/arm/qcom,coresight-ctcu.yaml     |  4 ++
.../arm/qcom,coresight-remote-etm.yaml        |  4 ++
.../bindings/arm/qcom,coresight-tpda.yaml     |  4 ++
.../bindings/arm/qcom,coresight-tpdm.yaml     |  4 ++
drivers/hwtracing/coresight/coresight-sysfs.c | 71 ++++++++++++++++++-
26 files changed, 189 insertions(+), 2 deletions(-)
[PATCH v10 0/2] coresight: Add label sysfs node support
Posted by Mao Jinlong 1 month, 4 weeks ago
Change since V9:
1. Replace scnprintf with sysfs_emit.
2. Update date in ABI files.
V9 link: https://lkml.org/lkml/2025/7/17/832

Change since V8:
1. Add label in all documentations of coresight components.
2. Add control of the visibility of the label sysfs attribute.
V8 link: https://lkml.org/lkml/2025/7/3/985

Change since V7:
1. Update the conflict when apply to coresight next.
2. Update the Date and version in ABI file.
V7 link: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20250226121926.2687497-3-quic_jinlmao@quicinc.com/

Change since V6:
1. Update the date and version in ABI file.

Change since V5:
1. Update the kernel version of ABI files.
2. Add link of different patch versions.
V5 link: https://patchwork.kernel.org/project/linux-arm-msm/cover/20241210122253.31926-1-quic_jinlmao@quicinc.com/

Change since V4:
1. Add label in DT and add label sysfs node for each coresight device.
V4 link: https://patchwork.kernel.org/project/linux-arm-msm/cover/20240703122340.26864-1-quic_jinlmao@quicinc.com/

Change since V3:
1. Change device-name to arm,cs-dev-name.
2. Add arm,cs-dev-name to only CTI and sources' dt-binding.
V3 link: https://patchwork.kernel.org/project/linux-arm-msm/cover/20240131082628.6288-1-quic_jinlmao@quicinc.com/

Change since V2:
1. Fix the error in coresight core.
drivers/hwtracing/coresight/coresight-core.c:1775:7: error: assigning to 'char *' from 'const char *' discards qualifiers

2. Fix the warning when run dtbinding check.
Documentation/devicetree/bindings/arm/arm,coresight-cpu-debug.yaml: device-name: missing type definition
V2 link: https://patchwork.kernel.org/project/linux-arm-msm/cover/20240115164252.26510-1-quic_jinlmao@quicinc.com/

Change since V1:
1. Change coresight-name to device name.
2. Add the device-name in coresight dt bindings.
V1 link: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20230208110716.18321-1-quic_jinlmao@quicinc.com/#25231737

Mao Jinlong (2):
  dt-bindings: arm: Add label in the coresight components
  coresight: Add label sysfs node support

 .../testing/sysfs-bus-coresight-devices-cti   |  6 ++
 .../sysfs-bus-coresight-devices-dummy-source  |  6 ++
 .../testing/sysfs-bus-coresight-devices-etb10 |  6 ++
 .../testing/sysfs-bus-coresight-devices-etm3x |  6 ++
 .../testing/sysfs-bus-coresight-devices-etm4x |  6 ++
 .../sysfs-bus-coresight-devices-funnel        |  6 ++
 .../testing/sysfs-bus-coresight-devices-stm   |  6 ++
 .../testing/sysfs-bus-coresight-devices-tmc   |  6 ++
 .../testing/sysfs-bus-coresight-devices-tpdm  |  6 ++
 .../testing/sysfs-bus-coresight-devices-trbe  |  6 ++
 .../bindings/arm/arm,coresight-cti.yaml       |  4 ++
 .../arm/arm,coresight-dummy-sink.yaml         |  4 ++
 .../arm/arm,coresight-dummy-source.yaml       |  4 ++
 .../arm/arm,coresight-dynamic-funnel.yaml     |  4 ++
 .../arm/arm,coresight-dynamic-replicator.yaml |  4 ++
 .../bindings/arm/arm,coresight-etb10.yaml     |  4 ++
 .../bindings/arm/arm,coresight-etm.yaml       |  4 ++
 .../arm/arm,coresight-static-funnel.yaml      |  4 ++
 .../arm/arm,coresight-static-replicator.yaml  |  4 ++
 .../bindings/arm/arm,coresight-tmc.yaml       |  4 ++
 .../bindings/arm/arm,coresight-tpiu.yaml      |  4 ++
 .../bindings/arm/qcom,coresight-ctcu.yaml     |  4 ++
 .../arm/qcom,coresight-remote-etm.yaml        |  4 ++
 .../bindings/arm/qcom,coresight-tpda.yaml     |  4 ++
 .../bindings/arm/qcom,coresight-tpdm.yaml     |  4 ++
 drivers/hwtracing/coresight/coresight-sysfs.c | 71 ++++++++++++++++++-
 26 files changed, 189 insertions(+), 2 deletions(-)

-- 
2.25.1
Re: [PATCH v10 0/2] coresight: Add label sysfs node support
Posted by Suzuki K Poulose 1 month, 4 weeks ago
On 06/08/2025 11:26, Mao Jinlong wrote:
> Change since V9:
> 1. Replace scnprintf with sysfs_emit.
> 2. Update date in ABI files.

Please note, this is not going into v6.17. This would
rather be v6.18 material

I would recommend, resending the series at -rc1, with
fixed dates

Suzuki