linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] efistub: convert into static library
@ 2014-07-02 12:54 Ard Biesheuvel
  2014-07-02 12:54 ` [PATCH v3 1/5] efi/arm64: Avoid EFI_ERROR as a generic return code Ard Biesheuvel
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Ard Biesheuvel @ 2014-07-02 12:54 UTC (permalink / raw)
  To: linux-arm-kernel

This is v3 of the series to change the #include "../../../../xxx.c" pattern
into a static library linked into either the kernel (arm64) or a separate boot
decompressor (x86, ARM).

Changes since v2:
- make sure that removals of 'static' modifiers occur in a way that doesn't
  break bisect (i.e., definition + all declarations in the same patch)
- avoid ia64 breakage (which does not use the stub) by building it conditionally
  on CONFIG_EFI_STUB not CONFIG_EFI

Changes since v1:
- added patch #1 to change EFI_ERROR, it is not a result code defined by UEFI so
  it should only be returned by get_dram_base() and efi_entry()
- added a section to libstub Makefile to clean CFLAGS of stack protecter and
  other options that are inappropriate for the stub
- rebased onto the UEFI Runtime Services NEON patches (re)posted earlier today

Ard Biesheuvel (5):
  efi/arm64: Avoid EFI_ERROR as a generic return code
  efi/x86: efistub: Move shared dependencies to <asm/efi.h>
  efi/arm64: efistub: Move shared dependencies to <asm/efi.h>
  efi: efistub: refactor stub components
  efi: efistub: convert into static library

 arch/arm64/Kconfig                                 |  5 ++
 arch/arm64/Makefile                                |  1 +
 arch/arm64/include/asm/efi.h                       | 12 ++++
 arch/arm64/kernel/efi-stub.c                       | 48 +++-----------
 arch/x86/boot/compressed/Makefile                  |  3 +-
 arch/x86/boot/compressed/eboot.c                   | 20 ++----
 arch/x86/boot/compressed/eboot.h                   | 16 -----
 arch/x86/include/asm/efi.h                         | 25 ++++++++
 drivers/firmware/efi/Kconfig                       |  3 +
 drivers/firmware/efi/Makefile                      |  1 +
 drivers/firmware/efi/libstub/Makefile              | 26 ++++++++
 drivers/firmware/efi/{ => libstub}/arm-stub.c      | 32 ++++++----
 .../firmware/efi/{ => libstub}/efi-stub-helper.c   | 74 +++++++++++-----------
 drivers/firmware/efi/libstub/efistub.h             | 42 ++++++++++++
 drivers/firmware/efi/{ => libstub}/fdt.c           | 20 +++---
 include/linux/efi.h                                | 42 ++++++++++++
 16 files changed, 242 insertions(+), 128 deletions(-)
 create mode 100644 drivers/firmware/efi/libstub/Makefile
 rename drivers/firmware/efi/{ => libstub}/arm-stub.c (93%)
 rename drivers/firmware/efi/{ => libstub}/efi-stub-helper.c (88%)
 create mode 100644 drivers/firmware/efi/libstub/efistub.h
 rename drivers/firmware/efi/{ => libstub}/fdt.c (94%)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-08  0:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 12:54 [PATCH v3 0/5] efistub: convert into static library Ard Biesheuvel
2014-07-02 12:54 ` [PATCH v3 1/5] efi/arm64: Avoid EFI_ERROR as a generic return code Ard Biesheuvel
2014-07-08  0:22   ` Roy Franz
2014-07-02 12:54 ` [PATCH v3 2/5] efi/x86: efistub: Move shared dependencies to <asm/efi.h> Ard Biesheuvel
2014-07-02 12:54 ` [PATCH v3 3/5] efi/arm64: " Ard Biesheuvel
2014-07-02 12:54 ` [PATCH v3 4/5] efi: efistub: refactor stub components Ard Biesheuvel
2014-07-02 12:54 ` [PATCH v3 5/5] efi: efistub: convert into static library Ard Biesheuvel
2014-07-07 19:31 ` [PATCH v3 0/5] " Matt Fleming

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).