Message ID | 20181116010412.23967-14-jarkko.sakkinen@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v17,01/23] x86/sgx: Update MAINTAINERS | expand |
On Fri, Nov 16, 2018 at 03:01:20AM +0200, Jarkko Sakkinen wrote: > From: Sean Christopherson <sean.j.christopherson@intel.com> > > Add a new IA32_FEATURE_CONTROL bit, SGX_LE_WR. Introducing SGX_LE_WR needs to land before patch 06/23, which references the flag when updating feature bits.
On Fri, Nov 16, 2018 at 09:29:08AM -0800, Sean Christopherson wrote: > On Fri, Nov 16, 2018 at 03:01:20AM +0200, Jarkko Sakkinen wrote: > > From: Sean Christopherson <sean.j.christopherson@intel.com> > > > > Add a new IA32_FEATURE_CONTROL bit, SGX_LE_WR. > > Introducing SGX_LE_WR needs to land before patch 06/23, which references > the flag when updating feature bits. Ugh, I guess this feedback was given already to earlier version. Forgot to fix it. /Jarkko
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index 082890bff490..9274179a445c 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -487,6 +487,7 @@ #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_LE_WR (1<<17) #define FEATURE_CONTROL_SGX_ENABLE (1<<18) #define FEATURE_CONTROL_LMCE (1<<20) @@ -500,6 +501,12 @@ #define MSR_IA32_UCODE_WRITE 0x00000079 #define MSR_IA32_UCODE_REV 0x0000008b +/* Intel SGX Launch Enclave Public Key Hash MSRs */ +#define MSR_IA32_SGXLEPUBKEYHASH0 0x0000008C +#define MSR_IA32_SGXLEPUBKEYHASH1 0x0000008D +#define MSR_IA32_SGXLEPUBKEYHASH2 0x0000008E +#define MSR_IA32_SGXLEPUBKEYHASH3 0x0000008F + #define MSR_IA32_SMM_MONITOR_CTL 0x0000009b #define MSR_IA32_SMBASE 0x0000009e