On Fri, Feb 12, 2021 at 02:19:07PM +0100, Joerg Roedel wrote: > - Then we can pass this information up the boot process by > extending struct boot_params. The bootloader can pass which > E820 usable memory it validated, same for the kernel > decompressor. The text+data (but not bss) of the running > kernel image is per definition validated by the decompressor > and does not need to be added explicitly to boot_params. Even if all text+data is prevalidated, we'll probably still need some prevalidated bss and certainly some prevalidated percpu data (like the various stacks, but also crud like the percpu variable we store the DR7 shadow in etc..).