linux/drivers/firmware/efi
Matt Fleming 0c5ed61adb 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>
2014-07-18 21:23:52 +01:00
..
libstub efi: efistub: Convert into static library 2014-07-18 21:22:19 +01:00
cper.c Move cper.c from drivers/acpi/apei to drivers/firmware/efi 2013-10-31 11:27:04 -07:00
efi-pstore.c pstore: Don't allow high traffic options on fragile devices 2013-12-20 13:12:01 -08:00
efi.c efi: add helper function to get UEFI params from FDT 2014-04-30 19:49:46 +01:00
efivars.c efivars: Add compatibility code for compat tasks 2014-04-17 13:53:53 +01:00
Kconfig efi: efistub: Convert into static library 2014-07-18 21:22:19 +01:00
Makefile efi/reboot: Add generic wrapper around EfiResetSystem() 2014-07-18 21:23:51 +01:00
reboot.c efi/reboot: Allow powering off machines using EFI 2014-07-18 21:23:52 +01:00
runtime-map.c efi: Export EFI runtime memory mapping to sysfs 2013-12-21 15:29:36 +00:00
runtime-wrappers.c efi/x86: Move UEFI Runtime Services wrappers to generic code 2014-07-07 20:12:53 +01:00
vars.c efivars: Stop passing a struct argument to efivar_validate() 2014-04-17 13:53:43 +01:00