On Tue, Jan 26, 2021 at 10:30:17PM +1300, Kai Huang wrote: > Move SGX_LC feature bit to CPUID dependency table as well, along with > new added SGX1 and SGX2 bit, 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@xxxxxxxxxx> > Signed-off-by: Kai Huang <kai.huang@xxxxxxxxx> Acked-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx> So could this be an improvement to the existing code? If so, then this should be the first patch. Also, I think that then this can be merged independently from rest of the patch set. /Jarkko