[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180828081123.GF15508@linux.intel.com>
Date: Tue, 28 Aug 2018 11:11:23 +0300
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Dave Hansen <dave.hansen@...el.com>
Cc: x86@...nel.org, platform-driver-x86@...r.kernel.org,
sean.j.christopherson@...el.com, nhorman@...hat.com,
npmccallum@...hat.com, linux-sgx@...r.kernel.org,
Haim Cohen <haim.cohen@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, Borislav Petkov <bp@...e.de>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Tom Lendacky <thomas.lendacky@....com>,
Paolo Bonzini <pbonzini@...hat.com>,
David Woodhouse <dwmw@...zon.co.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Janakarajan Natarajan <Janakarajan.Natarajan@....com>,
Matt Turner <mattst88@...il.com>,
Andy Lutomirski <luto@...nel.org>,
"open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)"
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v13 05/13] x86/msr: Add SGX definitions to msr-index.h
On Mon, Aug 27, 2018 at 12:42:32PM -0700, Dave Hansen wrote:
> On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote:
> > @@ -866,10 +867,9 @@ void get_cpu_cap(struct cpuinfo_x86 *c)
> > }
> > }
> >
> > - /* Intel SGX features: level 0x00000012 */
> > - if (c->cpuid_level >= 0x00000012) {
> > - cpuid(0x00000012, &eax, &ebx, &ecx, &edx);
> > -
> > + /* Intel SGX features */
> > + if (c->cpuid_level >= SGX_CPUID) {
> > + cpuid(SGX_CPUID, &eax, &ebx, &ecx, &edx);
> > c->x86_capability[CPUID_12_EAX] = eax;
> > }
>
> This hunk has no apparent connection to the changelog.
Thanks for catching this, the same squashing mistake :-)
/Jarkko
Powered by blists - more mailing lists