xref: /linux/Documentation/ABI/testing/sysfs-kernel-reboot (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1What:		/sys/kernel/reboot
2Date:		November 2020
3KernelVersion:	5.11
4Contact:	Matteo Croce <mcroce@microsoft.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 <mcroce@microsoft.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 <mcroce@microsoft.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 <mcroce@microsoft.com>
25Description:	CPU number to use to reboot.
26
27What:		/sys/kernel/reboot/force
28Date:		November 2020
29KernelVersion:	5.11
30Contact:	Matteo Croce <mcroce@microsoft.com>
31Description:	Don't wait for any other CPUs on reboot and
32		avoid anything that could hang.
33