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

From: Baoquan He
Date: Fri Apr 05 2019 - 21:41:05 EST


On 04/05/19 at 10:23pm, Thomas Gleixner wrote:
> 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?

I put the explanation why only XLF_5LEVEL is checked in cover letter.
Will add them in this log.