Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-31 Thread Dr. Greg
On Mon, Aug 27, 2018 at 09:53:23PM +0300, Jarkko Sakkinen wrote: Good morning, I hope the week has gone well for everyone. > From: Kai Huang > > Add X86_FEATURE_SGX and X86_FEATURE_SGX_LC that define the bits > determining whether the CPU supports SGX and user launch configuration > i.e. using

Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-31 Thread Dr. Greg
On Mon, Aug 27, 2018 at 09:53:23PM +0300, Jarkko Sakkinen wrote: Good morning, I hope the week has gone well for everyone. > From: Kai Huang > > Add X86_FEATURE_SGX and X86_FEATURE_SGX_LC that define the bits > determining whether the CPU supports SGX and user launch configuration > i.e. using

Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-31 Thread Jarkko Sakkinen
gt; David Woodhouse ; open list:X86 ARCHITECTURE (32- > > BIT AND 64-BIT) > > Subject: Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU > > features > > > > On Tue, Aug 28, 2018 at 12:07:41AM +, Huang, Kai wrote: > > > > +#define X86_FEATURE_SG

Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-31 Thread Jarkko Sakkinen
gt; David Woodhouse ; open list:X86 ARCHITECTURE (32- > > BIT AND 64-BIT) > > Subject: Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU > > features > > > > On Tue, Aug 28, 2018 at 12:07:41AM +, Huang, Kai wrote: > > > > +#define X86_FEATURE_SG

RE: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-29 Thread Huang, Kai
redhat.com; > npmccal...@redhat.com; linux-...@vger.kernel.org; Kai Huang > ; Thomas Gleixner ; Ingo > Molnar ; H. Peter Anvin ; Borislav > Petkov ; Konrad Rzeszutek Wilk ; > David Woodhouse ; open list:X86 ARCHITECTURE (32- > BIT AND 64-BIT) > Subject: Re: [PATCH v13 02/13] x86/cpu

RE: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-29 Thread Huang, Kai
redhat.com; > npmccal...@redhat.com; linux-...@vger.kernel.org; Kai Huang > ; Thomas Gleixner ; Ingo > Molnar ; H. Peter Anvin ; Borislav > Petkov ; Konrad Rzeszutek Wilk ; > David Woodhouse ; open list:X86 ARCHITECTURE (32- > BIT AND 64-BIT) > Subject: Re: [PATCH v13 02/13] x86/cpu

Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-28 Thread Jarkko Sakkinen
On Tue, Aug 28, 2018 at 12:07:41AM +, Huang, Kai wrote: > > +#define X86_FEATURE_SGX_LC (16*32+30) /* supports SGX launch > > configuration */ > > Sorry if it was me who wrote the comment "SGX launch configuration". I > think we should just use "SGX launch control". :) Not sure if we

Re: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-28 Thread Jarkko Sakkinen
On Tue, Aug 28, 2018 at 12:07:41AM +, Huang, Kai wrote: > > +#define X86_FEATURE_SGX_LC (16*32+30) /* supports SGX launch > > configuration */ > > Sorry if it was me who wrote the comment "SGX launch configuration". I > think we should just use "SGX launch control". :) Not sure if we

RE: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-27 Thread Huang, Kai
> +#define X86_FEATURE_SGX_LC (16*32+30) /* supports SGX launch > configuration */ Sorry if it was me who wrote the comment "SGX launch configuration". I think we should just use "SGX launch control". :) Thanks, -Kai > > /* AMD-defined CPU features, CPUID level 0x8007 (EBX),

RE: [PATCH v13 02/13] x86/cpufeature: Add SGX and SGX_LC CPU features

2018-08-27 Thread Huang, Kai
> +#define X86_FEATURE_SGX_LC (16*32+30) /* supports SGX launch > configuration */ Sorry if it was me who wrote the comment "SGX launch configuration". I think we should just use "SGX launch control". :) Thanks, -Kai > > /* AMD-defined CPU features, CPUID level 0x8007 (EBX),