[PATCH v1 1/1] kexec: x86: Use init_size in 32-bit case as well

Simon Horman horms at kernel.org
Fri Nov 8 00:02:48 PST 2024


On Wed, Nov 06, 2024 at 07:58:07PM +0200, Andy Shevchenko wrote:
> If the region of the memory is not enough for the decompressed
> kernel, e.g., it follows by reserved memory, Bad Things may happen
> as it's proven to be in practice on Intel Merrifield platform.
> 
> Include decompressed kernel size into the calculations for finding
> the appropriate hole in memory to load kernel to.
> 
> Note, this has been already done for 64-bit case, this just
> synchronises the approach for 32-bit case.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Thanks Andy, applied.



More information about the kexec mailing list