Re: [PATCHv6 22/30] x86/boot: Set CR0.NE early and keep it set during the boot

Thomas Gleixner
2022-03-17T12:46:34Z

On Wed, Mar 16 2022 at 05:08, Kirill A. Shutemov wrote:
> Make CR0 initialization consistent, deriving the initial value of CR0
> from CR0_STATE. Since CR0_STATE always has CR0.NE=1, this ensures that
> CR0.NE is never 0 and avoids the #GP.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>