Subject: Re: [PATCH v12 03/13] x86/sgx: add SGX definitions to msr-index.h To: Jarkko Sakkinen , , References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-4-jarkko.sakkinen@linux.intel.com> CC: , , , , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Tom Lendacky , Borislav Petkov , Konrad Rzeszutek Wilk , "Greg Kroah-Hartman" , Janakarajan Natarajan , David Woodhouse , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" From: Dave Hansen Message-ID: <296d6c54-306d-ebec-0a7a-68e06d00e704@intel.com> Date: Tue, 3 Jul 2018 11:31:59 -0700 In-Reply-To: <20180703182118.15024-4-jarkko.sakkinen@linux.intel.com> Content-Type: text/plain; charset="utf-8" Return-Path: dave.hansen@intel.com MIME-Version: 1.0 List-ID: On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote: > --- a/arch/x86/include/asm/msr-index.h > +++ b/arch/x86/include/asm/msr-index.h > @@ -479,6 +479,8 @@ > #define FEATURE_CONTROL_LOCKED (1<<0) > #define FEATURE_CONTROL_VMXON_ENABLED_INSIDE_SMX (1<<1) > #define FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX (1<<2) > +#define FEATURE_CONTROL_SGX_ENABLE (1<<18) > +#define FEATURE_CONTROL_SGX_LE_WR (1<<17) > #define FEATURE_CONTROL_LMCE (1<<20) Have you run checkpatch.pl on these? There's a tabs-vs-spaces issue here.