linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: msalter@redhat.com (Mark Salter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/6] arm64: Add EFI stub and runtime services support
Date: Fri, 10 Jan 2014 17:29:04 -0500	[thread overview]
Message-ID: <1389392950-22457-1-git-send-email-msalter@redhat.com> (raw)

This patch series adds EFI support to the arm64 kernel. This support has
two main parts: an EFI stub and runtime support. The EFI stub support
has the kernel masquerade as a PE/COFF application which can be directly
booted by EFI firmware (or by secondary loaders with EFI support). The
runtime services support provides access to various EFI firmware services
such as reboot, real-time clock, boot variables, and others.

Changes since v1:

  * Added Acks (well, one anyway)

  * The first 3 patches are new for v2 and provide more generic
    support for for following EFI patches.

  * Lots of changes based on feedback from Catalin mostly. I think
    I addressed all of his comments.

These patches have dependencies on other patches which are not yet in
the kernel but have been posted and are currently under review. In
particular:

  - Generic fixmap support being discussed here:
      http://lkml.org/lkml/2013/11/25/474
    This is now in the akpm tree

  - early_ioremap support being discussed here:
      https://lkml.org/lkml/2014/1/9/708

  - shared EFI update_fdt() function in this series:
      http://news.gmane.org/gmane.linux.kernel.efi

A repo with this patch series and the prerequisite patches is at:

  git://github.com/mosalter/linux.git (arm64-efi-patches-v2 branch)

Mark Salter (6):
  efi: create memory map iteration helper
  arm64: Add function to create identity mappings
  efi: add helper function to get UEFI params from FDT
  arm64: add EFI stub
  doc: arm64: add description of EFI stub support
  arm64: add EFI runtime services

 Documentation/arm64/booting.txt |   4 +
 Documentation/efi-stub.txt      |  12 +-
 arch/arm64/Kconfig              |  26 +++
 arch/arm64/include/asm/efi.h    |  12 ++
 arch/arm64/include/asm/mmu.h    |   1 +
 arch/arm64/kernel/Makefile      |   4 +
 arch/arm64/kernel/efi-entry.S   |  93 +++++++++++
 arch/arm64/kernel/efi-stub.c    | 181 ++++++++++++++++++++
 arch/arm64/kernel/efi.c         | 353 ++++++++++++++++++++++++++++++++++++++++
 arch/arm64/kernel/head.S        | 112 +++++++++++++
 arch/arm64/kernel/setup.c       |   6 +
 arch/arm64/mm/mmu.c             |  34 ++--
 drivers/firmware/efi/Kconfig    |   7 +
 drivers/firmware/efi/efi.c      |  79 +++++++++
 include/linux/efi.h             |  17 +-
 15 files changed, 927 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm64/include/asm/efi.h
 create mode 100644 arch/arm64/kernel/efi-entry.S
 create mode 100644 arch/arm64/kernel/efi-stub.c
 create mode 100644 arch/arm64/kernel/efi.c

-- 
1.8.3.1

             reply	other threads:[~2014-01-10 22:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 22:29 Mark Salter [this message]
2014-01-10 22:29 ` [PATCH 1/6] efi: create memory map iteration helper Mark Salter
2014-01-13 15:17   ` Matt Fleming
2014-01-13 17:53     ` Mark Salter
2014-01-10 22:29 ` [PATCH 2/6] arm64: Add function to create identity mappings Mark Salter
2014-01-22 17:39   ` Catalin Marinas
2014-01-10 22:29 ` [PATCH 3/6] efi: add helper function to get UEFI params from FDT Mark Salter
2014-01-10 22:29 ` [PATCH 4/6] arm64: add EFI stub Mark Salter
2014-01-13 18:49   ` Arnd Bergmann
2014-01-14 14:44     ` Mark Salter
2014-01-14 19:26       ` Roy Franz
2014-01-22 18:04   ` Catalin Marinas
2014-01-10 22:29 ` [PATCH 5/6] doc: arm64: add description of EFI stub support Mark Salter
2014-01-10 22:29 ` [PATCH 6/6] arm64: add EFI runtime services Mark Salter
2014-01-23 11:24   ` Catalin Marinas

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=1389392950-22457-1-git-send-email-msalter@redhat.com \
    --to=msalter@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).