From: Mark Salter <msalter@redhat.com>
To: Matt Fleming <matt@console-pimps.org>
Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
"H. Peter Anvin" <hpa@zytor.com>,
Aubrey Li <aubrey.li@linux.intel.com>,
Matt Fleming <matt.fleming@intel.com>
Subject: Re: [PATCH 2/3] efi/reboot: Allow powering off machines using EFI
Date: Mon, 23 Jun 2014 17:20:24 -0400 [thread overview]
Message-ID: <1403558424.755.58.camel@deneb.redhat.com> (raw)
In-Reply-To: <1403185225-9031-3-git-send-email-matt@console-pimps.org>
On Thu, 2014-06-19 at 14:40 +0100, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@intel.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@redhat.com>
> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
> ---
Tested-by: Mark Salter <msalter@redhat.com>
next prev parent reply other threads:[~2014-06-23 21:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 13:40 [PATCH 0/3] EFI reboot/poweroff support Matt Fleming
2014-06-19 13:40 ` [PATCH 1/3] efi/reboot: Add generic wrapper around EfiResetSystem() Matt Fleming
2014-06-23 21:18 ` Mark Salter
2014-06-19 13:40 ` [PATCH 2/3] efi/reboot: Allow powering off machines using EFI Matt Fleming
2014-06-23 21:20 ` Mark Salter [this message]
2014-06-19 13:40 ` [PATCH 3/3] x86/reboot: Add EFI reboot quirk for ACPI Hardware Reduced flag Matt Fleming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403558424.755.58.camel@deneb.redhat.com \
--to=msalter@redhat.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=aubrey.li@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=matt@console-pimps.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox