Skip to contentSkip to conversation

printk: Document that CONFIG_BOOT_PRINTK_DELAY required for boot_delay=

PATCH Applied Bjorn Helgaas 3 participants 3 messages Jan 26, 2023 – Feb 2, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 printk: Document that CONFIG_BOOT_PRINTK_DELAY required for boot_delay=

From: Bjorn Helgaas <[email protected]>

Document the fact that CONFIG_BOOT_PRINTK_DELAY must be enabled for the "boot_delay" kernel parameter to work. Also mention that "lpj=" may be necessary.

---
Changes from v1 (https://lore.kernel.org/all/[email protected]/):
- Clarify use of "lpj=". Reword consequences of delay larger than 10000.

 Documentation/admin-guide/kernel-parameters.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +4 -2
index 6cfa6e3996cf..814e58487239 100644
@@ -480,8 +480,10 @@
 			See Documentation/block/cmdline-partition.rst
 
 	boot_delay=	Milliseconds to delay each printk during boot.
-			Values larger than 10 seconds (10000) are changed to
-			no delay (0).
+			Only works if CONFIG_BOOT_PRINTK_DELAY is enabled,
+			and you may also have to specify "lpj=".  Boot_delay
+			values larger than 10 seconds (10000) are assumed
+			erroneous and ignored.
 			Format: integer
 
 	bootconfig	[KNL]
Signature · 1 line
2.25.1
reviewer Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · Bjorn Helgaas

From: Bjorn Helgaas <[email protected]>

Document the fact that CONFIG_BOOT_PRINTK_DELAY must be enabled for the "boot_delay" kernel parameter to work. Also mention that "lpj=" may be necessary.

Thanks.

Quoted 24 lines

---
Changes from v1 (https://lore.kernel.org/all/[email protected]/):
- Clarify use of "lpj=". Reword consequences of delay larger than 10000.

 Documentation/admin-guide/kernel-parameters.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +4 -2
index 6cfa6e3996cf..814e58487239 100644
@@ -480,8 +480,10 @@
 			See Documentation/block/cmdline-partition.rst
 
 	boot_delay=	Milliseconds to delay each printk during boot.
-			Values larger than 10 seconds (10000) are changed to
-			no delay (0).
+			Only works if CONFIG_BOOT_PRINTK_DELAY is enabled,
+			and you may also have to specify "lpj=".  Boot_delay
+			values larger than 10 seconds (10000) are assumed
+			erroneous and ignored.
 			Format: integer
 
 	bootconfig	[KNL]
Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Bjorn Helgaas
Quoted 19 lines · Bjorn Helgaas

From: Bjorn Helgaas <[email protected]>

Document the fact that CONFIG_BOOT_PRINTK_DELAY must be enabled for the "boot_delay" kernel parameter to work. Also mention that "lpj=" may be necessary.

---
Changes from v1 (https://lore.kernel.org/all/[email protected]/):
- Clarify use of "lpj=". Reword consequences of delay larger than 10000.

 Documentation/admin-guide/kernel-parameters.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +0 -0
index 6cfa6e3996cf..814e58487239 100644

Documentation/admin-guide/kernel-parameters.txt line 487

Quoted 10 lines
Documentation/admin-guide/kernel-parameters.txt +4 -2
@@ -480,8 +480,10 @@
 			See Documentation/block/cmdline-partition.rst
 
 	boot_delay=	Milliseconds to delay each printk during boot.
-			Values larger than 10 seconds (10000) are changed to
-			no delay (0).
+			Only works if CONFIG_BOOT_PRINTK_DELAY is enabled,
+			and you may also have to specify "lpj=".  Boot_delay
+			values larger than 10 seconds (10000) are assumed
+			erroneous and ignored.
 			Format: integer

Applied, thanks.

jon