diff options
| author | Ard Biesheuvel <[email protected]> | 2015-07-24 12:38:27 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2015-07-27 11:08:41 +0100 |
| commit | e38457c361b30c5a2379cc767877c3e5c2505dc6 (patch) | |
| tree | 66b2d1ac7d059ad95a7557d4207ce237a6a701b5 /scripts/stackusage | |
| parent | e094d44568680d4e5e2722c4ad090ff0810719b9 (diff) | |
arm64: efi: prefer AllocatePages() over efi_low_alloc() for vmlinux
When allocating memory for the kernel image, try the AllocatePages()
boot service to obtain memory at the preferred offset of
'dram_base + TEXT_OFFSET', and only revert to efi_low_alloc() if that
fails. This is the only way to allocate at the base of DRAM if DRAM
starts at 0x0, since efi_low_alloc() refuses to allocate at 0x0.
Tested-by: Haojian Zhuang <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions