Re: [PATCH 05/18] efi: split efi_enabled to efi_platform and efi_loader

2015-03-02 Thread Roy Franz
On Mon, Mar 2, 2015 at 10:43 AM, Roy Franz wrote: > On Mon, Mar 2, 2015 at 9:21 AM, Stefano Stabellini > wrote: >> On Fri, 30 Jan 2015, Daniel Kiper wrote: >>> We need more fine grained knowledge about EFI environment and check >>> for EFI platform and EFI loader separately to properly support >>

Re: [PATCH 17/18] x86/efi: create new early memory allocator

2015-03-02 Thread Roy Franz
On Mon, Mar 2, 2015 at 9:23 AM, Jan Beulich wrote: On 30.01.15 at 18:54, wrote: >> --- a/xen/arch/x86/efi/efi-boot.h >> +++ b/xen/arch/x86/efi/efi-boot.h >> @@ -103,9 +103,35 @@ static void __init relocate_trampoline(unsigned long >> phys) >> *(u16 *)(*trampoline_ptr + (long)trampo

Re: [PATCH 05/18] efi: split efi_enabled to efi_platform and efi_loader

2015-03-02 Thread Roy Franz
On Mon, Mar 2, 2015 at 9:21 AM, Stefano Stabellini wrote: > On Fri, 30 Jan 2015, Daniel Kiper wrote: >> We need more fine grained knowledge about EFI environment and check >> for EFI platform and EFI loader separately to properly support >> multiboot2 protocol. In general Xen loaded by this protoc

Re: [PATCH 17/18] x86/efi: create new early memory allocator

2015-03-02 Thread Jan Beulich
>>> On 30.01.15 at 18:54, wrote: > --- a/xen/arch/x86/efi/efi-boot.h > +++ b/xen/arch/x86/efi/efi-boot.h > @@ -103,9 +103,35 @@ static void __init relocate_trampoline(unsigned long > phys) > *(u16 *)(*trampoline_ptr + (long)trampoline_ptr) = phys >> 4; > } > > +#define __MALLOC_SIZE

Re: [PATCH 05/18] efi: split efi_enabled to efi_platform and efi_loader

2015-03-02 Thread Stefano Stabellini
On Fri, 30 Jan 2015, Daniel Kiper wrote: > We need more fine grained knowledge about EFI environment and check > for EFI platform and EFI loader separately to properly support > multiboot2 protocol. In general Xen loaded by this protocol uses > memory mappings and loaded modules in simliar way to X

Re: [PATCH 16/18] efi: create efi_exit_boot()

2015-03-02 Thread Jan Beulich
>>> On 30.01.15 at 18:54, wrote: > ..which gets memory map and calls ExitBootServices(). We need this > to support multiboot2 protocol on EFI platforms. Patches from 9 up to here all make sense on the basis that patch 18 does and assuming that you really need all this code moved out to separate f

Re: [PATCH 08/18] efi: build xen.gz with EFI code

2015-03-02 Thread Jan Beulich
>>> On 30.01.15 at 18:54, wrote: > --- a/xen/arch/x86/efi/Makefile > +++ b/xen/arch/x86/efi/Makefile > @@ -1,14 +1,14 @@ > CFLAGS += -fshort-wchar > > -obj-y += stub.o > +obj-y += boot.o > +obj-y += compat.o > +obj-y += runtime.o So how is this going to work with a compiler not new enough to s

Re: [PATCH] v2: grub-extras/lua: add fs label to grub.enum_device

2015-03-02 Thread Fajar A. Nugraha
changes from v1: add *label NULL check This patch modifies grub_lib.c to add fs label as fourth return value to grub.enum_device. This can be used on osdetect.lua to create OS description that is easier to understand, as well as providing pool names for root-on-zfs setup. Patch inline and attache