Matteo Croce | 2c622ed | 2020-12-15 20:46:57 -0800 | [diff] [blame] | 1 | What: /sys/kernel/reboot |
| 2 | Date: November 2020 |
| 3 | KernelVersion: 5.11 |
| 4 | Contact: Matteo Croce <mcroce@microsoft.com> |
| 5 | Description: 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 | |
| 9 | What: /sys/kernel/reboot/mode |
| 10 | Date: November 2020 |
| 11 | KernelVersion: 5.11 |
| 12 | Contact: Matteo Croce <mcroce@microsoft.com> |
| 13 | Description: Reboot mode. Valid values are: cold warm hard soft gpio |
| 14 | |
| 15 | What: /sys/kernel/reboot/type |
| 16 | Date: November 2020 |
| 17 | KernelVersion: 5.11 |
| 18 | Contact: Matteo Croce <mcroce@microsoft.com> |
| 19 | Description: Reboot type. Valid values are: bios acpi kbd triple efi pci |
| 20 | |
| 21 | What: /sys/kernel/reboot/cpu |
| 22 | Date: November 2020 |
| 23 | KernelVersion: 5.11 |
| 24 | Contact: Matteo Croce <mcroce@microsoft.com> |
| 25 | Description: CPU number to use to reboot. |
| 26 | |
| 27 | What: /sys/kernel/reboot/force |
| 28 | Date: November 2020 |
| 29 | KernelVersion: 5.11 |
| 30 | Contact: Matteo Croce <mcroce@microsoft.com> |
| 31 | Description: Don't wait for any other CPUs on reboot and |
| 32 | avoid anything that could hang. |