Skip to content
Snippets Groups Projects
Commit 108aa503 authored by Benjamin Gwin's avatar Benjamin Gwin Committed by Will Deacon
Browse files

arm64: kexec_file: try more regions if loading segments fails


It's possible that the first region picked for the new kernel will make
it impossible to fit the other segments in the required 32GB window,
especially if we have a very large initrd.

Instead of giving up, we can keep testing other regions for the kernel
until we find one that works.

Suggested-by: default avatarRyan O'Leary <ryanoleary@google.com>
Signed-off-by: default avatarBenjamin Gwin <bgwin@google.com>
Link: https://lore.kernel.org/r/20201103201106.2397844-1-bgwin@google.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 7ee31a3a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment