Re: [edk2] [PATCH v3] arm64/efi: prefer AllocatePages() over efi_low_alloc() for vmlinux

2015-07-23 Thread Haojian Zhuang
On Thu, 2015-07-23 at 16:52 +0200, Ard Biesheuvel wrote: > On 23 July 2015 at 16:05, Haojian Zhuang wrote: > > On Thu, 2015-07-23 at 15:25 +0200, Ard Biesheuvel wrote: > >> Hello Haojian, > >> > >> Apologies for the noise ... > >> > >> Could you please try *this* version v3 instead? v2 is just the

Re: [edk2] [PATCH v3] arm64/efi: prefer AllocatePages() over efi_low_alloc() for vmlinux

2015-07-23 Thread Ard Biesheuvel
On 23 July 2015 at 16:05, Haojian Zhuang wrote: > On Thu, 2015-07-23 at 15:25 +0200, Ard Biesheuvel wrote: >> Hello Haojian, >> >> Apologies for the noise ... >> >> Could you please try *this* version v3 instead? v2 is just the same patch as >> before ... >> >> -- >> Ard. >> > > Hi Ard, > > Thanks

Re: [edk2] [PATCH v3] arm64/efi: prefer AllocatePages() over efi_low_alloc() for vmlinux

2015-07-23 Thread Haojian Zhuang
On Thu, 2015-07-23 at 15:25 +0200, Ard Biesheuvel wrote: > Hello Haojian, > > Apologies for the noise ... > > Could you please try *this* version v3 instead? v2 is just the same patch as > before ... > > -- > Ard. > Hi Ard, Thanks for your patch. It fixes the issue when DRAM_BASE is 0x0. Be

[edk2] [PATCH v3] arm64/efi: prefer AllocatePages() over efi_low_alloc() for vmlinux

2015-07-23 Thread Ard Biesheuvel
Hello Haojian, Apologies for the noise ... Could you please try *this* version v3 instead? v2 is just the same patch as before ... -- Ard. ---8<- When allocating memory for the kernel image, try the AllocatePages() boot service to obtain memory at the preferred offset of 'dram_bas