lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 23 Jun 2014 17:20:24 -0400
From:	Mark Salter <msalter@...hat.com>
To:	Matt Fleming <matt@...sole-pimps.org>
Cc:	linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
	Alan Cox <alan@...rguk.ukuu.org.uk>,
	"H. Peter Anvin" <hpa@...or.com>,
	Aubrey Li <aubrey.li@...ux.intel.com>,
	Matt Fleming <matt.fleming@...el.com>
Subject: Re: [PATCH 2/3] efi/reboot: Allow powering off machines using EFI

On Thu, 2014-06-19 at 14:40 +0100, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@...el.com>
> 
> 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.
> 
> Cc: Mark Salter <msalter@...hat.com>
> Signed-off-by: Matt Fleming <matt.fleming@...el.com>
> ---

Tested-by: Mark Salter <msalter@...hat.com>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ