* Re: [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-08 21:01 [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst Swaraj Gaikwad
@ 2025-12-08 18:11 ` Randy Dunlap
2025-12-08 22:37 ` Bagas Sanjaya
2025-12-09 8:53 ` [PATCH v2] " Swaraj Gaikwad
2 siblings, 0 replies; 12+ messages in thread
From: Randy Dunlap @ 2025-12-08 18:11 UTC (permalink / raw)
To: Swaraj Gaikwad, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
Dave Hansen, maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
H. Peter Anvin, Jonathan Corbet,
open list:X86 ARCHITECTURE (32-BIT AND 64-BIT),
open list:DOCUMENTATION
Cc: skhan, david.hunter.linux
Hi,
On 12/8/25 1:01 PM, Swaraj Gaikwad wrote:
> Building the documentation with make htmldocs previously failed with the
> following error, causing the "Assigned boot loader IDs" table to not
> render at all in the HTML output:
>
> Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
> Text in column margin in table line 2.
>
> This occurred because the ReStructuredText (RST) simple table header
> defined the first column width as 2 characters (==), which is too narrow
> for data entries like 0x10 and 0x13. This dimensional mismatch caused
> the text to spill into the margin, triggering a docutils parsing
> failure.
> This patch fixes the issue by expanding the column width in the table
> header to 4 characters (====) to correctly accommodate the widest
> entries and alignment. After applying this patch, the documentation builds
> successfully and the "Assigned boot loader IDs" table now displays
> correctly in the generated HTML.
>
> Build environment: Python 3.13.7 Sphinx 8.2.3 docutils 0.22.3
>
> Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
The second chunk does not apply cleanly. It was apparently
supposed to be deleting some trailing spaces, but somewhere
those trailing spaces were dropped. And that's not described
in the patch description, so I suggest that you or anyone who
applies this patch just drop the second chunk.
Thanks.
> ---
> Documentation/arch/x86/boot.rst | 50 ++++++++++++++++-----------------
> 1 file changed, 25 insertions(+), 25 deletions(-)
>
> diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
> index 6d36ce86fd8e..99b42e9d0e1c 100644
> --- a/Documentation/arch/x86/boot.rst
> +++ b/Documentation/arch/x86/boot.rst
> @@ -433,30 +433,30 @@ Protocol: 2.00+
>
> Assigned boot loader IDs:
>
> - == =======================================
> - 0x0 LILO
> - (0x00 reserved for pre-2.00 bootloader)
> - 0x1 Loadlin
> - 0x2 bootsect-loader
> - (0x20, all other values reserved)
> - 0x3 Syslinux
> - 0x4 Etherboot/gPXE/iPXE
> - 0x5 ELILO
> - 0x7 GRUB
> - 0x8 U-Boot
> - 0x9 Xen
> - 0xA Gujin
> - 0xB Qemu
> - 0xC Arcturus Networks uCbootloader
> - 0xD kexec-tools
> - 0xE Extended (see ext_loader_type)
> - 0xF Special (0xFF = undefined)
> - 0x10 Reserved
> - 0x11 Minimal Linux Bootloader
> - <http://sebastian-plotz.blogspot.de>
> - 0x12 OVMF UEFI virtualization stack
> - 0x13 barebox
> - == =======================================
> +==== ==============================
> +0x0 LILO
> + (0x00 reserved for pre-2.00 bootloader)
> +0x1 Loadlin
> +0x2 bootsect-loader
> + (0x20, all other values reserved)
> +0x3 Syslinux
> +0x4 Etherboot/gPXE/iPXE
> +0x5 ELILO
> +0x7 GRUB
> +0x8 U-Boot
> +0x9 Xen
> +0xA Gujin
> +0xB Qemu
> +0xC Arcturus Networks uCbootloader
> +0xD kexec-tools
> +0xE Extended (see ext_loader_type)
> +0xF Special (0xFF = undefined)
> +0x10 Reserved
> +0x11 Minimal Linux Bootloader
> + <http://sebastian-plotz.blogspot.de>
> +0x12 OVMF UEFI virtualization stack
> +0x13 barebox
> +==== ==============================
>
> Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.
>
> @@ -814,7 +814,7 @@ Protocol: 2.09+
> __u32 len;
> __u8 data[];
> }
> -
> +
> Where, the next is a 64-bit physical pointer to the next node of
> linked list, the next field of the last node is 0; the type is used
> to identify the contents of data; the len is the length of data
> --
> 2.52.0
>
>
--
~Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst
@ 2025-12-08 21:01 Swaraj Gaikwad
2025-12-08 18:11 ` Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Swaraj Gaikwad @ 2025-12-08 21:01 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen,
maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT), H. Peter Anvin,
Jonathan Corbet, open list:X86 ARCHITECTURE (32-BIT AND 64-BIT),
open list:DOCUMENTATION
Cc: skhan, david.hunter.linux, Swaraj Gaikwad
Building the documentation with make htmldocs previously failed with the
following error, causing the "Assigned boot loader IDs" table to not
render at all in the HTML output:
Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
Text in column margin in table line 2.
This occurred because the ReStructuredText (RST) simple table header
defined the first column width as 2 characters (==), which is too narrow
for data entries like 0x10 and 0x13. This dimensional mismatch caused
the text to spill into the margin, triggering a docutils parsing
failure.
This patch fixes the issue by expanding the column width in the table
header to 4 characters (====) to correctly accommodate the widest
entries and alignment. After applying this patch, the documentation builds
successfully and the "Assigned boot loader IDs" table now displays
correctly in the generated HTML.
Build environment: Python 3.13.7 Sphinx 8.2.3 docutils 0.22.3
Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
---
Documentation/arch/x86/boot.rst | 50 ++++++++++++++++-----------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
index 6d36ce86fd8e..99b42e9d0e1c 100644
--- a/Documentation/arch/x86/boot.rst
+++ b/Documentation/arch/x86/boot.rst
@@ -433,30 +433,30 @@ Protocol: 2.00+
Assigned boot loader IDs:
- == =======================================
- 0x0 LILO
- (0x00 reserved for pre-2.00 bootloader)
- 0x1 Loadlin
- 0x2 bootsect-loader
- (0x20, all other values reserved)
- 0x3 Syslinux
- 0x4 Etherboot/gPXE/iPXE
- 0x5 ELILO
- 0x7 GRUB
- 0x8 U-Boot
- 0x9 Xen
- 0xA Gujin
- 0xB Qemu
- 0xC Arcturus Networks uCbootloader
- 0xD kexec-tools
- 0xE Extended (see ext_loader_type)
- 0xF Special (0xFF = undefined)
- 0x10 Reserved
- 0x11 Minimal Linux Bootloader
- <http://sebastian-plotz.blogspot.de>
- 0x12 OVMF UEFI virtualization stack
- 0x13 barebox
- == =======================================
+==== ==============================
+0x0 LILO
+ (0x00 reserved for pre-2.00 bootloader)
+0x1 Loadlin
+0x2 bootsect-loader
+ (0x20, all other values reserved)
+0x3 Syslinux
+0x4 Etherboot/gPXE/iPXE
+0x5 ELILO
+0x7 GRUB
+0x8 U-Boot
+0x9 Xen
+0xA Gujin
+0xB Qemu
+0xC Arcturus Networks uCbootloader
+0xD kexec-tools
+0xE Extended (see ext_loader_type)
+0xF Special (0xFF = undefined)
+0x10 Reserved
+0x11 Minimal Linux Bootloader
+ <http://sebastian-plotz.blogspot.de>
+0x12 OVMF UEFI virtualization stack
+0x13 barebox
+==== ==============================
Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.
@@ -814,7 +814,7 @@ Protocol: 2.09+
__u32 len;
__u8 data[];
}
-
+
Where, the next is a 64-bit physical pointer to the next node of
linked list, the next field of the last node is 0; the type is used
to identify the contents of data; the len is the length of data
--
2.52.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-08 21:01 [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst Swaraj Gaikwad
2025-12-08 18:11 ` Randy Dunlap
@ 2025-12-08 22:37 ` Bagas Sanjaya
2025-12-08 22:50 ` Jonathan Corbet
2025-12-09 8:53 ` [PATCH v2] " Swaraj Gaikwad
2 siblings, 1 reply; 12+ messages in thread
From: Bagas Sanjaya @ 2025-12-08 22:37 UTC (permalink / raw)
To: Swaraj Gaikwad, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
Dave Hansen, maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
H. Peter Anvin, Jonathan Corbet,
open list:X86 ARCHITECTURE (32-BIT AND 64-BIT),
open list:DOCUMENTATION
Cc: skhan, david.hunter.linux
[-- Attachment #1: Type: text/plain, Size: 3088 bytes --]
On Mon, Dec 08, 2025 at 09:01:12PM +0000, Swaraj Gaikwad wrote:
> Building the documentation with make htmldocs previously failed with the
> following error, causing the "Assigned boot loader IDs" table to not
> render at all in the HTML output:
>
> Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
> Text in column margin in table line 2.
>
> This occurred because the ReStructuredText (RST) simple table header
> defined the first column width as 2 characters (==), which is too narrow
> for data entries like 0x10 and 0x13. This dimensional mismatch caused
> the text to spill into the margin, triggering a docutils parsing
> failure.
> This patch fixes the issue by expanding the column width in the table
> header to 4 characters (====) to correctly accommodate the widest
> entries and alignment. After applying this patch, the documentation builds
> successfully and the "Assigned boot loader IDs" table now displays
> correctly in the generated HTML.
I'd like to instead write the patch description as (more concise):
```
Sphinx reports htmldocs warnings:
Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
Text in column margin in table line 2.
Fix it by extending the first column of assigned boot loader ID to fit
the widest entries, which are 0x10 to 0x13.
```
> Assigned boot loader IDs:
>
> - == =======================================
> - 0x0 LILO
> - (0x00 reserved for pre-2.00 bootloader)
> - 0x1 Loadlin
> - 0x2 bootsect-loader
> - (0x20, all other values reserved)
> - 0x3 Syslinux
> - 0x4 Etherboot/gPXE/iPXE
> - 0x5 ELILO
> - 0x7 GRUB
> - 0x8 U-Boot
> - 0x9 Xen
> - 0xA Gujin
> - 0xB Qemu
> - 0xC Arcturus Networks uCbootloader
> - 0xD kexec-tools
> - 0xE Extended (see ext_loader_type)
> - 0xF Special (0xFF = undefined)
> - 0x10 Reserved
> - 0x11 Minimal Linux Bootloader
> - <http://sebastian-plotz.blogspot.de>
> - 0x12 OVMF UEFI virtualization stack
> - 0x13 barebox
> - == =======================================
> +==== ==============================
> +0x0 LILO
> + (0x00 reserved for pre-2.00 bootloader)
> +0x1 Loadlin
> +0x2 bootsect-loader
> + (0x20, all other values reserved)
> +0x3 Syslinux
> +0x4 Etherboot/gPXE/iPXE
> +0x5 ELILO
> +0x7 GRUB
> +0x8 U-Boot
> +0x9 Xen
> +0xA Gujin
> +0xB Qemu
> +0xC Arcturus Networks uCbootloader
> +0xD kexec-tools
> +0xE Extended (see ext_loader_type)
> +0xF Special (0xFF = undefined)
> +0x10 Reserved
> +0x11 Minimal Linux Bootloader
> + <http://sebastian-plotz.blogspot.de>
> +0x12 OVMF UEFI virtualization stack
> +0x13 barebox
> +==== ==============================
>
Aside from Randy's comment on the trailing spaces chunk, the patch LGTM.
Fixes: 1c3377bee212 ("x86/boot/Documentation: Prefix hexadecimal literals with 0x")
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
x86 maintainers: please route this patch through x86/urgent branch.
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] 12+ messages in thread
* Re: [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-08 22:37 ` Bagas Sanjaya
@ 2025-12-08 22:50 ` Jonathan Corbet
2025-12-08 22:58 ` Bagas Sanjaya
0 siblings, 1 reply; 12+ messages in thread
From: Jonathan Corbet @ 2025-12-08 22:50 UTC (permalink / raw)
To: Bagas Sanjaya, Swaraj Gaikwad, Thomas Gleixner, Ingo Molnar,
Borislav Petkov, Dave Hansen,
maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT), H. Peter Anvin,
open list:X86 ARCHITECTURE (32-BIT AND 64-BIT),
open list:DOCUMENTATION
Cc: skhan, david.hunter.linux
Bagas Sanjaya <bagasdotme@gmail.com> writes:
> I'd like to instead write the patch description as (more concise):
The original was indeed on the verbose side, but please (for the nth
time) resist the temptation to tell other contributors what to do.
> x86 maintainers: please route this patch through x86/urgent branch.
Seriously, Bagas? I think we can figure out how to get this patch
applied.
jon
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-08 22:50 ` Jonathan Corbet
@ 2025-12-08 22:58 ` Bagas Sanjaya
0 siblings, 0 replies; 12+ messages in thread
From: Bagas Sanjaya @ 2025-12-08 22:58 UTC (permalink / raw)
To: Jonathan Corbet, Swaraj Gaikwad, Thomas Gleixner, Ingo Molnar,
Borislav Petkov, Dave Hansen,
maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT), H. Peter Anvin,
open list:X86 ARCHITECTURE (32-BIT AND 64-BIT),
open list:DOCUMENTATION
Cc: skhan, david.hunter.linux
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
On Mon, Dec 08, 2025 at 03:50:02PM -0700, Jonathan Corbet wrote:
> Bagas Sanjaya <bagasdotme@gmail.com> writes:
>
> > I'd like to instead write the patch description as (more concise):
>
> The original was indeed on the verbose side, but please (for the nth
> time) resist the temptation to tell other contributors what to do.
>
> > x86 maintainers: please route this patch through x86/urgent branch.
>
> Seriously, Bagas? I think we can figure out how to get this patch
> applied.
OK, 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] 12+ messages in thread
* [PATCH v2] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-08 21:01 [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst Swaraj Gaikwad
2025-12-08 18:11 ` Randy Dunlap
2025-12-08 22:37 ` Bagas Sanjaya
@ 2025-12-09 8:53 ` Swaraj Gaikwad
2025-12-09 8:53 ` Ingo Molnar
2 siblings, 1 reply; 12+ messages in thread
From: Swaraj Gaikwad @ 2025-12-09 8:53 UTC (permalink / raw)
To: swarajgaikwad1925
Cc: bp, corbet, dave.hansen, david.hunter.linux, hpa, linux-doc,
linux-kernel, mingo, skhan, tglx, x86, Randy Dunlap,
Bagas Sanjaya
Sphinx reports htmldocs warnings:
Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
Text in column margin in table line 2.
The table header defined the first column width as 2 characters ("=="),
which is too narrow for entries like "0x10" and "0x13". This caused the
text to spill into the margin, triggering a docutils parsing failure.
Fix it by extending the first column of assigned boot loader ID to 4
characters ("====") to fit the widest entries.
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
---
Changes in v2:
- Dropped accidental whitespace changes (the second chunk in v1).
- Simplified commit message as suggested by Bagas Sanjaya.
---
Documentation/arch/x86/boot.rst | 48 ++++++++++++++++-----------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
index 6d36ce86fd8e..89e785850f7e 100644
--- a/Documentation/arch/x86/boot.rst
+++ b/Documentation/arch/x86/boot.rst
@@ -433,30 +433,30 @@ Protocol: 2.00+
Assigned boot loader IDs:
- == =======================================
- 0x0 LILO
- (0x00 reserved for pre-2.00 bootloader)
- 0x1 Loadlin
- 0x2 bootsect-loader
- (0x20, all other values reserved)
- 0x3 Syslinux
- 0x4 Etherboot/gPXE/iPXE
- 0x5 ELILO
- 0x7 GRUB
- 0x8 U-Boot
- 0x9 Xen
- 0xA Gujin
- 0xB Qemu
- 0xC Arcturus Networks uCbootloader
- 0xD kexec-tools
- 0xE Extended (see ext_loader_type)
- 0xF Special (0xFF = undefined)
- 0x10 Reserved
- 0x11 Minimal Linux Bootloader
- <http://sebastian-plotz.blogspot.de>
- 0x12 OVMF UEFI virtualization stack
- 0x13 barebox
- == =======================================
+==== ==============================
+0x0 LILO
+ (0x00 reserved for pre-2.00 bootloader)
+0x1 Loadlin
+0x2 bootsect-loader
+ (0x20, all other values reserved)
+0x3 Syslinux
+0x4 Etherboot/gPXE/iPXE
+0x5 ELILO
+0x7 GRUB
+0x8 U-Boot
+0x9 Xen
+0xA Gujin
+0xB Qemu
+0xC Arcturus Networks uCbootloader
+0xD kexec-tools
+0xE Extended (see ext_loader_type)
+0xF Special (0xFF = undefined)
+0x10 Reserved
+0x11 Minimal Linux Bootloader
+ <http://sebastian-plotz.blogspot.de>
+0x12 OVMF UEFI virtualization stack
+0x13 barebox
+==== ==============================
Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.
--
2.52.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-09 8:53 ` [PATCH v2] " Swaraj Gaikwad
@ 2025-12-09 8:53 ` Ingo Molnar
2025-12-09 18:15 ` Randy Dunlap
2025-12-10 1:14 ` [PATCH v2] " Swaraj Gaikwad
0 siblings, 2 replies; 12+ messages in thread
From: Ingo Molnar @ 2025-12-09 8:53 UTC (permalink / raw)
To: Swaraj Gaikwad
Cc: bp, corbet, dave.hansen, david.hunter.linux, hpa, linux-doc,
linux-kernel, mingo, skhan, tglx, x86, Randy Dunlap,
Bagas Sanjaya
* Swaraj Gaikwad <swarajgaikwad1925@gmail.com> wrote:
> Sphinx reports htmldocs warnings:
>
> Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
> Text in column margin in table line 2.
>
> The table header defined the first column width as 2 characters ("=="),
> which is too narrow for entries like "0x10" and "0x13". This caused the
> text to spill into the margin, triggering a docutils parsing failure.
>
> Fix it by extending the first column of assigned boot loader ID to 4
> characters ("====") to fit the widest entries.
>
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org>
> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
> Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
> ---
> Changes in v2:
> - Dropped accidental whitespace changes (the second chunk in v1).
> - Simplified commit message as suggested by Bagas Sanjaya.
>
> ---
> Documentation/arch/x86/boot.rst | 48 ++++++++++++++++-----------------
> 1 file changed, 24 insertions(+), 24 deletions(-)
>
> diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
> index 6d36ce86fd8e..89e785850f7e 100644
> --- a/Documentation/arch/x86/boot.rst
> +++ b/Documentation/arch/x86/boot.rst
> @@ -433,30 +433,30 @@ Protocol: 2.00+
>
> Assigned boot loader IDs:
>
> - == =======================================
> - 0x0 LILO
> - (0x00 reserved for pre-2.00 bootloader)
> - 0x1 Loadlin
> - 0x2 bootsect-loader
> - (0x20, all other values reserved)
> - 0x3 Syslinux
> - 0x4 Etherboot/gPXE/iPXE
> - 0x5 ELILO
> - 0x7 GRUB
> - 0x8 U-Boot
> - 0x9 Xen
> - 0xA Gujin
> - 0xB Qemu
> - 0xC Arcturus Networks uCbootloader
> - 0xD kexec-tools
> - 0xE Extended (see ext_loader_type)
> - 0xF Special (0xFF = undefined)
> - 0x10 Reserved
> - 0x11 Minimal Linux Bootloader
> - <http://sebastian-plotz.blogspot.de>
> - 0x12 OVMF UEFI virtualization stack
> - 0x13 barebox
> - == =======================================
> +==== ==============================
> +0x0 LILO
> + (0x00 reserved for pre-2.00 bootloader)
> +0x1 Loadlin
> +0x2 bootsect-loader
> + (0x20, all other values reserved)
> +0x3 Syslinux
> +0x4 Etherboot/gPXE/iPXE
> +0x5 ELILO
> +0x7 GRUB
> +0x8 U-Boot
> +0x9 Xen
> +0xA Gujin
> +0xB Qemu
> +0xC Arcturus Networks uCbootloader
> +0xD kexec-tools
> +0xE Extended (see ext_loader_type)
> +0xF Special (0xFF = undefined)
> +0x10 Reserved
> +0x11 Minimal Linux Bootloader
> + <http://sebastian-plotz.blogspot.de>
> +0x12 OVMF UEFI virtualization stack
> +0x13 barebox
> +==== ==============================
So why was the leading tab dropped and why wasn't this change,
unnecessary to the bug fix in question, declared in the changelog?
Thanks,
Ingo
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-09 8:53 ` Ingo Molnar
@ 2025-12-09 18:15 ` Randy Dunlap
2025-12-09 21:10 ` Randy Dunlap
2025-12-10 1:14 ` [PATCH v2] " Swaraj Gaikwad
1 sibling, 1 reply; 12+ messages in thread
From: Randy Dunlap @ 2025-12-09 18:15 UTC (permalink / raw)
To: Ingo Molnar, Swaraj Gaikwad
Cc: bp, corbet, dave.hansen, david.hunter.linux, hpa, linux-doc,
linux-kernel, mingo, skhan, tglx, x86, Bagas Sanjaya
On 12/9/25 12:53 AM, Ingo Molnar wrote:
> * Swaraj Gaikwad <swarajgaikwad1925@gmail.com> wrote:
>
>> Sphinx reports htmldocs warnings:
>>
>> Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
>> Text in column margin in table line 2.
>>
>> The table header defined the first column width as 2 characters ("=="),
>> which is too narrow for entries like "0x10" and "0x13". This caused the
>> text to spill into the margin, triggering a docutils parsing failure.
>>
>> Fix it by extending the first column of assigned boot loader ID to 4
>> characters ("====") to fit the widest entries.
>>
>> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
>> Tested-by: Randy Dunlap <rdunlap@infradead.org>
>> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
>> Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
>> ---
>> Changes in v2:
>> - Dropped accidental whitespace changes (the second chunk in v1).
>> - Simplified commit message as suggested by Bagas Sanjaya.
>>
>> ---
>> Documentation/arch/x86/boot.rst | 48 ++++++++++++++++-----------------
>> 1 file changed, 24 insertions(+), 24 deletions(-)
>>
>> diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
>> index 6d36ce86fd8e..89e785850f7e 100644
>> --- a/Documentation/arch/x86/boot.rst
>> +++ b/Documentation/arch/x86/boot.rst
>> @@ -433,30 +433,30 @@ Protocol: 2.00+
>>
>> Assigned boot loader IDs:
>>
>> - == =======================================
>> - 0x0 LILO
>> - (0x00 reserved for pre-2.00 bootloader)
>> - 0x1 Loadlin
>> - 0x2 bootsect-loader
>> - (0x20, all other values reserved)
>> - 0x3 Syslinux
>> - 0x4 Etherboot/gPXE/iPXE
>> - 0x5 ELILO
>> - 0x7 GRUB
>> - 0x8 U-Boot
>> - 0x9 Xen
>> - 0xA Gujin
>> - 0xB Qemu
>> - 0xC Arcturus Networks uCbootloader
>> - 0xD kexec-tools
>> - 0xE Extended (see ext_loader_type)
>> - 0xF Special (0xFF = undefined)
>> - 0x10 Reserved
>> - 0x11 Minimal Linux Bootloader
>> - <http://sebastian-plotz.blogspot.de>
>> - 0x12 OVMF UEFI virtualization stack
>> - 0x13 barebox
>> - == =======================================
>> +==== ==============================
>> +0x0 LILO
>> + (0x00 reserved for pre-2.00 bootloader)
>> +0x1 Loadlin
>> +0x2 bootsect-loader
>> + (0x20, all other values reserved)
>> +0x3 Syslinux
>> +0x4 Etherboot/gPXE/iPXE
>> +0x5 ELILO
>> +0x7 GRUB
>> +0x8 U-Boot
>> +0x9 Xen
>> +0xA Gujin
>> +0xB Qemu
>> +0xC Arcturus Networks uCbootloader
>> +0xD kexec-tools
>> +0xE Extended (see ext_loader_type)
>> +0xF Special (0xFF = undefined)
>> +0x10 Reserved
>> +0x11 Minimal Linux Bootloader
>> + <http://sebastian-plotz.blogspot.de>
>> +0x12 OVMF UEFI virtualization stack
>> +0x13 barebox
>> +==== ==============================
>
> So why was the leading tab dropped and why wasn't this change,
> unnecessary to the bug fix in question, declared in the changelog?
Hi Ingo,
It makes no difference to the generated html output, but for users
who read Documentation/* files in place, the leading tab indentation
looks a little nicer IMO. Yes?
Thanks for noticing.
--
~Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-09 18:15 ` Randy Dunlap
@ 2025-12-09 21:10 ` Randy Dunlap
2025-12-09 23:17 ` Bagas Sanjaya
2025-12-10 9:28 ` [PATCH v3] " Swaraj Gaikwad
0 siblings, 2 replies; 12+ messages in thread
From: Randy Dunlap @ 2025-12-09 21:10 UTC (permalink / raw)
To: Ingo Molnar, Swaraj Gaikwad
Cc: bp, corbet, dave.hansen, david.hunter.linux, hpa, linux-doc,
linux-kernel, mingo, skhan, tglx, x86, Bagas Sanjaya
On 12/9/25 10:15 AM, Randy Dunlap wrote:
>
>
> On 12/9/25 12:53 AM, Ingo Molnar wrote:
>> * Swaraj Gaikwad <swarajgaikwad1925@gmail.com> wrote:
>>
>>> Sphinx reports htmldocs warnings:
>>>
>>> Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
>>> Text in column margin in table line 2.
>>>
>>> The table header defined the first column width as 2 characters ("=="),
>>> which is too narrow for entries like "0x10" and "0x13". This caused the
>>> text to spill into the margin, triggering a docutils parsing failure.
>>>
>>> Fix it by extending the first column of assigned boot loader ID to 4
>>> characters ("====") to fit the widest entries.
>>>
>>> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
>>> Tested-by: Randy Dunlap <rdunlap@infradead.org>
>>> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
>>> Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
>>> ---
>>> Changes in v2:
>>> - Dropped accidental whitespace changes (the second chunk in v1).
>>> - Simplified commit message as suggested by Bagas Sanjaya.
>>>
>>> ---
>>> Documentation/arch/x86/boot.rst | 48 ++++++++++++++++-----------------
>>> 1 file changed, 24 insertions(+), 24 deletions(-)
>>>
>>> diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
>>> index 6d36ce86fd8e..89e785850f7e 100644
>>> --- a/Documentation/arch/x86/boot.rst
>>> +++ b/Documentation/arch/x86/boot.rst
>>> @@ -433,30 +433,30 @@ Protocol: 2.00+
>>>
>>> Assigned boot loader IDs:
>>>
>>> - == =======================================
>>> - 0x0 LILO
>>> - (0x00 reserved for pre-2.00 bootloader)
>>> - 0x1 Loadlin
>>> - 0x2 bootsect-loader
>>> - (0x20, all other values reserved)
>>> - 0x3 Syslinux
>>> - 0x4 Etherboot/gPXE/iPXE
>>> - 0x5 ELILO
>>> - 0x7 GRUB
>>> - 0x8 U-Boot
>>> - 0x9 Xen
>>> - 0xA Gujin
>>> - 0xB Qemu
>>> - 0xC Arcturus Networks uCbootloader
>>> - 0xD kexec-tools
>>> - 0xE Extended (see ext_loader_type)
>>> - 0xF Special (0xFF = undefined)
>>> - 0x10 Reserved
>>> - 0x11 Minimal Linux Bootloader
>>> - <http://sebastian-plotz.blogspot.de>
>>> - 0x12 OVMF UEFI virtualization stack
>>> - 0x13 barebox
>>> - == =======================================
>>> +==== ==============================
>>> +0x0 LILO
>>> + (0x00 reserved for pre-2.00 bootloader)
>>> +0x1 Loadlin
>>> +0x2 bootsect-loader
>>> + (0x20, all other values reserved)
>>> +0x3 Syslinux
>>> +0x4 Etherboot/gPXE/iPXE
>>> +0x5 ELILO
>>> +0x7 GRUB
>>> +0x8 U-Boot
>>> +0x9 Xen
>>> +0xA Gujin
>>> +0xB Qemu
>>> +0xC Arcturus Networks uCbootloader
>>> +0xD kexec-tools
>>> +0xE Extended (see ext_loader_type)
>>> +0xF Special (0xFF = undefined)
>>> +0x10 Reserved
>>> +0x11 Minimal Linux Bootloader
>>> + <http://sebastian-plotz.blogspot.de>
>>> +0x12 OVMF UEFI virtualization stack
>>> +0x13 barebox
>>> +==== ==============================
>>
>> So why was the leading tab dropped and why wasn't this change,
>> unnecessary to the bug fix in question, declared in the changelog?
>
> Hi Ingo,
>
> It makes no difference to the generated html output, but for users
> who read Documentation/* files in place, the leading tab indentation
> looks a little nicer IMO. Yes?
>
> Thanks for noticing.
FWIW, I would have done it like this:
---
Documentation/arch/x86/boot.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20251205.orig/Documentation/arch/x86/boot.rst
+++ linux-next-20251205/Documentation/arch/x86/boot.rst
@@ -433,7 +433,7 @@ Protocol: 2.00+
Assigned boot loader IDs:
- == =======================================
+ ==== =======================================
0x0 LILO
(0x00 reserved for pre-2.00 bootloader)
0x1 Loadlin
@@ -456,7 +456,7 @@ Protocol: 2.00+
<http://sebastian-plotz.blogspot.de>
0x12 OVMF UEFI virtualization stack
0x13 barebox
- == =======================================
+ ==== =======================================
Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.
--
~Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-09 21:10 ` Randy Dunlap
@ 2025-12-09 23:17 ` Bagas Sanjaya
2025-12-10 9:28 ` [PATCH v3] " Swaraj Gaikwad
1 sibling, 0 replies; 12+ messages in thread
From: Bagas Sanjaya @ 2025-12-09 23:17 UTC (permalink / raw)
To: Randy Dunlap, Ingo Molnar, Swaraj Gaikwad
Cc: bp, corbet, dave.hansen, david.hunter.linux, hpa, linux-doc,
linux-kernel, mingo, skhan, tglx, x86
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
On Tue, Dec 09, 2025 at 01:10:41PM -0800, Randy Dunlap wrote:
> FWIW, I would have done it like this:
>
> ---
> Documentation/arch/x86/boot.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- linux-next-20251205.orig/Documentation/arch/x86/boot.rst
> +++ linux-next-20251205/Documentation/arch/x86/boot.rst
> @@ -433,7 +433,7 @@ Protocol: 2.00+
>
> Assigned boot loader IDs:
>
> - == =======================================
> + ==== =======================================
> 0x0 LILO
> (0x00 reserved for pre-2.00 bootloader)
> 0x1 Loadlin
> @@ -456,7 +456,7 @@ Protocol: 2.00+
> <http://sebastian-plotz.blogspot.de>
> 0x12 OVMF UEFI virtualization stack
> 0x13 barebox
> - == =======================================
> + ==== =======================================
>
> Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.
>
>
That one looks nicer.
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] 12+ messages in thread
* Re: [PATCH v2] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-09 8:53 ` Ingo Molnar
2025-12-09 18:15 ` Randy Dunlap
@ 2025-12-10 1:14 ` Swaraj Gaikwad
1 sibling, 0 replies; 12+ messages in thread
From: Swaraj Gaikwad @ 2025-12-10 1:14 UTC (permalink / raw)
To: mingo
Cc: bagasdotme, bp, corbet, dave.hansen, david.hunter.linux, hpa,
linux-doc, linux-kernel, mingo, rdunlap, skhan, swarajgaikwad1925,
tglx, x86
Hi Ingo,
I dropped the leading tab/indentation because I noticed that most
other tables in this file (boot.rst) are left-aligned without indentation.
I thought it would be better to align this table with the rest of the
document style while applying the width fix.
However, if the preference is to preserve the original indentation
to keep the diff minimal and focused solely on the table width fix, I am
happy to send a v3 that restores the leading tabs.
Please let me know if you would prefer I revert the indentation change.
Thanks,
Swaraj
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v3] Documentation: x86/boot: Fix malformed table in boot.rst
2025-12-09 21:10 ` Randy Dunlap
2025-12-09 23:17 ` Bagas Sanjaya
@ 2025-12-10 9:28 ` Swaraj Gaikwad
1 sibling, 0 replies; 12+ messages in thread
From: Swaraj Gaikwad @ 2025-12-10 9:28 UTC (permalink / raw)
To: rdunlap
Cc: bagasdotme, bp, corbet, dave.hansen, david.hunter.linux, hpa,
linux-doc, linux-kernel, mingo, mingo, skhan, swarajgaikwad1925,
tglx, x86
Sphinx reports htmldocs warnings:
Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
Text in column margin in table line 2.
The table header defined the first column width as 2 characters ("=="),
which is too narrow for entries like "0x10" and "0x13". This caused the
text to spill into the margin, triggering a docutils parsing failure.
Fix it by extending the first column of assigned boot loader ID to 4
characters ("====") to fit the widest entries.
Build environment: Python 3.13.7 Sphinx 8.2.3 docutils 0.22.3
Changes in v3:
- Minimized the diff to only change the table headers, preserving
original indentation and body text, as suggested by Randy Dunlap.
- No other changes
Changes in v2:
- Dropped accidental whitespace changes (the second chunk in v1).
- Simplified commit message as suggested by Bagas Sanjaya.
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
---
Documentation/arch/x86/boot.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/arch/x86/boot.rst b/Documentation/arch/x86/boot.rst
index 6d36ce86fd8e..18574f010d46 100644
--- a/Documentation/arch/x86/boot.rst
+++ b/Documentation/arch/x86/boot.rst
@@ -433,7 +433,7 @@ Protocol: 2.00+
Assigned boot loader IDs:
- == =======================================
+ ==== =======================================
0x0 LILO
(0x00 reserved for pre-2.00 bootloader)
0x1 Loadlin
@@ -456,7 +456,7 @@ Protocol: 2.00+
<http://sebastian-plotz.blogspot.de>
0x12 OVMF UEFI virtualization stack
0x13 barebox
- == =======================================
+ ==== =======================================
Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.
base-commit: cb015814f8b6eebcbb8e46e111d108892c5e6821
--
2.52.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-12-10 3:58 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-08 21:01 [PATCH] Documentation: x86/boot: Fix malformed table in boot.rst Swaraj Gaikwad
2025-12-08 18:11 ` Randy Dunlap
2025-12-08 22:37 ` Bagas Sanjaya
2025-12-08 22:50 ` Jonathan Corbet
2025-12-08 22:58 ` Bagas Sanjaya
2025-12-09 8:53 ` [PATCH v2] " Swaraj Gaikwad
2025-12-09 8:53 ` Ingo Molnar
2025-12-09 18:15 ` Randy Dunlap
2025-12-09 21:10 ` Randy Dunlap
2025-12-09 23:17 ` Bagas Sanjaya
2025-12-10 9:28 ` [PATCH v3] " Swaraj Gaikwad
2025-12-10 1:14 ` [PATCH v2] " Swaraj Gaikwad
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).