Skip to content

x86/sgx: Fix feature control rebase

Sean Christopherson linux-sgx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/msr: Fixup "Add Intel SGX hardware bits"arch/x86/include/asm/msr-index.h+1 -70 replies
2/3x86/msr: Fixup "Intel SGX Launch Control hardware bits"arch/x86/include/asm/msr-index.h+1 -00 replies
3/3x86/cpu: Configure SGX support when initializing feature control MSRarch/x86/kernel/cpu/feat_ctl.c arch/x86/kernel/cpu/intel.c+28 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for_v25 0/3] x86/sgx: Fix feature control rebase

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(-)
Signature · 1 line
2.24.1