mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Fleming <matt@console-pimps.org>
To: linux-efi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Mark Salter <msalter@redhat.com>,
	Aubrey Li <aubrey.li@linux.intel.com>,
	Matt Fleming <matt.fleming@intel.com>
Subject: [PATCH 0/3] EFI reboot/poweroff support
Date: Thu, 19 Jun 2014 14:40:22 +0100	[thread overview]
Message-ID: <1403185225-9031-1-git-send-email-matt@console-pimps.org> (raw)

From: Matt Fleming <matt.fleming@intel.com>

Both x86 and ARM need a way to reboot/poweroff machines using the EFI
runtime services.

For x86, we want to really, really restrict this support to those
platforms that absolultely have no other method because EfiResetSystem()
doesn't generally work very well in the wild. The ARM folks probably
need to be less picky.

This series is against the EFI 'next' branch.

Matt Fleming (3):
  efi/reboot: Add generic wrapper around EfiResetSystem()
  efi/reboot: Allow powering off machines using EFI
  x86/reboot: Add EFI reboot quirk for ACPI Hardware Reduced flag

 arch/ia64/kernel/process.c     |  2 +-
 arch/x86/include/asm/efi.h     |  6 +++++
 arch/x86/kernel/reboot.c       | 24 ++++++++++++------
 arch/x86/platform/efi/quirks.c | 23 ++++++++++++++++++
 drivers/firmware/efi/Makefile  |  2 +-
 drivers/firmware/efi/reboot.c  | 55 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/efi.h            |  7 ++++++
 7 files changed, 110 insertions(+), 9 deletions(-)
 create mode 100644 drivers/firmware/efi/reboot.c

-- 
1.9.0


             reply	other threads:[~2014-06-19 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19 13:40 Matt Fleming [this message]
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
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=1403185225-9031-1-git-send-email-matt@console-pimps.org \
    --to=matt@console-pimps.org \
    --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=msalter@redhat.com \
    /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

all inboxes | Powered by JetHome®