lkml.org 
[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-08-28 10:12    [W:0.100 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site