projects/linux·blob master · refs

40 lines · 1.3 KiB

1What: /sys/kernel/reboot
2Date: November 2020
3KernelVersion: 5.11
4Contact: Matteo Croce <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
25Description: CPU number to use to reboot.
26
27What: /sys/kernel/reboot/force
28Date: November 2020
29KernelVersion: 5.11
30Contact: Matteo Croce <[email protected]>
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 <[email protected]>
38Description: Hardware protection action taken on critical events like
39 overtemperature or imminent voltage loss.
40 Valid values are: reboot shutdown