xref: /linux/Documentation/ABI/testing/sysfs-kernel-reboot (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1*2c622ed0SMatteo CroceWhat:		/sys/kernel/reboot
2*2c622ed0SMatteo CroceDate:		November 2020
3*2c622ed0SMatteo CroceKernelVersion:	5.11
4*2c622ed0SMatteo CroceContact:	Matteo Croce <mcroce@microsoft.com>
5*2c622ed0SMatteo CroceDescription:	Interface to set the kernel reboot behavior, similarly to
6*2c622ed0SMatteo Croce		what can be done via the reboot= cmdline option.
7*2c622ed0SMatteo Croce		(see Documentation/admin-guide/kernel-parameters.txt)
8*2c622ed0SMatteo Croce
9*2c622ed0SMatteo CroceWhat:		/sys/kernel/reboot/mode
10*2c622ed0SMatteo CroceDate:		November 2020
11*2c622ed0SMatteo CroceKernelVersion:	5.11
12*2c622ed0SMatteo CroceContact:	Matteo Croce <mcroce@microsoft.com>
13*2c622ed0SMatteo CroceDescription:	Reboot mode. Valid values are: cold warm hard soft gpio
14*2c622ed0SMatteo Croce
15*2c622ed0SMatteo CroceWhat:		/sys/kernel/reboot/type
16*2c622ed0SMatteo CroceDate:		November 2020
17*2c622ed0SMatteo CroceKernelVersion:	5.11
18*2c622ed0SMatteo CroceContact:	Matteo Croce <mcroce@microsoft.com>
19*2c622ed0SMatteo CroceDescription:	Reboot type. Valid values are: bios acpi kbd triple efi pci
20*2c622ed0SMatteo Croce
21*2c622ed0SMatteo CroceWhat:		/sys/kernel/reboot/cpu
22*2c622ed0SMatteo CroceDate:		November 2020
23*2c622ed0SMatteo CroceKernelVersion:	5.11
24*2c622ed0SMatteo CroceContact:	Matteo Croce <mcroce@microsoft.com>
25*2c622ed0SMatteo CroceDescription:	CPU number to use to reboot.
26*2c622ed0SMatteo Croce
27*2c622ed0SMatteo CroceWhat:		/sys/kernel/reboot/force
28*2c622ed0SMatteo CroceDate:		November 2020
29*2c622ed0SMatteo CroceKernelVersion:	5.11
30*2c622ed0SMatteo CroceContact:	Matteo Croce <mcroce@microsoft.com>
31*2c622ed0SMatteo CroceDescription:	Don't wait for any other CPUs on reboot and
32*2c622ed0SMatteo Croce		avoid anything that could hang.
33