summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/scattered.c
diff options
context:
space:
mode:
authorKai Huang <kai.huang@intel.com>2021-03-19 20:22:17 +1300
committerBorislav Petkov <bp@suse.de>2021-03-25 17:33:11 +0100
commite9a15a40e857fc6ccfbb05fec7b184e9003057df (patch)
treeecbd1593e483739054736e0f3f80e37f70a3bb22 /arch/x86/kernel/cpu/scattered.c
parent633b0616cfe085679471a4c0fae02e8c3a1a9866 (diff)
x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit
Move SGX_LC feature bit to CPUID dependency table to make clearing all SGX feature bits easier. Also remove clear_sgx_caps() since it is just a wrapper of setup_clear_cpu_cap(X86_FEATURE_SGX) now. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Kai Huang <kai.huang@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Sean Christopherson <seanjc@google.com> Acked-by: Dave Hansen <dave.hansen@intel.com> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lkml.kernel.org/r/5d4220fd0a39f52af024d3fa166231c1d498dd10.1616136308.git.kai.huang@intel.com
Diffstat (limited to 'arch/x86/kernel/cpu/scattered.c')
0 files changed, 0 insertions, 0 deletions