aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2017-04-04 17:02:44 +0100
committerIngo Molnar <[email protected]>2017-04-05 12:27:26 +0200
commit318532bf63cfab779d763527d8b93e48c4a96dba (patch)
tree2735a08e61a774de174fbae21e11df8bc8f1d9c9 /tools
parentb1d1776139698d7522dfd46aa81a056f030ddaf7 (diff)
efi/arm32-stub: Allow boot-time allocations in the vmlinux region
The arm32 kernel decompresses itself to the base of DRAM unconditionally, and so it is the EFI stub's job to ensure that the region is available. Currently, we do this by creating an allocation there, and giving up if that fails. However, any boot services regions occupying this area are not an issue, given that the decompressor executes strictly after the stub calls ExitBootServices(). So let's try a bit harder to proceed if the initial allocation fails, and check whether any memory map entries occupying the region may be considered safe. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Leif Lindholm <[email protected]> Reviewed-by: Eugene Cohen <[email protected]> Reviewed-by: Roy Franz <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions