]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation/kernel-parameters: fix architecture alignment for pt, nopt, and nobypass
authorLi RongQing <lirongqing@baidu.com>
Mon, 30 Mar 2026 10:59:57 +0000 (06:59 -0400)
committerJonathan Corbet <corbet@lwn.net>
Thu, 9 Apr 2026 14:36:52 +0000 (08:36 -0600)
Commit ab0e7f20768a ("Documentation: Merge x86-specific boot options doc
into kernel-parameters.txt") introduced a formatting regression where
architecture tags were placed on separate lines with broken indentation.
This caused the 'nopt' [X86] parameter to appear as if it belonged to
the [PPC/POWERNV] section.

Furthermore, since the main 'iommu=' parameter heading already specifies
it is for [X86, EARLY], the subsequent standalone [X86] tags for 'pt',
'nopt', and the AMD GART options are redundant and clutter the
documentation.

Clean up the formatting by removing these redundant tags and properly
attributing the 'nobypass' option to [PPC/POWERNV].

Fixes: ab0e7f20768a ("Documentation: Merge x86-specific boot options doc into kernel-parameters.txt")
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260330105957.2271-1-lirongqing@baidu.com>

Documentation/admin-guide/kernel-parameters.txt

index c3460c920f84688f05c559f3bc0b6fd703729edb..b88b5f74d52742ffd2c7b08f2efd077424ba3e50 100644 (file)
@@ -2614,15 +2614,11 @@ Kernel parameters
                        Intel machines). This can be used to prevent the usage
                        of an available hardware IOMMU.
 
-                       [X86]
                pt
-                       [X86]
                nopt
-                       [PPC/POWERNV]
-               nobypass
+               nobypass        [PPC/POWERNV]
                        Disable IOMMU bypass, using IOMMU for PCI devices.
 
-               [X86]
                AMD Gart HW IOMMU-specific options:
 
                <size>