[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251016124118.GAaPDn7nLmV2zNSlKo@fat_crate.local>
Date: Thu, 16 Oct 2025 14:41:18 +0200
From: Borislav Petkov <bp@...en8.de>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Xin Li <xin@...or.com>, Borislav Petkov <bp@...nel.org>,
Xin Li <xin3.li@...el.com>, X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86/cpufeatures: Correct LKGS feature flag description
On Wed, Oct 15, 2025 at 08:12:08PM -0700, H. Peter Anvin wrote:
> No, "load user space GS." It loads everything, not just the base.
My aim is to have the comment be maximally helpful:
#define X86_FEATURE_LKGS (12*32+18) /* Like MOV_GS except MSR_KERNEL_GS_BASE = GS.base */
This is the gist of what's in the FRED spec.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists