[PATCH v7 13/18] x86/e820: temporarily enable KHO scratch for memory below 1M

Dave Hansen dave.hansen at intel.com
Fri May 2 11:39:29 PDT 2025


On 5/1/25 15:54, Changyuan Lyu wrote:
> From: Alexander Graf <graf at amazon.com>
> 
> KHO kernels are special and use only scratch memory for memblock
> allocations, but memory below 1M is ignored by kernel after early boot
> and cannot be naturally marked as scratch.
> 
> To allow allocation of the real-mode trampoline and a few (if any) other
> very early allocations from below 1M forcibly mark the memory below 1M
> as scratch.
> 
> After real mode trampoline is allocated, clear that scratch marking.

It's much more clear now, thanks!

Acked-by: Dave Hansen <dave.hansen at linux.intel.com>



More information about the linux-arm-kernel mailing list