Re: [PATCH v6 03/11] x86: define IA32_FEATURE_CONTROL.SGX_ENABLE

2017-11-28 Thread Jarkko Sakkinen
On Tue, Nov 28, 2017 at 09:13:18AM -0800, Sean Christopherson wrote: > On Sat, 2017-11-25 at 21:29 +0200, Jarkko Sakkinen wrote: > > From: Sean Christopherson > > > > When IA32_FEATURE_CONTROL.SGX_ENABLE and IA32_FEATURE_CONTROL.LOCK are > > set by the pre-boot firmware, SGX is usable by the OS.

Re: [PATCH v6 03/11] x86: define IA32_FEATURE_CONTROL.SGX_ENABLE

2017-11-28 Thread Sean Christopherson
On Sat, 2017-11-25 at 21:29 +0200, Jarkko Sakkinen wrote: > From: Sean Christopherson > > When IA32_FEATURE_CONTROL.SGX_ENABLE and IA32_FEATURE_CONTROL.LOCK are > set by the pre-boot firmware, SGX is usable by the OS. This implies that only pre-boot firmware can write feature control, which is n

[PATCH v6 03/11] x86: define IA32_FEATURE_CONTROL.SGX_ENABLE

2017-11-25 Thread Jarkko Sakkinen
From: Sean Christopherson When IA32_FEATURE_CONTROL.SGX_ENABLE and IA32_FEATURE_CONTROL.LOCK are set by the pre-boot firmware, SGX is usable by the OS. Signed-off-by: Sean Christopherson Signed-off-by: Jarkko Sakkinen --- arch/x86/include/asm/msr-index.h | 1 + 1 file changed, 1 insertion(+)