Two patches to fix the Feature Control MSR bit definitions, which didn't get correctly rebased. Patch 03 reworks SGX handling of Feature Control to use the new feat_ctl.c code, which was the entire point of that series. Patch 03 is a drop-in replacement for 4249f9b240b7 ("x86/cpu/intel: Detect SGX supprt"). *** DISCLAIMER *** These patches are untested against your master, as your master doesn't boot on my system. The fully tested version is available at https://github.com/sean-jc/linux.git, branch sgx/for_jarkko_v25_rebased. I'll dig into the boot issue next week. Sean Christopherson (3): x86/msr: Fixup "Add Intel SGX hardware bits" x86/msr: Fixup "Intel SGX Launch Control hardware bits" x86/cpu: Configure SGX support when initializing feature control MSR arch/x86/include/asm/msr-index.h | 9 ++------ arch/x86/kernel/cpu/feat_ctl.c | 29 +++++++++++++++++++++++- arch/x86/kernel/cpu/intel.c | 39 -------------------------------- 3 files changed, 30 insertions(+), 47 deletions(-) -- 2.24.1