Re: [PATCH] Documentation/kernel-parameters: Move the kernel build options

From: Randy Dunlap

Date: Wed Nov 12 2025 - 20:12:37 EST


Hi,

On 11/12/25 3:46 AM, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>
>
> Move the kernel build options abbreviations to the .txt file so that
> they are together instead of one having to go hunt them in the .rst
> file.
>
> Tweak the formatting so that the inclusion of kernel-parameters.txt
> still keeps the whole thing somewhat presentable in the html output too.
>
> Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
> ---
> .../admin-guide/kernel-parameters.rst | 97 +-----------------
> .../admin-guide/kernel-parameters.txt | 98 +++++++++++++++++++
> 2 files changed, 99 insertions(+), 96 deletions(-)
>

[snip]

> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 6c42061ca20e..e85a91e63f48 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -1,3 +1,101 @@

[snip]

> + X86_UV SGI UV support is enabled.
> + XEN Xen support is enabled
> + XTENSA xtensa architecture is enabled.
> +
> +In addition, the following text indicates that the option
> +
> + BOOT Is a boot loader parameter.
> + BUGS= Relates to possible processor bugs on the said processor.
> + KNL Is a kernel start-up parameter.
> +
> +
> +Kernel parameters
> +
> accept_memory= [MM]
> Format: { eager | lazy }
> default: lazy

WorksForMe although I prefer to highlight the "Kernel Parameters" line somehow,
e.g., all caps or underline with "======================" (yes, that's still a
literal underline, not a Sphinx doc. heading).


Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

--
~Randy