[PATCH 06/16] Enforce minimum alignment of 1 page on allocations. The efi_high_alloc() and efi_low_alloc() functions use the EFI_ALLOCATE_ADDRESS option to the EFI function allocate_pages(), which requires a minimum of page alignment, and rejects all other requests.

Mark Salter msalter at redhat.com
Tue Aug 13 09:57:08 EDT 2013


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 at linaro.org>
> ---

Tested on arm64.

Acked-by: Mark Salter <msalter at redhat.com>





More information about the linux-arm-kernel mailing list