[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <75df4d00c009c60043b0c3edb8990342d9b9b9b3.camel@intel.com>
Date: Wed, 8 Oct 2025 17:43:43 +0000
From: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com>
To: "Mehta, Sohil" <sohil.mehta@...el.com>, "tglx@...utronix.de"
<tglx@...utronix.de>, "mingo@...hat.com" <mingo@...hat.com>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>, "bp@...en8.de"
<bp@...en8.de>, "x86@...nel.org" <x86@...nel.org>
CC: "corbet@....net" <corbet@....net>, "ardb@...nel.org" <ardb@...nel.org>,
"andrew.cooper3@...rix.com" <andrew.cooper3@...rix.com>,
"alexander.shishkin@...ux.intel.com" <alexander.shishkin@...ux.intel.com>,
"luto@...nel.org" <luto@...nel.org>, "david.laight.linux@...il.com"
<david.laight.linux@...il.com>, "jpoimboe@...nel.org" <jpoimboe@...nel.org>,
"Luck, Tony" <tony.luck@...el.com>, "linux-efi@...r.kernel.org"
<linux-efi@...r.kernel.org>, "kas@...nel.org" <kas@...nel.org>,
"seanjc@...gle.com" <seanjc@...gle.com>, "dwmw@...zon.co.uk"
<dwmw@...zon.co.uk>, "rdunlap@...radead.org" <rdunlap@...radead.org>,
"vegard.nossum@...cle.com" <vegard.nossum@...cle.com>, "xin@...or.com"
<xin@...or.com>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-doc@...r.kernel.org"
<linux-doc@...r.kernel.org>, "kees@...nel.org" <kees@...nel.org>,
"hpa@...or.com" <hpa@...or.com>, "peterz@...radead.org"
<peterz@...radead.org>, "geert@...ux-m68k.org" <geert@...ux-m68k.org>
Subject: Re: [PATCH v10 09/15] x86/traps: Consolidate user fixups in
exc_general_protection()
On Tue, 2025-10-07 at 15:41 -0700, Sohil Mehta wrote:
> On 10/7/2025 10:46 AM, Edgecombe, Rick P wrote:
> > On Mon, 2025-10-06 at 23:51 -0700, Sohil Mehta wrote:
> > > Move the UMIP exception fixup along with the other user mode fixups,
> > > that is, under the common "if (user_mode(regs))" condition where the
> > > rest of the fixups reside.
> >
> > Can you mention that it also drops static_cpu_has(X86_FEATURE_UMIP) check
> > because fixup_umip_exception() already checks
> > cpu_feature_enabled(X86_FEATURE_UMIP)?
> >
>
> There is no existing check. The current patch moves the X86_FEATURE_UMIP
> check to fixup_umip_exception().
Doh!
>
> I can add a sentence to say that the current check is split into two
> separate locations. But, is it not obvious from the diff?
The log is pretty thin, I'd add it.
Powered by blists - more mailing lists