[PATCH v3 12/13] efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE
Matt Fleming
matt at console-pimps.org
Thu Nov 27 09:30:15 PST 2014
On Tue, 18 Nov, at 01:57:11PM, 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 the residues.
> So, if EFI_ALLOC_ALIGN is #define'd by the platform, use it to round
> up all memory allocations made.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> ---
> drivers/firmware/efi/libstub/efi-stub-helper.c | 25 +++++++++++++++++--------
> 1 file changed, 17 insertions(+), 8 deletions(-)
Looks OK to me.
Acked-by: Matt Fleming <matt.fleming at intel.com>
--
Matt Fleming, Intel Open Source Technology Center
More information about the linux-arm-kernel
mailing list