Re: [PATCH 06/16] Enforce minimum alignment of 1 page onallocations. The efi_high_alloc() and efi_low_alloc() functions use theEFI_ALLOCATE_ADDRESS option to the EFI function allocate_pages(), whichrequires a minimum of page alignment, and rejects all other requests.

From: Mark Salter
Date: Tue Aug 13 2013 - 09:59:36 EST


On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote:
> The existing code could fail to allocate depending
> on allocation size, as although repeated allocation
> attempts were made, none were guaranteed to be page
> aligned.
>
>
>
> Signed-off-by: Roy Franz <roy.franz@xxxxxxxxxx>
> ---

Tested on arm64.

Acked-by: Mark Salter <msalter@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/