Skip to content

Commit 12febc1

Browse files
Paul GortmakerKAGA-KOKO
authored andcommitted
x86/reboot: Document how to override DMI platform quirks
commit 5955633 ("x86/reboot: Skip DMI checks if reboot set by user") made it so that it's not required to recompile the kernel in order to bypass broken reboot quirks compiled into an image: * This variable is used privately to keep track of whether or not * reboot_type is still set to its default value (i.e., reboot= hasn't * been set on the command line). This is needed so that we can * suppress DMI scanning for reboot quirks. Without it, it's * impossible to override a faulty reboot quirk without recompiling. However, at the time it was not eally documented outside the source code, and so this information isn't really available to the average user out there. The change is a little white lie and invented "reboot=default" since it is easy to remember, and documents well. The truth is that any random string that is *not* a currently accepted string will work. Since that doesn't document well for non-coders, and since it's unknown what the future additions might be, lay claim on "default" since that is exactly what it achieves. Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 162a528 commit 12febc1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4777,7 +4777,7 @@
47774777

47784778
reboot= [KNL]
47794779
Format (x86 or x86_64):
4780-
[w[arm] | c[old] | h[ard] | s[oft] | g[pio]] \
4780+
[w[arm] | c[old] | h[ard] | s[oft] | g[pio]] | d[efault] \
47814781
[[,]s[mp]#### \
47824782
[[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
47834783
[[,]f[orce]

Documentation/x86/x86_64/boot-options.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ Rebooting
157157
Don't stop other CPUs on reboot. This can make reboot more reliable
158158
in some cases.
159159

160+
reboot=default
161+
There are some built-in platform specific "quirks" - you may see:
162+
"reboot: <name> series board detected. Selecting <type> for reboots."
163+
In the case where you think the quirk is in error (e.g. you have
164+
newer BIOS, or newer board) using this option will ignore the built-in
165+
quirk table, and use the generic default reboot actions.
166+
160167
Non Executable Mappings
161168
=======================
162169

0 commit comments

Comments
 (0)