Skip to contentSkip to conversation

docs/misc/arm: Update references to Linux kernel docs

PATCH In review Michal Orzel 4 participants 5 messages Nov 18, 2022 – Dec 1, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/misc/arm: Update references to Linux kernel docs

Some time ago, Linux switched the format of docs to ReST and the format of device-tree bindings to json-schema.

---
 docs/misc/arm/booting.txt     | 8 ++++----
 docs/misc/arm/passthrough.txt | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
docs/misc/arm/booting.txt +4 -4
index d3f6ce4755f6..3e0c03e06596 100644
@@ -34,8 +34,8 @@ Xen relies on some settings the firmware has to configure in EL3 before starting
 * The bit SCR_EL3.HCE (resp. SCR.HCE for 32-bit ARM) must be set to 1.
 
 
-[1] linux/Documentation/arm/Booting
-Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/Booting
+[1] linux/Documentation/arm/booting.rst
+Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/booting.rst
 
-[2] linux/Documentation/arm64/booting.txt
-Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.txt
+[2] linux/Documentation/arm64/booting.rst
+Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.rst
docs/misc/arm/passthrough.txt +4 -4
index 219d1cca571b..4f0a024818a2 100644
@@ -71,8 +71,8 @@ Please refer to your platform docs for the MMIO ranges and interrupts.
 They can also be calculated from the original device tree (not
 recommended). You can read about the "interrupts" property format in the
 device tree bindings of the interrupt controller of your platform. For
-example, in the case of GICv2 see [arm,gic.txt]; in the case of GICv3
-see [arm,gic-v3.txt] in the Linux repository. For both GICv2 and GICv3
+example, in the case of GICv2 see [arm,gic.yaml]; in the case of GICv3
+see [arm,gic-v3.yaml] in the Linux repository. For both GICv2 and GICv3
 the "interrupts" property format is the same: the first cell is the
 interrupt type, and the second cell is the interrupt number.  Given that
 SPI numbers start from 32, in this example 80 + 32 = 112.
@@ -187,6 +187,6 @@ assign a network card to a dom0-less guest on Xilinx Ultrascale+ MPSoC:
 };
 
 
-[arm,gic.txt]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
-[arm,gic-v3.txt]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
+[arm,gic.yaml]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
+[arm,gic-v3.yaml]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml
 [xl.cfg]: https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Michal,

Quoted 6 lines · Michal Orzel

Some time ago, Linux switched the format of docs to ReST and the format of device-tree bindings to json-schema.

Cheers
Bertrand

Quoted 49 lines

---
docs/misc/arm/booting.txt | 8 ++++----
docs/misc/arm/passthrough.txt | 8 ++++----

2 files changed, 8 insertions(+), 8 deletions(-)
docs/misc/arm/booting.txt +4 -4
index d3f6ce4755f6..3e0c03e06596 100644
@@ -34,8 +34,8 @@ Xen relies on some settings the firmware has to configure in EL3 before starting
 * The bit SCR_EL3.HCE (resp. SCR.HCE for 32-bit ARM) must be set to 1.
 
 
-[1] linux/Documentation/arm/Booting
-Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/Booting
+[1] linux/Documentation/arm/booting.rst
+Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/booting.rst
 
-[2] linux/Documentation/arm64/booting.txt
-Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.txt
+[2] linux/Documentation/arm64/booting.rst
+Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.rst
docs/misc/arm/passthrough.txt +0 -0
index 219d1cca571b..4f0a024818a2 100644
@@ -71,8 +71,8 @@ Please refer to your platform docs for the MMIO ranges and interrupts.

They can also be calculated from the original device tree (not recommended). You can read about the "interrupts" property format in the device tree bindings of the interrupt controller of your platform. For

docs/misc/arm/passthrough.txt +2 -2
-example, in the case of GICv2 see [arm,gic.txt]; in the case of GICv3
-see [arm,gic-v3.txt] in the Linux repository. For both GICv2 and GICv3
+example, in the case of GICv2 see [arm,gic.yaml]; in the case of GICv3
+see [arm,gic-v3.yaml] in the Linux repository. For both GICv2 and GICv3

the "interrupts" property format is the same: the first cell is the interrupt type, and the second cell is the interrupt number. Given that SPI numbers start from 32, in this example 80 + 32 = 112.

docs/misc/arm/passthrough.txt +2 -2
@@ -187,6 +187,6 @@ assign a network card to a dom0-less guest on Xilinx Ultrascale+ MPSoC:
 };
 
 
-[arm,gic.txt]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
-[arm,gic-v3.txt]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt
+[arm,gic.yaml]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
+[arm,gic-v3.yaml]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml

[xl.cfg]: https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html

Signature · 1 line
2.25.1
#2 lore raw

(+ Henry)

Hi,

Quoted 9 lines · Bertrand Marquis

Hi Michal,

Quoted 6 lines · Michal Orzel

Some time ago, Linux switched the format of docs to ReST and the format of device-tree bindings to json-schema.

This could potentially be a candidate for 4.17 as this is correcting the links in the docs. So risk free.

If we have no new bug fixed queued for 4.17, then I could add the patch after branching.

Cheers,

Signature · 1 line
Julien Grall
#3 lore raw

Hi Julien,

Quoted 5 lines

-----Original Message-----
From: Julien Grall <[email protected]>
Subject: Re: [PATCH] docs/misc/arm: Update references to Linux kernel docs

(+ Henry)

Thanks.

Quoted 8 lines

Hi,

Quoted 4 lines · Bertrand Marquis

Hi Michal,

Quoted 2 lines · Michal Orzel
Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

Some time ago, Linux switched the format of docs to ReST and the format of device-tree bindings to json-schema.

This could potentially be a candidate for 4.17 as this is correcting the links in the docs. So risk free.

Agreed.

Quoted 3 lines

If we have no new bug fixed queued for 4.17, then I could add the patch after branching.

Sounds good to me, if you want to do that:

Kind regards,
Henry

Quoted 5 lines

Cheers,

--
Julien Grall

#4 lore raw

Hi,

Quoted 28 lines · Henry Wang
Quoted 5 lines

-----Original Message-----
From: Julien Grall <[email protected]>
Subject: Re: [PATCH] docs/misc/arm: Update references to Linux kernel docs

(+ Henry)

Thanks.

Quoted 8 lines

Hi,

Quoted 4 lines · Bertrand Marquis

Hi Michal,

Quoted 2 lines · Michal Orzel
Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

Some time ago, Linux switched the format of docs to ReST and the format of device-tree bindings to json-schema.

This could potentially be a candidate for 4.17 as this is correcting the links in the docs. So risk free.

Agreed.

Quoted 1 line
Quoted 6 lines
Quoted 2 lines

If we have no new bug fixed queued for 4.17, then I could add the patch after branching.

Sounds good to me, if you want to do that:

It is now committed.

Cheers,

Signature · 1 line
Julien Grall