Re: [PATCH v3 1/3] x86/boot: Add xloadflags bits for 5-level kernel checking

From: Thomas Gleixner
Date: Fri Apr 05 2019 - 16:23:12 EST


On Tue, 12 Mar 2019, Baoquan He wrote:

> Add two bits XLF_5LEVEL and XLF_5LEVEL_ENABLED for 5-level kernel.
> Bit XLF_5LEVEL indicates if 5-level related code is contained
> in this kernel.
> Bit XLF_5LEVEL_ENABLED indicates if CONFIG_X86_5LEVEL=y is set.
>
> They are being used in later patch to check if kexec/kdump kernel
> is loaded in right place.

Only XLF_5LEVEL is checked. So what's the second flag for?

Thanks,

tglx