Re: [PATCH] x86/sgx: Warn explicitly if X86_FEATURE_SGX_LC is not enabled

2025-03-11 Thread Jarkko Sakkinen
On Sun, Mar 09, 2025 at 05:58:06PM +0100, Vladis Dronov wrote: > A kernel requires X86_FEATURE_SGX_LC to be able to create SGX enclaves. > There is quite a number of hardware which has X86_FEATURE_SGX but not > X86_FEATURE_SGX_LC. A kernel running on such a hardware does not create > /dev/sgx* devi

[PATCH] x86/sgx: Warn explicitly if X86_FEATURE_SGX_LC is not enabled

2025-03-09 Thread Vladis Dronov
A kernel requires X86_FEATURE_SGX_LC to be able to create SGX enclaves. There is quite a number of hardware which has X86_FEATURE_SGX but not X86_FEATURE_SGX_LC. A kernel running on such a hardware does not create /dev/sgx* devices silently. Explicitly warn if X86_FEATURE_SGX_LC is not enabled to p