mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
powerpc/powernv: Add explicit fast-reboot support
Add a way to manually invoke a fast-reboot rather than setting the NVRAM flag. The idea is to allow userspace to invoke a fast-reboot using the optional string argument to the reboot() system call, or using the xmon zr command so we don't need to leave around a persistent changes on a system to use the feature. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200217024833.30580-2-oohall@gmail.com
This commit is contained in:
parent
16985f2d25
commit
672e480aa2
2 changed files with 3 additions and 0 deletions
|
@ -1067,6 +1067,7 @@ enum {
|
|||
OPAL_REBOOT_PLATFORM_ERROR = 1,
|
||||
OPAL_REBOOT_FULL_IPL = 2,
|
||||
OPAL_REBOOT_MPIPL = 3,
|
||||
OPAL_REBOOT_FAST = 4,
|
||||
};
|
||||
|
||||
/* Argument to OPAL_PCI_TCE_KILL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue