Re: [PATCH v4 4/8] efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE

2014-12-29 Thread Ard Biesheuvel
On 23 December 2014 at 16:45, Borislav Petkov b...@alien8.de wrote: On Mon, Dec 22, 2014 at 10:59:00AM +, Ard Biesheuvel wrote: On systems with 64 KB pages, it is preferable for UEFI memory map entries to be 64 KB aligned multiples of 64 KB, because it relieves us of having to deal with

Re: [PATCH v4 4/8] efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE

2014-12-29 Thread Borislav Petkov
On Mon, Dec 29, 2014 at 09:25:15AM +, Ard Biesheuvel wrote: Do you have any comments regarding patches #3 and #6 in this series? Sorry, have had no time so far to take a look. Holidays and all... You're on the TODO list though :-) -- Regards/Gruss, Boris. -- -- To unsubscribe from this

[PATCH v4 4/8] efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE

2014-12-22 Thread Ard Biesheuvel
On systems with 64 KB pages, it is preferable for UEFI memory map entries to be 64 KB aligned multiples of 64 KB, because it relieves us of having to deal with the residues. So, if EFI_ALLOC_ALIGN is #define'd by the platform, use it to round up all memory allocations made. Acked-by: Matt Fleming