Commit 950fd0db authored by Benjamin Gwin's avatar Benjamin Gwin Committed by Greg Kroah-Hartman
Browse files

arm64: kexec_file: try more regions if loading segments fails



[ Upstream commit 108aa503 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f3c3bb3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment