docs: panic: cleanups for panic params
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 15 Jul 2023 03:48:11 +0000 (20:48 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 21 Jul 2023 21:01:19 +0000 (15:01 -0600)
Move 'panic_print' to its correct place in alphabetical order.
Add parameter format for 'pause_on_oops'.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230715034811.9665-1-rdunlap@infradead.org
Documentation/admin-guide/kernel-parameters.txt

index 86d977287e80e4a974a4ff7817b71dc26000c176..57278bce9baf8f1bdf2bf8be44500c548d31129d 100644 (file)
                        timeout < 0: reboot immediately
                        Format: <timeout>
 
-       panic_print=    Bitmask for printing system info when panic happens.
-                       User can chose combination of the following bits:
-                       bit 0: print all tasks info
-                       bit 1: print system memory info
-                       bit 2: print timer info
-                       bit 3: print locks info if CONFIG_LOCKDEP is on
-                       bit 4: print ftrace buffer
-                       bit 5: print all printk messages in buffer
-                       bit 6: print all CPUs backtrace (if available in the arch)
-                       *Be aware* that this option may print a _lot_ of lines,
-                       so there are risks of losing older messages in the log.
-                       Use this option carefully, maybe worth to setup a
-                       bigger log buffer with "log_buf_len" along with this.
-
        panic_on_taint= Bitmask for conditionally calling panic() in add_taint()
                        Format: <hex>[,nousertaint]
                        Hexadecimal bitmask representing the set of TAINT flags
        panic_on_warn=1 panic() instead of WARN().  Useful to cause kdump
                        on a WARN().
 
+       panic_print=    Bitmask for printing system info when panic happens.
+                       User can chose combination of the following bits:
+                       bit 0: print all tasks info
+                       bit 1: print system memory info
+                       bit 2: print timer info
+                       bit 3: print locks info if CONFIG_LOCKDEP is on
+                       bit 4: print ftrace buffer
+                       bit 5: print all printk messages in buffer
+                       bit 6: print all CPUs backtrace (if available in the arch)
+                       *Be aware* that this option may print a _lot_ of lines,
+                       so there are risks of losing older messages in the log.
+                       Use this option carefully, maybe worth to setup a
+                       bigger log buffer with "log_buf_len" along with this.
+
        parkbd.port=    [HW] Parallel port number the keyboard adapter is
                        connected to, default is 0.
                        Format: <parport#>
                        mode 0, bit 1 is for mode 1, and so on.  Mode 0 only
                        allowed by default.
 
-       pause_on_oops=
+       pause_on_oops=<int>
                        Halt all CPUs after the first oops has been printed for
                        the specified number of seconds.  This is to be used if
                        your oopses keep scrolling off the screen.