xref: /linux/Documentation/ABI/testing/sysfs-kernel-reboot (revision 6fea5fabd3323cd27b2ab5143263f37ff29550cb)
1What:		/sys/kernel/reboot
2Date:		November 2020
3KernelVersion:	5.11
4Contact:	Matteo Croce <teknoraver@meta.com>
5Description:	Interface to set the kernel reboot behavior, similarly to
6		what can be done via the reboot= cmdline option.
7		(see Documentation/admin-guide/kernel-parameters.txt)
8
9What:		/sys/kernel/reboot/mode
10Date:		November 2020
11KernelVersion:	5.11
12Contact:	Matteo Croce <teknoraver@meta.com>
13Description:	Reboot mode. Valid values are: cold warm hard soft gpio
14
15What:		/sys/kernel/reboot/type
16Date:		November 2020
17KernelVersion:	5.11
18Contact:	Matteo Croce <teknoraver@meta.com>
19Description:	Reboot type. Valid values are: bios acpi kbd triple efi pci
20
21What:		/sys/kernel/reboot/cpu
22Date:		November 2020
23KernelVersion:	5.11
24Contact:	Matteo Croce <teknoraver@meta.com>
25Description:	CPU number to use to reboot.
26
27What:		/sys/kernel/reboot/force
28Date:		November 2020
29KernelVersion:	5.11
30Contact:	Matteo Croce <teknoraver@meta.com>
31Description:	Don't wait for any other CPUs on reboot and
32		avoid anything that could hang.
33
34What:		/sys/kernel/reboot/hw_protection
35Date:		April 2025
36KernelVersion:	6.15
37Contact:	Ahmad Fatoum <a.fatoum@pengutronix.de>
38Description:	Hardware protection action taken on critical events like
39		overtemperature or imminent voltage loss.
40		Valid values are: reboot shutdown
41