aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-02-17 12:02:24 +1100
committerOliver O'Halloran <oohall@gmail.com>2020-02-26 20:35:27 +1100
commitee07f2c68160300c82ab92dfeeeeb96ecbfe6c8e (patch)
treeb4ed271b947909f46721906cc53bdf0127b2d1f7 /hw/fsp
parent10bbcd0788bc73ec675eb06e6c84faab5aab4461 (diff)
downloadskiboot-ee07f2c68160300c82ab92dfeeeeb96ecbfe6c8e.zip
skiboot-ee07f2c68160300c82ab92dfeeeeb96ecbfe6c8e.tar.gz
skiboot-ee07f2c68160300c82ab92dfeeeeb96ecbfe6c8e.tar.bz2
core/fast-reset: Do not enable by default
Fast reboot started life as a debug hack and it escaped into the wild when Stewart enabled it by default. There was some reasons for this, but the main one is that a full reboot takes somewhere between one and five minutes. For those of us who spend all day rebooting their POWER systems this is great, but the utility for end users has always been pretty questionable. Rebooting a system should be a fairly infrequent activity in the field with the main reasons for doing one being: 1) Kernel updates, 2) Misbehaving hardware Although 1) can be performed by kexec we have found that it fails due to 2) occasionally. The reason for 2) is usually hardware getting itself into a bad state. The universal fix for that type of hardware problem is turning the hardware off and back on again so it's preferable that a reboot actually does that. This patch refactors the reboot handling OPAL calls so that fast-reboot is only used by default when explicitly enabled, or manually invoked. This allows developers to continue to use fast-reboot without expecting users deal with its quirks (and understand how a "normal" reboot, fast-reboot and MPIPL differ). This has two user visible changes: 1. Full reboot is now the default. In order to get fast-reboot as the default the nvram option needs to be set: nvram -p ibm,skiboot --update-config fast-reset=1 2. The nvram option to force a fast-reboot even when some part of skiboot has called disable_fast_reboot() has changed from 'fast-reset=im-feeling-lucky' to 'force-fast-reset=1' because it's impossible to actually use that 'feature' if fast-reboot is off by default. nvram -p ibm,skiboot --update-config force-fast-reset=1 Cc: Stewart Smith <stewart@flamingspork.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/fsp')
0 files changed, 0 insertions, 0 deletions