Re: [PATCH v36 06/24] x86/cpu/intel: Detect SGX support

2020-08-06 Thread Darren Kenny
On Thursday, 2020-07-16 at 16:52:45 +03, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Configure SGX as part of feature control MSR initialization and update > the associated X86_FEATURE flags accordingly. Because the kernel will > require the LE hash MSRs to be writable when running

[PATCH v36 06/24] x86/cpu/intel: Detect SGX support

2020-07-16 Thread Jarkko Sakkinen
From: Sean Christopherson Configure SGX as part of feature control MSR initialization and update the associated X86_FEATURE flags accordingly. Because the kernel will require the LE hash MSRs to be writable when running native enclaves, disable X86_FEATURE_SGX (and all derivatives) if SGX