[PATCH v2] Documentation/kernel-parameters: fix architecture alignment for pt, nopt, and nobypass

lirongqing posted 1 patch 2 days, 14 hours ago
Documentation/admin-guide/kernel-parameters.txt | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
[PATCH v2] Documentation/kernel-parameters: fix architecture alignment for pt, nopt, and nobypass
Posted by lirongqing 2 days, 14 hours ago
From: Li RongQing <lirongqing@baidu.com>

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>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Feng Tang <feng.tang@linux.alibaba.com>
Cc: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Cc: Dapeng Mi <dapeng1.mi@linux.intel.com>
Cc: Kees Cook <kees@kernel.org>
Cc: Marco Elver <elver@google.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Askar Safin <safinaskar@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Sohil Mehta <sohil.mehta@intel.com>
---
 Documentation/admin-guide/kernel-parameters.txt | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 03a5506..5253c23 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -2615,15 +2615,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>
-- 
2.9.4