Re: [PATCH v2 01/25] x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit

2021-03-12 Thread Sean Christopherson
On Tue, Mar 09, 2021, Kai Huang wrote: > 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 > Acked-by: Dave

[PATCH v2 01/25] x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit

2021-03-08 Thread Kai Huang
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 Acked-by: Dave Hansen Acked-by: Jarkko Sakkinen Signed-off-by: