* [PATCH 00/27] Improve ABI documentation generation
@ 2025-02-10 10:17 Mauro Carvalho Chehab
2025-02-10 10:17 ` [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags Mauro Carvalho Chehab
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-10 10:17 UTC (permalink / raw)
To: Linux Doc Mailing List
Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, linux-kernel,
Jonathan Corbet, Guilherme G. Piccoli, Chao Yu, Jaegeuk Kim,
James Clark, Johannes Berg, Mike Leach, Suzuki K Poulose,
Tony Luck, bpf, coresight, linux-arm-kernel, linux-f2fs-devel,
linux-hardening, linux-wireless
Hi Jon/Greg,
This series replace get_abi.pl with a Python version.
I originally started it due to some issues I noticed when searching for
ABI symbols. While I could just go ahead and fix the already existing
script, I noticed that the script maintainance didn't have much care over
all those years, probably because it is easier to find Python programmers
those days.
Also, the code is complex and was not using modules or classes and
were using lots of global variables.
So, I decided to rewrite it in Python. I started with a manual conversion
for each function. Yet, to avoid future maintainership issues, I opted to
divide the main code on three classes, each on a sepaparate file.
Just like the original RFC, I opted to keep the Sphinx kernel-abi module
on three different phases:
- call get_abi.py as an exec file;
- import AbiParser on a minimal integration scenario;
- cleanup the code to avoid needing to parse line numbers from the text.
This way, if something goes wrong, it would be easier to just revert any
offending patches, It also provides a better rationale about what each
logical change is doing.
The initial patches on this series do some preparation work and
cleans some ABI symbol bugs that lack ":" delimiter.
I opted to place on this series the Sphinx and Python version updates.
I still have ~10 patches here with additional cleanups, from the original
series I sent as RFC but let's get the main changes merged first.
Mauro Carvalho Chehab (27):
docs: sphinx: remove kernellog.py file
docs: sphinx/kernel_abi: adjust coding style
docs: admin-guide: abi: add SPDX tags to ABI files
ABI: sysfs-class-rfkill: fix kernelversion tags
ABI: sysfs-bus-coresight-*: fix kernelversion tags
ABI: sysfs-driver-dma-idxd: fix date tags
ABI: sysfs-fs-f2fs: fix date tags
ABI: sysfs-power: fix a what tag
scripts/documentation-file-ref-check: don't check perl/python scripts
scripts/get_abi.py: add a Python tool to generate ReST output
scripts/get_abi.py: add support for symbol search
docs: use get_abi.py for ABI generation
scripts/lib/abi/abi_parser.py: optimize parse_abi() function
scripts/lib/abi/abi_parser.py: use an interactor for ReST output
docs: sphinx/kernel_abi: use AbiParser directly
docs: sphinx/kernel_abi: reduce buffer usage for ABI messages
docs: sphinx/kernel_abi: properly split lines
scripts/get_abi.pl: Add filtering capabilities to rest output
scripts/get_abi.pl: add support to parse ABI README file
docs: sphinx/kernel_abi: parse ABI files only once
docs: admin-guide/abi: split files from symbols
docs: sphinx/automarkup: add cross-references for ABI
docs: sphinx/kernel_abi: avoid warnings during Sphinx module init
scripts/lib/abi/abi_parser.py: Rename title name for ABI files
scripts/lib/abi/abi_parser.py: make it backward-compatible with Python
3.6
scripts/get_abi.py: add support for undefined ABIs
scripts/get_abi.pl: drop now obsoleted script
Documentation/ABI/removed/sysfs-class-rfkill | 2 +-
Documentation/ABI/stable/sysfs-class-rfkill | 12 +-
.../ABI/stable/sysfs-driver-dma-idxd | 4 +-
.../testing/sysfs-bus-coresight-devices-cti | 78 +-
.../testing/sysfs-bus-coresight-devices-tpdm | 52 +-
Documentation/ABI/testing/sysfs-fs-f2fs | 4 +-
Documentation/ABI/testing/sysfs-power | 2 +-
.../admin-guide/abi-obsolete-files.rst | 7 +
Documentation/admin-guide/abi-obsolete.rst | 6 +-
Documentation/admin-guide/abi-readme-file.rst | 6 +
.../admin-guide/abi-removed-files.rst | 7 +
Documentation/admin-guide/abi-removed.rst | 6 +-
.../admin-guide/abi-stable-files.rst | 7 +
Documentation/admin-guide/abi-stable.rst | 6 +-
.../admin-guide/abi-testing-files.rst | 7 +
Documentation/admin-guide/abi-testing.rst | 6 +-
Documentation/admin-guide/abi.rst | 17 +
Documentation/sphinx/automarkup.py | 47 +
Documentation/sphinx/kernel_abi.py | 162 ++-
Documentation/sphinx/kerneldoc.py | 14 +-
Documentation/sphinx/kernellog.py | 22 -
Documentation/sphinx/kfigure.py | 81 +-
scripts/documentation-file-ref-check | 2 +-
scripts/get_abi.pl | 1103 -----------------
scripts/get_abi.py | 214 ++++
scripts/lib/abi/abi_parser.py | 628 ++++++++++
scripts/lib/abi/abi_regex.py | 234 ++++
scripts/lib/abi/helpers.py | 38 +
scripts/lib/abi/system_symbols.py | 378 ++++++
29 files changed, 1830 insertions(+), 1322 deletions(-)
create mode 100644 Documentation/admin-guide/abi-obsolete-files.rst
create mode 100644 Documentation/admin-guide/abi-readme-file.rst
create mode 100644 Documentation/admin-guide/abi-removed-files.rst
create mode 100644 Documentation/admin-guide/abi-stable-files.rst
create mode 100644 Documentation/admin-guide/abi-testing-files.rst
delete mode 100644 Documentation/sphinx/kernellog.py
delete mode 100755 scripts/get_abi.pl
create mode 100755 scripts/get_abi.py
create mode 100644 scripts/lib/abi/abi_parser.py
create mode 100644 scripts/lib/abi/abi_regex.py
create mode 100644 scripts/lib/abi/helpers.py
create mode 100644 scripts/lib/abi/system_symbols.py
--
2.48.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags
2025-02-10 10:17 [PATCH 00/27] Improve ABI documentation generation Mauro Carvalho Chehab
@ 2025-02-10 10:17 ` Mauro Carvalho Chehab
2025-02-10 10:33 ` Suzuki K Poulose
2025-02-10 18:30 ` [PATCH 00/27] Improve ABI documentation generation Jonathan Corbet
2025-03-27 21:58 ` [f2fs-dev] " patchwork-bot+f2fs
2 siblings, 1 reply; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-10 10:17 UTC (permalink / raw)
To: Linux Doc Mailing List
Cc: Mauro Carvalho Chehab, Jonathan Corbet, Mauro Carvalho Chehab,
James Clark, Mike Leach, Suzuki K Poulose, coresight,
linux-arm-kernel, linux-kernel
Some kernelversion tags are missing colons. Add them to comply with
ABI description and produce right results when converted to html/pdf.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
.../testing/sysfs-bus-coresight-devices-cti | 78 +++++++++----------
.../testing/sysfs-bus-coresight-devices-tpdm | 52 ++++++-------
2 files changed, 65 insertions(+), 65 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti b/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
index bf2869c413e7..a97b70f588da 100644
--- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
+++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
@@ -1,241 +1,241 @@
What: /sys/bus/coresight/devices/<cti-name>/enable
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Enable/Disable the CTI hardware.
What: /sys/bus/coresight/devices/<cti-name>/powered
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Indicate if the CTI hardware is powered.
What: /sys/bus/coresight/devices/<cti-name>/ctmid
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Display the associated CTM ID
What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Number of devices connected to triggers on this CTI
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Name of connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Input trigger signals from connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Functional types for the input trigger signals
from connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Output trigger signals to connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Functional types for the output trigger signals
to connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/regs/inout_sel
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Select the index for inen and outen registers.
What: /sys/bus/coresight/devices/<cti-name>/regs/inen
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write the CTIINEN register selected by inout_sel.
What: /sys/bus/coresight/devices/<cti-name>/regs/outen
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write the CTIOUTEN register selected by inout_sel.
What: /sys/bus/coresight/devices/<cti-name>/regs/gate
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write CTIGATE register.
What: /sys/bus/coresight/devices/<cti-name>/regs/asicctl
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write ASICCTL register.
What: /sys/bus/coresight/devices/<cti-name>/regs/intack
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Write the INTACK register.
What: /sys/bus/coresight/devices/<cti-name>/regs/appset
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Set CTIAPPSET register to activate channel. Read back to
determine current value of register.
What: /sys/bus/coresight/devices/<cti-name>/regs/appclear
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Write APPCLEAR register to deactivate channel.
What: /sys/bus/coresight/devices/<cti-name>/regs/apppulse
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Write APPPULSE to pulse a channel active for one clock
cycle.
What: /sys/bus/coresight/devices/<cti-name>/regs/chinstatus
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Read current status of channel inputs.
What: /sys/bus/coresight/devices/<cti-name>/regs/choutstatus
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) read current status of channel outputs.
What: /sys/bus/coresight/devices/<cti-name>/regs/triginstatus
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) read current status of input trigger signals
What: /sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) read current status of output trigger signals.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Attach a CTI input trigger to a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Detach a CTI input trigger from a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Attach a CTI output trigger to a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Detach a CTI output trigger from a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Enable CTIGATE for single channel (Write) or list enabled
channels through the gate (R).
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Disable CTIGATE for single channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_set
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Activate a single channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_clear
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Deactivate a single channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Pulse a single channel - activate for a single clock cycle.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) List of output triggers filtered across all connections.
What: /sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Enable or disable trigger output signal filtering.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) show channels with at least one attached trigger signal.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_free
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) show channels with no attached trigger signals.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Write channel number to select a channel to view, read to
see selected channel number.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Read to see input triggers connected to selected view
channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Read to see output triggers connected to selected view
channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
Date: March 2020
-KernelVersion 5.7
+KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Clear all channel / trigger programming.
diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm b/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm
index bf710ea6e0ef..53cb454b60d0 100644
--- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm
+++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm
@@ -1,6 +1,6 @@
What: /sys/bus/coresight/devices/<tpdm-name>/integration_test
Date: January 2023
-KernelVersion 6.2
+KernelVersion: 6.2
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(Write) Run integration test for tpdm. Integration test
@@ -14,7 +14,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/reset_dataset
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(Write) Reset the dataset of the tpdm.
@@ -24,7 +24,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_type
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the trigger type of the DSB for tpdm.
@@ -35,7 +35,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_ts
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the trigger timestamp of the DSB for tpdm.
@@ -46,7 +46,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_mode
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the programming mode of the DSB for tpdm.
@@ -60,7 +60,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_idx
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the index number of the edge detection for the DSB
@@ -69,7 +69,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_val
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
Write a data to control the edge detection corresponding to
@@ -85,7 +85,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_mask
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
Write a data to mask the edge detection corresponding to the index
@@ -97,21 +97,21 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/edcr[0:15]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
Read a set of the edge control value of the DSB in TPDM.
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/edcmr[0:7]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
Read a set of the edge control mask of the DSB in TPDM.
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_patt/xpr[0:7]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the value of the trigger pattern for the DSB
@@ -119,7 +119,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_patt/xpmr[0:7]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the mask of the trigger pattern for the DSB
@@ -127,21 +127,21 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:7]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the value of the pattern for the DSB subunit TPDM.
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:7]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the mask of the pattern for the DSB subunit TPDM.
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/enable_ts
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(Write) Set the pattern timestamp of DSB tpdm. Read
@@ -153,7 +153,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/set_type
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(Write) Set the pattern type of DSB tpdm. Read
@@ -165,7 +165,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_msr/msr[0:31]
Date: March 2023
-KernelVersion 6.7
+KernelVersion: 6.7
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the MSR(mux select register) for the DSB subunit
@@ -173,7 +173,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_mode
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description: (Write) Set the data collection mode of CMB tpdm. Continuous
change creates CMB data set elements on every CMBCLK edge.
@@ -187,7 +187,7 @@ Description: (Write) Set the data collection mode of CMB tpdm. Continuous
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpr[0:1]
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the value of the trigger pattern for the CMB
@@ -195,7 +195,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpmr[0:1]
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the mask of the trigger pattern for the CMB
@@ -203,21 +203,21 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:1]
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the value of the pattern for the CMB subunit TPDM.
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:1]
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the mask of the pattern for the CMB subunit TPDM.
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_patt/enable_ts
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(Write) Set the pattern timestamp of CMB tpdm. Read
@@ -229,7 +229,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_ts
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the trigger timestamp of the CMB for tpdm.
@@ -240,7 +240,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_ts_all
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Read or write the status of timestamp upon all interface.
@@ -252,7 +252,7 @@ Description:
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_msr/msr[0:31]
Date: January 2024
-KernelVersion 6.9
+KernelVersion: 6.9
Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
Description:
(RW) Set/Get the MSR(mux select register) for the CMB subunit
--
2.48.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags
2025-02-10 10:17 ` [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags Mauro Carvalho Chehab
@ 2025-02-10 10:33 ` Suzuki K Poulose
0 siblings, 0 replies; 6+ messages in thread
From: Suzuki K Poulose @ 2025-02-10 10:33 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Linux Doc Mailing List
Cc: Jonathan Corbet, James Clark, Mike Leach, coresight,
linux-arm-kernel, linux-kernel
On 10/02/2025 10:17, Mauro Carvalho Chehab wrote:
> Some kernelversion tags are missing colons. Add them to comply with
> ABI description and produce right results when converted to html/pdf.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
> .../testing/sysfs-bus-coresight-devices-cti | 78 +++++++++----------
> .../testing/sysfs-bus-coresight-devices-tpdm | 52 ++++++-------
> 2 files changed, 65 insertions(+), 65 deletions(-)
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti b/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
> index bf2869c413e7..a97b70f588da 100644
> --- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
> +++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
> @@ -1,241 +1,241 @@
> What: /sys/bus/coresight/devices/<cti-name>/enable
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Enable/Disable the CTI hardware.
>
> What: /sys/bus/coresight/devices/<cti-name>/powered
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Indicate if the CTI hardware is powered.
>
> What: /sys/bus/coresight/devices/<cti-name>/ctmid
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Display the associated CTM ID
>
> What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Number of devices connected to triggers on this CTI
>
> What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Name of connected device <N>
>
> What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Input trigger signals from connected device <N>
>
> What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Functional types for the input trigger signals
> from connected device <N>
>
> What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Output trigger signals to connected device <N>
>
> What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Functional types for the output trigger signals
> to connected device <N>
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/inout_sel
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Select the index for inen and outen registers.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/inen
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Read or write the CTIINEN register selected by inout_sel.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/outen
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Read or write the CTIOUTEN register selected by inout_sel.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/gate
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Read or write CTIGATE register.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/asicctl
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Read or write ASICCTL register.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/intack
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Write the INTACK register.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/appset
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Set CTIAPPSET register to activate channel. Read back to
> determine current value of register.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/appclear
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Write APPCLEAR register to deactivate channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/apppulse
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Write APPPULSE to pulse a channel active for one clock
> cycle.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/chinstatus
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Read current status of channel inputs.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/choutstatus
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) read current status of channel outputs.
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/triginstatus
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) read current status of input trigger signals
>
> What: /sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) read current status of output trigger signals.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Attach a CTI input trigger to a CTM channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Detach a CTI input trigger from a CTM channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Attach a CTI output trigger to a CTM channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Detach a CTI output trigger from a CTM channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Enable CTIGATE for single channel (Write) or list enabled
> channels through the gate (R).
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Disable CTIGATE for single channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_set
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Activate a single channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_clear
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Deactivate a single channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Pulse a single channel - activate for a single clock cycle.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) List of output triggers filtered across all connections.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Enable or disable trigger output signal filtering.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) show channels with at least one attached trigger signal.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_free
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) show channels with no attached trigger signals.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (RW) Write channel number to select a channel to view, read to
> see selected channel number.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Read to see input triggers connected to selected view
> channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Read) Read to see output triggers connected to selected view
> channel.
>
> What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
> Date: March 2020
> -KernelVersion 5.7
> +KernelVersion: 5.7
> Contact: Mike Leach or Mathieu Poirier
> Description: (Write) Clear all channel / trigger programming.
> diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm b/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm
> index bf710ea6e0ef..53cb454b60d0 100644
> --- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm
> +++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm
> @@ -1,6 +1,6 @@
> What: /sys/bus/coresight/devices/<tpdm-name>/integration_test
> Date: January 2023
> -KernelVersion 6.2
> +KernelVersion: 6.2
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (Write) Run integration test for tpdm. Integration test
> @@ -14,7 +14,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/reset_dataset
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (Write) Reset the dataset of the tpdm.
> @@ -24,7 +24,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_type
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the trigger type of the DSB for tpdm.
> @@ -35,7 +35,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_ts
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the trigger timestamp of the DSB for tpdm.
> @@ -46,7 +46,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_mode
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the programming mode of the DSB for tpdm.
> @@ -60,7 +60,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_idx
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the index number of the edge detection for the DSB
> @@ -69,7 +69,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_val
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> Write a data to control the edge detection corresponding to
> @@ -85,7 +85,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_mask
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> Write a data to mask the edge detection corresponding to the index
> @@ -97,21 +97,21 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/edcr[0:15]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> Read a set of the edge control value of the DSB in TPDM.
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/edcmr[0:7]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> Read a set of the edge control mask of the DSB in TPDM.
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_patt/xpr[0:7]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the value of the trigger pattern for the DSB
> @@ -119,7 +119,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_patt/xpmr[0:7]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the mask of the trigger pattern for the DSB
> @@ -127,21 +127,21 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:7]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the value of the pattern for the DSB subunit TPDM.
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:7]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the mask of the pattern for the DSB subunit TPDM.
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/enable_ts
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (Write) Set the pattern timestamp of DSB tpdm. Read
> @@ -153,7 +153,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/set_type
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (Write) Set the pattern type of DSB tpdm. Read
> @@ -165,7 +165,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_msr/msr[0:31]
> Date: March 2023
> -KernelVersion 6.7
> +KernelVersion: 6.7
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the MSR(mux select register) for the DSB subunit
> @@ -173,7 +173,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_mode
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description: (Write) Set the data collection mode of CMB tpdm. Continuous
> change creates CMB data set elements on every CMBCLK edge.
> @@ -187,7 +187,7 @@ Description: (Write) Set the data collection mode of CMB tpdm. Continuous
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpr[0:1]
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the value of the trigger pattern for the CMB
> @@ -195,7 +195,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpmr[0:1]
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the mask of the trigger pattern for the CMB
> @@ -203,21 +203,21 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:1]
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the value of the pattern for the CMB subunit TPDM.
>
> What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:1]
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the mask of the pattern for the CMB subunit TPDM.
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_patt/enable_ts
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (Write) Set the pattern timestamp of CMB tpdm. Read
> @@ -229,7 +229,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_ts
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the trigger timestamp of the CMB for tpdm.
> @@ -240,7 +240,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_ts_all
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Read or write the status of timestamp upon all interface.
> @@ -252,7 +252,7 @@ Description:
>
> What: /sys/bus/coresight/devices/<tpdm-name>/cmb_msr/msr[0:31]
> Date: January 2024
> -KernelVersion 6.9
> +KernelVersion: 6.9
> Contact: Jinlong Mao (QUIC) <quic_jinlmao@quicinc.com>, Tao Zhang (QUIC) <quic_taozha@quicinc.com>
> Description:
> (RW) Set/Get the MSR(mux select register) for the CMB subunit
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 00/27] Improve ABI documentation generation
2025-02-10 10:17 [PATCH 00/27] Improve ABI documentation generation Mauro Carvalho Chehab
2025-02-10 10:17 ` [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags Mauro Carvalho Chehab
@ 2025-02-10 18:30 ` Jonathan Corbet
2025-02-10 20:27 ` Mauro Carvalho Chehab
2025-03-27 21:58 ` [f2fs-dev] " patchwork-bot+f2fs
2 siblings, 1 reply; 6+ messages in thread
From: Jonathan Corbet @ 2025-02-10 18:30 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Linux Doc Mailing List
Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, linux-kernel,
Guilherme G. Piccoli, Chao Yu, Jaegeuk Kim, James Clark,
Johannes Berg, Mike Leach, Suzuki K Poulose, Tony Luck, bpf,
coresight, linux-arm-kernel, linux-f2fs-devel, linux-hardening,
linux-wireless
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
> Hi Jon/Greg,
>
> This series replace get_abi.pl with a Python version.
>
> I originally started it due to some issues I noticed when searching for
> ABI symbols. While I could just go ahead and fix the already existing
> script, I noticed that the script maintainance didn't have much care over
> all those years, probably because it is easier to find Python programmers
> those days.
>
> Also, the code is complex and was not using modules or classes and
> were using lots of global variables.
>
> So, I decided to rewrite it in Python. I started with a manual conversion
> for each function. Yet, to avoid future maintainership issues, I opted to
> divide the main code on three classes, each on a sepaparate file.
>
> Just like the original RFC, I opted to keep the Sphinx kernel-abi module
> on three different phases:
>
> - call get_abi.py as an exec file;
> - import AbiParser on a minimal integration scenario;
> - cleanup the code to avoid needing to parse line numbers from the text.
>
> This way, if something goes wrong, it would be easier to just revert any
> offending patches, It also provides a better rationale about what each
> logical change is doing.
>
> The initial patches on this series do some preparation work and
> cleans some ABI symbol bugs that lack ":" delimiter.
>
> I opted to place on this series the Sphinx and Python version updates.
>
> I still have ~10 patches here with additional cleanups, from the original
> series I sent as RFC but let's get the main changes merged first.
OK, I have applied this set - it seems to work for me, though it does
lead to some changes in the organization of
Documentation/admin-guide/abi.html in the output.
It would be nice if, eventually, we could put the README link up at the
top rather than under "ABI file", or even just include its contents
there directly.
Anyway, let's see how this goes :)
Thanks,
jon
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 00/27] Improve ABI documentation generation
2025-02-10 18:30 ` [PATCH 00/27] Improve ABI documentation generation Jonathan Corbet
@ 2025-02-10 20:27 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-10 20:27 UTC (permalink / raw)
To: Jonathan Corbet
Cc: Linux Doc Mailing List, linux-kernel, Guilherme G. Piccoli,
James Clark, Johannes Berg, Mike Leach, Suzuki K Poulose,
Tony Luck, bpf, coresight, linux-arm-kernel, linux-f2fs-devel,
linux-hardening, linux-wireless
Em Mon, 10 Feb 2025 11:30:46 -0700
Jonathan Corbet <corbet@lwn.net> escreveu:
> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
>
> > Hi Jon/Greg,
> >
> > This series replace get_abi.pl with a Python version.
> >
> > I originally started it due to some issues I noticed when searching for
> > ABI symbols. While I could just go ahead and fix the already existing
> > script, I noticed that the script maintainance didn't have much care over
> > all those years, probably because it is easier to find Python programmers
> > those days.
> >
> > Also, the code is complex and was not using modules or classes and
> > were using lots of global variables.
> >
> > So, I decided to rewrite it in Python. I started with a manual conversion
> > for each function. Yet, to avoid future maintainership issues, I opted to
> > divide the main code on three classes, each on a sepaparate file.
> >
> > Just like the original RFC, I opted to keep the Sphinx kernel-abi module
> > on three different phases:
> >
> > - call get_abi.py as an exec file;
> > - import AbiParser on a minimal integration scenario;
> > - cleanup the code to avoid needing to parse line numbers from the text.
> >
> > This way, if something goes wrong, it would be easier to just revert any
> > offending patches, It also provides a better rationale about what each
> > logical change is doing.
> >
> > The initial patches on this series do some preparation work and
> > cleans some ABI symbol bugs that lack ":" delimiter.
> >
> > I opted to place on this series the Sphinx and Python version updates.
> >
> > I still have ~10 patches here with additional cleanups, from the original
> > series I sent as RFC but let's get the main changes merged first.
>
> OK, I have applied this set - it seems to work for me, though it does
> lead to some changes in the organization of
> Documentation/admin-guide/abi.html in the output.
Yes. I moved the files part to separate files, as IMHO this would
make easier for people to navigate.
> It would be nice if, eventually, we could put the README link up at the
> top rather than under "ABI file",
Moving its position is not hard: all we need to do is to change abi.rst
file. See the enclosed patch.
> or even just include its contents
> there directly.
>
> Anyway, let's see how this goes :)
>
> Thanks,
>
> jon
Thanks,
Mauro
From e1b864d1d333d94430420d1d6fc15ea7d8a99b4b Mon Sep 17 00:00:00 2001
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Date: Mon, 10 Feb 2025 21:24:06 +0100
Subject: [PATCH] docs: ABI: move README contents to the top
The ABI documentation looks a little bit better if it starts
with the contents of the README is placed at the beginning.
Suggested-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
diff --git a/Documentation/admin-guide/abi-readme-file.rst b/Documentation/admin-guide/abi-readme-file.rst
deleted file mode 100644
index 6172e4ccbda2..000000000000
--- a/Documentation/admin-guide/abi-readme-file.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-.. SPDX-License-Identifier: GPL-2.0
-
-ABI README
-==========
-
-.. kernel-abi:: README
diff --git a/Documentation/admin-guide/abi.rst b/Documentation/admin-guide/abi.rst
index 15a2dcb1388c..2067336353ae 100644
--- a/Documentation/admin-guide/abi.rst
+++ b/Documentation/admin-guide/abi.rst
@@ -4,6 +4,11 @@
Linux ABI description
=====================
+ABI README
+==========
+
+.. kernel-abi:: README
+
ABI symbols
-----------
@@ -21,7 +26,6 @@ ABI files
.. toctree::
:maxdepth: 2
- abi-readme-file
abi-stable-files
abi-testing-files
abi-obsolete-files
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [f2fs-dev] [PATCH 00/27] Improve ABI documentation generation
2025-02-10 10:17 [PATCH 00/27] Improve ABI documentation generation Mauro Carvalho Chehab
2025-02-10 10:17 ` [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags Mauro Carvalho Chehab
2025-02-10 18:30 ` [PATCH 00/27] Improve ABI documentation generation Jonathan Corbet
@ 2025-03-27 21:58 ` patchwork-bot+f2fs
2 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+f2fs @ 2025-03-27 21:58 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: linux-doc, tony.luck, corbet, james.clark, suzuki.poulose,
linux-wireless, linux-kernel, linux-f2fs-devel, gpiccoli,
linux-hardening, coresight, johannes, bpf, linux-arm-kernel,
mike.leach
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jonathan Corbet <corbet@lwn.net>:
On Mon, 10 Feb 2025 11:17:49 +0100 you wrote:
> Hi Jon/Greg,
>
> This series replace get_abi.pl with a Python version.
>
> I originally started it due to some issues I noticed when searching for
> ABI symbols. While I could just go ahead and fix the already existing
> script, I noticed that the script maintainance didn't have much care over
> all those years, probably because it is easier to find Python programmers
> those days.
>
> [...]
Here is the summary with links:
- [f2fs-dev,07/27] ABI: sysfs-fs-f2fs: fix date tags
https://git.kernel.org/jaegeuk/f2fs/c/90800df0da78
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-03-27 22:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 10:17 [PATCH 00/27] Improve ABI documentation generation Mauro Carvalho Chehab
2025-02-10 10:17 ` [PATCH 05/27] ABI: sysfs-bus-coresight-*: fix kernelversion tags Mauro Carvalho Chehab
2025-02-10 10:33 ` Suzuki K Poulose
2025-02-10 18:30 ` [PATCH 00/27] Improve ABI documentation generation Jonathan Corbet
2025-02-10 20:27 ` Mauro Carvalho Chehab
2025-03-27 21:58 ` [f2fs-dev] " patchwork-bot+f2fs
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).