summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-kernel-reboot
blob: e117aba46be0e8d3cdff3abfb678f8847a726122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
What:		/sys/kernel/reboot
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <mcroce@microsoft.com>
Description:	Interface to set the kernel reboot behavior, similarly to
		what can be done via the reboot= cmdline option.
		(see Documentation/admin-guide/kernel-parameters.txt)

What:		/sys/kernel/reboot/mode
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <mcroce@microsoft.com>
Description:	Reboot mode. Valid values are: cold warm hard soft gpio

What:		/sys/kernel/reboot/type
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <mcroce@microsoft.com>
Description:	Reboot type. Valid values are: bios acpi kbd triple efi pci

What:		/sys/kernel/reboot/cpu
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <mcroce@microsoft.com>
Description:	CPU number to use to reboot.

What:		/sys/kernel/reboot/force
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <mcroce@microsoft.com>
Description:	Don't wait for any other CPUs on reboot and
		avoid anything that could hang.

What:		/sys/kernel/reboot/hw_protection
Date:		April 2025
KernelVersion:	6.15
Contact:	Ahmad Fatoum <a.fatoum@pengutronix.de>
Description:	Hardware protection action taken on critical events like
		overtemperature or imminent voltage loss.
		Valid values are: reboot shutdown