* [PATCH 0/9] Extend automarkup support for ABI symbols
@ 2025-02-11 6:22 Mauro Carvalho Chehab
2025-02-11 6:22 ` [PATCH 5/9] docs: arm: generic-counter: Allow creating cross-references for ABI Mauro Carvalho Chehab
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-11 6:22 UTC (permalink / raw)
To: Linux Doc Mailing List, Jonathan Corbet
Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, linux-kernel,
David S. Miller, Alex Shi, Andreas Noever, Avadhut Naik,
Carlos Bilbao, Catalin Marinas, Eric Dumazet, Hu Haowen,
Jakub Kicinski, Lars-Peter Clausen, Michael Jamet,
Mika Westerberg, Paolo Abeni, Sean Young, Simon Horman,
Will Deacon, William Breathitt Gray, Yanteng Si, Yehezkel Bernat,
linux-arm-kernel, linux-iio, linux-media, linux-usb, netdev,
workflows
Now that ABI creates a python dictionary, use automarkup to create cross
references for ABI symbols as well.
Mauro Carvalho Chehab (9):
docs: media: Allow creating cross-references for RC ABI
docs: automarkup: drop legacy support
docs: thunderbolt: Allow creating cross-references for ABI
docs: arm: asymmetric-32bit: Allow creating cross-references for ABI
docs: arm: generic-counter: Allow creating cross-references for ABI
docs: iio: Allow creating cross-references ABI
docs: networking: Allow creating cross-references statistics ABI
docs: submit-checklist: Allow creating cross-references for ABI README
docs: translations: Allow creating cross-references for ABI README
Documentation/admin-guide/thunderbolt.rst | 2 +-
Documentation/arch/arm64/asymmetric-32bit.rst | 2 +-
Documentation/driver-api/generic-counter.rst | 4 +-
Documentation/driver-api/iio/core.rst | 2 +-
Documentation/iio/iio_devbuf.rst | 2 +-
Documentation/networking/statistics.rst | 2 +-
Documentation/process/submit-checklist.rst | 2 +-
Documentation/sphinx/automarkup.py | 47 ++++++++-----------
.../it_IT/process/submit-checklist.rst | 2 +-
.../sp_SP/process/submit-checklist.rst | 2 +-
.../zh_CN/process/submit-checklist.rst | 2 +-
.../zh_TW/process/submit-checklist.rst | 2 +-
.../userspace-api/media/rc/rc-sysfs-nodes.rst | 2 +-
13 files changed, 32 insertions(+), 41 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 5/9] docs: arm: generic-counter: Allow creating cross-references for ABI
2025-02-11 6:22 [PATCH 0/9] Extend automarkup support for ABI symbols Mauro Carvalho Chehab
@ 2025-02-11 6:22 ` Mauro Carvalho Chehab
2025-02-11 6:23 ` [PATCH 6/9] docs: iio: Allow creating cross-references ABI Mauro Carvalho Chehab
2025-02-12 11:25 ` [PATCH 0/9] Extend automarkup support for ABI symbols Bagas Sanjaya
2 siblings, 0 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-11 6:22 UTC (permalink / raw)
To: Linux Doc Mailing List, Jonathan Corbet
Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab,
William Breathitt Gray, linux-iio, linux-kernel
Now that Documentation/ABI is processed by automarkup, let it
generate cross-references for the corresponding ABI file.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
Documentation/driver-api/generic-counter.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/driver-api/generic-counter.rst b/Documentation/driver-api/generic-counter.rst
index 71ccc30e586b..e826f16ea43d 100644
--- a/Documentation/driver-api/generic-counter.rst
+++ b/Documentation/driver-api/generic-counter.rst
@@ -467,7 +467,7 @@ Counter sysfs
Translates counter data to the standard Counter sysfs interface format
and vice versa.
-Please refer to the ``Documentation/ABI/testing/sysfs-bus-counter`` file
+Please refer to the Documentation/ABI/testing/sysfs-bus-counter file
for a detailed breakdown of the available Generic Counter interface
sysfs attributes.
@@ -483,7 +483,7 @@ Sysfs Interface
Several sysfs attributes are generated by the Generic Counter interface,
and reside under the ``/sys/bus/counter/devices/counterX`` directory,
where ``X`` is to the respective counter device id. Please see
-``Documentation/ABI/testing/sysfs-bus-counter`` for detailed information
+Documentation/ABI/testing/sysfs-bus-counter for detailed information
on each Generic Counter interface sysfs attribute.
Through these sysfs attributes, programs and scripts may interact with
--
2.48.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 6/9] docs: iio: Allow creating cross-references ABI
2025-02-11 6:22 [PATCH 0/9] Extend automarkup support for ABI symbols Mauro Carvalho Chehab
2025-02-11 6:22 ` [PATCH 5/9] docs: arm: generic-counter: Allow creating cross-references for ABI Mauro Carvalho Chehab
@ 2025-02-11 6:23 ` Mauro Carvalho Chehab
2025-02-12 11:25 ` [PATCH 0/9] Extend automarkup support for ABI symbols Bagas Sanjaya
2 siblings, 0 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-11 6:23 UTC (permalink / raw)
To: Linux Doc Mailing List, Jonathan Corbet
Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, Jonathan Cameron,
Lars-Peter Clausen, Thorsten Scherer, linux-iio, linux-kernel,
Jonathan Cameron
Now that Documentation/ABI is processed by automarkup, let it
generate cross-references for the corresponding ABI file.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
Documentation/driver-api/iio/core.rst | 2 +-
Documentation/iio/iio_devbuf.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/driver-api/iio/core.rst b/Documentation/driver-api/iio/core.rst
index dfe438dc91a7..42b580fb2989 100644
--- a/Documentation/driver-api/iio/core.rst
+++ b/Documentation/driver-api/iio/core.rst
@@ -60,7 +60,7 @@ directory. Common attributes are:
* :file:`sampling_frequency_available`, available discrete set of sampling
frequency values for device.
* Available standard attributes for IIO devices are described in the
- :file:`Documentation/ABI/testing/sysfs-bus-iio` file in the Linux kernel
+ :file:Documentation/ABI/testing/sysfs-bus-iio file in the Linux kernel
sources.
IIO device channels
diff --git a/Documentation/iio/iio_devbuf.rst b/Documentation/iio/iio_devbuf.rst
index 9919e4792d0e..dca1f0200b0d 100644
--- a/Documentation/iio/iio_devbuf.rst
+++ b/Documentation/iio/iio_devbuf.rst
@@ -148,5 +148,5 @@ applied), however there are corner cases in which the buffered data may be found
in a processed form. Please note that these corner cases are not addressed by
this documentation.
-Please see ``Documentation/ABI/testing/sysfs-bus-iio`` for a complete
+Please see Documentation/ABI/testing/sysfs-bus-iio for a complete
description of the attributes.
--
2.48.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/9] Extend automarkup support for ABI symbols
2025-02-11 6:22 [PATCH 0/9] Extend automarkup support for ABI symbols Mauro Carvalho Chehab
2025-02-11 6:22 ` [PATCH 5/9] docs: arm: generic-counter: Allow creating cross-references for ABI Mauro Carvalho Chehab
2025-02-11 6:23 ` [PATCH 6/9] docs: iio: Allow creating cross-references ABI Mauro Carvalho Chehab
@ 2025-02-12 11:25 ` Bagas Sanjaya
2025-02-12 12:58 ` Mauro Carvalho Chehab
2 siblings, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2025-02-12 11:25 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Linux Doc Mailing List, Jonathan Corbet
Cc: linux-kernel, David S. Miller, Andreas Noever, Avadhut Naik,
Catalin Marinas, Eric Dumazet, Hu Haowen, Lars-Peter Clausen,
Michael Jamet, Mika Westerberg, Paolo Abeni, Sean Young,
Yanteng Si, Yehezkel Bernat, Thomas Gleixner, Michael Ellerman,
Shrikanth Hegde, Russell King (Oracle), Pawan Gupta, James Morse,
Nysal Jan K.A, Tom Lendacky, Sourabh Jain, Stephen Rothwell,
Frederic Barrat, Andrew Donnellan, Madhavan Srinivasan,
Nicholas Piggin, Christophe Leroy, Naveen N Rao, linux-arm-kernel,
linux-iio, linux-media, linux-usb, netdev, workflows,
linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
On Tue, Feb 11, 2025 at 07:22:54AM +0100, Mauro Carvalho Chehab wrote:
> Now that ABI creates a python dictionary, use automarkup to create cross
> references for ABI symbols as well.
I get three new warnings:
WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times: /home/bagas/repo/linux-kernel/Documentation/ABI/stable/sysfs-devices-system-cpu:27; /home/bagas/repo/linux-kernel/Documentation/ABI/testing/sysfs-devices-system-cpu:70
WARNING: /sys/devices/system/cpu/cpuX/topology/ppin is defined 2 times: /home/bagas/repo/linux-kernel/Documentation/ABI/stable/sysfs-devices-system-cpu:89; /home/bagas/repo/linux-kernel/Documentation/ABI/testing/sysfs-devices-system-cpu:70
WARNING: Documentation/ABI/testing/sysfs-class-cxl not found
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/9] Extend automarkup support for ABI symbols
2025-02-12 11:25 ` [PATCH 0/9] Extend automarkup support for ABI symbols Bagas Sanjaya
@ 2025-02-12 12:58 ` Mauro Carvalho Chehab
2025-02-13 0:39 ` Andrew Donnellan
2025-02-18 20:52 ` Jonathan Corbet
0 siblings, 2 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-12 12:58 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Doc Mailing List, Jonathan Corbet, linux-kernel,
David S. Miller, Andreas Noever, Avadhut Naik, Catalin Marinas,
Eric Dumazet, Hu Haowen, Lars-Peter Clausen, Michael Jamet,
Mika Westerberg, Paolo Abeni, Sean Young, Yanteng Si,
Yehezkel Bernat, Thomas Gleixner, Michael Ellerman,
Shrikanth Hegde, Russell King (Oracle), Pawan Gupta, James Morse,
Nysal Jan K.A, Tom Lendacky, Sourabh Jain, Stephen Rothwell,
Frederic Barrat, Andrew Donnellan, Madhavan Srinivasan,
Nicholas Piggin, Christophe Leroy, Naveen N Rao, linux-arm-kernel,
linux-iio, linux-media, linux-usb, netdev, workflows,
linuxppc-dev
Em Wed, 12 Feb 2025 18:25:15 +0700
Bagas Sanjaya <bagasdotme@gmail.com> escreveu:
> On Tue, Feb 11, 2025 at 07:22:54AM +0100, Mauro Carvalho Chehab wrote:
> > Now that ABI creates a python dictionary, use automarkup to create cross
> > references for ABI symbols as well.
>
> I get three new warnings:
>
> WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times: /home/bagas/repo/linux-kernel/Documentation/ABI/stable/sysfs-devices-system-cpu:27; /home/bagas/repo/linux-kernel/Documentation/ABI/testing/sysfs-devices-system-cpu:70
> WARNING: /sys/devices/system/cpu/cpuX/topology/ppin is defined 2 times: /home/bagas/repo/linux-kernel/Documentation/ABI/stable/sysfs-devices-system-cpu:89; /home/bagas/repo/linux-kernel/Documentation/ABI/testing/sysfs-devices-system-cpu:70
Those two are new reports that get_abi.py detects after the recent changes.
In the past, symbol duplication were detected only within the same group
(testing, stable, ...). The new version can detect symbols that are
duplicated on different parts of the ABI. In this specific case, the same
symbols exist on both stable and testing.
There is a fix for them already at:
https://lore.kernel.org/linux-doc/673e9543783349b0fcf625018e38e4e93fe98f52.1738020236.git.mchehab+huawei@kernel.org/
> WARNING: Documentation/ABI/testing/sysfs-class-cxl not found
I need to double-check verify this one, as it didn't appear on
my tests. Are you getting it against docs-next or linux-next?
Thanks,
Mauro
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/9] Extend automarkup support for ABI symbols
2025-02-12 12:58 ` Mauro Carvalho Chehab
@ 2025-02-13 0:39 ` Andrew Donnellan
2025-02-18 20:52 ` Jonathan Corbet
1 sibling, 0 replies; 7+ messages in thread
From: Andrew Donnellan @ 2025-02-13 0:39 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Bagas Sanjaya
Cc: Linux Doc Mailing List, Jonathan Corbet, linux-kernel,
David S. Miller, Andreas Noever, Avadhut Naik, Catalin Marinas,
Eric Dumazet, Hu Haowen, Lars-Peter Clausen, Michael Jamet,
Mika Westerberg, Paolo Abeni, Sean Young, Yanteng Si,
Yehezkel Bernat, Thomas Gleixner, Michael Ellerman,
Shrikanth Hegde, Russell King (Oracle), Pawan Gupta, James Morse,
Nysal Jan K.A, Tom Lendacky, Sourabh Jain, Stephen Rothwell,
Frederic Barrat, Madhavan Srinivasan, Nicholas Piggin,
Christophe Leroy, Naveen N Rao, linux-arm-kernel, linux-iio,
linux-media, linux-usb, netdev, workflows, linuxppc-dev
On Wed, 2025-02-12 at 13:58 +0100, Mauro Carvalho Chehab wrote:
> > WARNING: Documentation/ABI/testing/sysfs-class-cxl not found
>
> I need to double-check verify this one, as it didn't appear on
> my tests. Are you getting it against docs-next or linux-next?
>
This is moved to obsolete/ by 5731d41af924b which was merged in rc1,
and will be moved again to removed/ by [0].
Andrew
[0]
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20250203072801.365551-3-ajd@linux.ibm.com/
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@linux.ibm.com IBM Australia Limited
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/9] Extend automarkup support for ABI symbols
2025-02-12 12:58 ` Mauro Carvalho Chehab
2025-02-13 0:39 ` Andrew Donnellan
@ 2025-02-18 20:52 ` Jonathan Corbet
1 sibling, 0 replies; 7+ messages in thread
From: Jonathan Corbet @ 2025-02-18 20:52 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Bagas Sanjaya
Cc: Linux Doc Mailing List, linux-kernel, David S. Miller,
Andreas Noever, Avadhut Naik, Catalin Marinas, Eric Dumazet,
Hu Haowen, Lars-Peter Clausen, Michael Jamet, Mika Westerberg,
Paolo Abeni, Sean Young, Yanteng Si, Yehezkel Bernat,
Thomas Gleixner, Michael Ellerman, Shrikanth Hegde,
Russell King (Oracle), Pawan Gupta, James Morse, Nysal Jan K.A,
Tom Lendacky, Sourabh Jain, Stephen Rothwell, Frederic Barrat,
Andrew Donnellan, Madhavan Srinivasan, Nicholas Piggin,
Christophe Leroy, Naveen N Rao, linux-arm-kernel, linux-iio,
linux-media, linux-usb, netdev, workflows, linuxppc-dev
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:
>> WARNING: Documentation/ABI/testing/sysfs-class-cxl not found
>
> I need to double-check verify this one, as it didn't appear on
> my tests. Are you getting it against docs-next or linux-next?
I get this one too, FWIW.
I've gone ahead and applied the series, but this would be nice to get
cleaned up.
Thanks,
jon
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-02-18 20:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-11 6:22 [PATCH 0/9] Extend automarkup support for ABI symbols Mauro Carvalho Chehab
2025-02-11 6:22 ` [PATCH 5/9] docs: arm: generic-counter: Allow creating cross-references for ABI Mauro Carvalho Chehab
2025-02-11 6:23 ` [PATCH 6/9] docs: iio: Allow creating cross-references ABI Mauro Carvalho Chehab
2025-02-12 11:25 ` [PATCH 0/9] Extend automarkup support for ABI symbols Bagas Sanjaya
2025-02-12 12:58 ` Mauro Carvalho Chehab
2025-02-13 0:39 ` Andrew Donnellan
2025-02-18 20:52 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox