Re: [PATCH v2 0/5] efistub: convert into static library

2014-07-01 Thread Matt Fleming
On Thu, 26 Jun, at 04:23:32PM, Ard Biesheuvel wrote:
 This is v2 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 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

Thanks Ard. I've picked these up.

-- 
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line unsubscribe linux-efi in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2 0/5] efistub: convert into static library

2014-07-01 Thread Matt Fleming
On Tue, 01 Jul, at 08:55:20PM, Ard Biesheuvel wrote:
 
 OK, thanks. One tiny snag that I would like to fix up once we have
 some Acks to add: I just noticed that i removed the 'static' from
 handle_kernel_image()'s definition from arm64 in 4/5, but removed it
 from the forward declaration in 5/5, which likely breaks bisect for
 arm64 if you happen to end up right in the middle.

Good catch.

I rebase 'next' pretty feely, so just remind me at some point in the
future and we can fix this up.

-- 
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line unsubscribe linux-efi in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v2 0/5] efistub: convert into static library

2014-06-26 Thread Ard Biesheuvel
This is v2 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 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 |  1 +
 arch/arm64/Makefile|  1 +
 arch/arm64/include/asm/efi.h   | 12 
 arch/arm64/kernel/efi-stub.c   | 47 +++---
 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  |  2 +-
 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, 238 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

--
To unsubscribe from this list: send the line unsubscribe linux-efi in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html