Re: [PATCH] x86/intel: Clear SGX bit if both SGX driver and KVM SGX are not enabled

From: Dave Hansen
Date: Fri Sep 09 2022 - 08:13:33 EST


On 9/9/22 01:08, Kai Huang wrote:
> Currently on platform which has SGX enabled, if CONFIG_X86_SGX is not
> enabled, the X86_FEATURE_SGX is not cleared, resulting in /proc/cpuinfo
> shows "sgx" feature. This is not desired.

Why is it not desired?