Re: [PATCH v7 6/9] x86/boot: Move mem_encrypt= parsing to the decompressor

From: Borislav Petkov
Date: Fri Mar 01 2024 - 14:17:10 EST


On Tue, Feb 27, 2024 at 04:19:14PM +0100, Ard Biesheuvel wrote:
> diff --git a/arch/x86/include/uapi/asm/bootparam.h b/arch/x86/include/uapi/asm/bootparam.h
> index 01d19fc22346..eeea058cf602 100644
> --- a/arch/x86/include/uapi/asm/bootparam.h
> +++ b/arch/x86/include/uapi/asm/bootparam.h
> @@ -38,6 +38,7 @@
> #define XLF_EFI_KEXEC (1<<4)
> #define XLF_5LEVEL (1<<5)
> #define XLF_5LEVEL_ENABLED (1<<6)
> +#define XLF_MEM_ENCRYPTION (1<<7)

Needs documenting in Documentation/arch/x86/boot.rst.

And yes, those 5LEVEL things are not documented either but I'm even
questioning the justification for their existence. We'll see...

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette