summaryrefslogtreecommitdiff
path: root/drivers/eisa/virtual_root.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2014-06-13 15:35:21 +0400
committerMatt Fleming <matt.fleming@intel.com>2014-07-19 00:23:52 +0400
commit0c5ed61adbdbf2ca5de934642d5be1e971c498c1 (patch)
tree99c8e1a6e69d58b3902118dcfcd8a261b67ff254 /drivers/eisa/virtual_root.c
parent8562c99cdd30217dea3609e268572f8764f401a5 (diff)
downloadlinux-0c5ed61adbdbf2ca5de934642d5be1e971c498c1.tar.xz
efi/reboot: Allow powering off machines using EFI
Not only can EfiResetSystem() be used to reboot, it can also be used to power down machines. By and large, this functionality doesn't work very well across the range of EFI machines in the wild, so it should definitely only be used as a last resort. In an ideal world, this wouldn't be needed at all. Unfortunately, we're starting to see machines where EFI is the *only* reliable way to power down, and nothing else, not PCI, not ACPI, works. efi_poweroff_required() should be implemented on a per-architecture basis, since exactly when we should be using EFI runtime services is a platform-specific decision. There's no analogue for reboot because each architecture handles reboot very differently - the x86 code in particular is pretty complex. Patches to enable this for specific classes of hardware will be submitted separately. Tested-by: Mark Salter <msalter@redhat.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/eisa/virtual_root.c')
0 files changed, 0 insertions, 0 deletions