Re: [RFC PATCH 4/4] efi: efistub: convert into static library

2014-06-25 Thread Matt Fleming
On Mon, 16 Jun, at 05:14:48PM, Ard Biesheuvel wrote: This patch changes both x86 and arm64 efistub implementations from #including shared .c files under drivers/firmware/efi to building the shared code as a static library. The x86 code uses a stub built into the boot executable which

Re: [GIT PULL] EFI urgent fix

2014-06-25 Thread Matt Fleming
On Fri, 20 Jun, at 10:00:08AM, Matt Fleming wrote: Guys, Please pull the following compiler warning fix. Sorry, I've been pretty slow in getting this pull request sent. Multiple people have reported hitting it and I've now received 4 patches for the same warning,

Re: [PATCH 1/2] efilinux: Allocate boot_params before parsing initrd

2014-06-25 Thread Matt Fleming
On Tue, 17 Jun, at 11:41:08PM, Yinghai Lu wrote: We need to allocate boot_params early and clear it before copy setup_header to it. So kernel will not call sanitize_boot_params() to overwrite new added parameter like ext_ramdisk_image, ext_ramdisk_size... We should modify boot_params

Re: [PATCH 2/2] efilinux: set ext_ramdisk_* for huge initrd

2014-06-25 Thread Matt Fleming
On Tue, 17 Jun, at 11:41:09PM, Yinghai Lu wrote: We could load it high if it is more than 2G when kernel support LOAD_ABOVE_4G. Signed-off-by: Yinghai Lu ying...@kernel.org --- loaders/bzimage/bzimage.c |9 - loaders/bzimage/bzimage.h |8 ++-- 2 files changed, 14

Re: [PATCH] efi/arm64: efistub: remove local copy of linux_banner

2014-06-25 Thread Matt Fleming
On Fri, 13 Jun, at 01:11:51PM, Ard Biesheuvel wrote: The shared efistub code for ARM and arm64 contains a local copy of linux_banner, allowing it to be referenced from separate executables such as the ARM decompressor. However, this introduces a dependency on generated header files, causing

[PATCH 2/2 v2] efilinux: set ext_ramdisk_* for huge initrd

2014-06-25 Thread Yinghai Lu
We could load it high if it is more than 2G when kernel support LOAD_ABOVE_4G. -v2: Use macro instead of (11) directly for LOAD_ABOVE_4G. Signed-off-by: Yinghai Lu ying...@kernel.org --- loaders/bzimage/bzimage.c |9 - loaders/bzimage/bzimage.h | 15 +-- 2 files

Re: [RFC PATCH 4/4] efi: efistub: convert into static library

2014-06-25 Thread Ard Biesheuvel
Hey Matt, On 25 jun. 2014, at 22:34, Matt Fleming m...@console-pimps.org wrote: On Mon, 16 Jun, at 05:14:48PM, Ard Biesheuvel wrote: This patch changes both x86 and arm64 efistub implementations from #including shared .c files under drivers/firmware/efi to building the shared code as a

Re: [efi:next 6/7] drivers/firmware/efi/runtime.c:19:21: fatal error: asm/efi.h: No such file or directory

2014-06-25 Thread Ard Biesheuvel
On 25 June 2014 23:53, kbuild test robot fengguang...@intel.com wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git next head: 8922cc07b558b167bc8f9e176c1a0b49acc5694f commit: 012e96bf2f05b3652ef02cf3df80b7a63cced0af [6/7] efi/x86: move UEFI Runtime Services