linux/drivers/firmware/efi
Roy Franz 38dd9c02c3 efi: 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.
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@linaro.org>
Acked-by: Mark Salter <msalter@redhat.com>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2013-09-25 12:34:36 +01:00
..
efi-pstore.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-07-04 10:29:23 -07:00
efi-stub-helper.c efi: Enforce minimum alignment of 1 page on allocations. 2013-09-25 12:34:36 +01:00
efi.c efi: x86: make efi_lookup_mapped_addr() a common function 2013-09-05 13:29:29 +01:00
efivars.c efivars: check for EFI_RUNTIME_SERVICES 2013-07-11 11:00:31 +01:00
Kconfig
Makefile
vars.c efi: locking fix in efivar_entry_set_safe() 2013-04-30 16:03:18 +01:00