Re: [PATCH] x86/cpufeatures: SGX: Adjust the error message when BIOS does not support SGX
From: WangYuli
Date: Tue Jul 30 2024 - 23:59:06 EST
On 2024/7/31 06:48, Huang, Kai wrote:
FWIW, this could easily happen with a virtual machine, e.g. running an old QEMU
with `-cpu host`.
Hmm.. it appears so, if the old Qemu doesn't have SGX support. Thanks.
Perhaps "SGX disabled or unsupported by BIOS." or "SGX not enabled by
BIOS" is slightly better than the current "SGX disabled by BIOS", but I
am not sure whether it is worth patching.
Of course, most kernel developers are incredibly busy and are reluctant
to spend their time
on those little changes.
However, the user base of Linux is gradually shifting from
'professionals' to 'general users'.
As I mentioned in the commit msg. I hope to make kernel logs clearer and
more understandable,
reducing confusion for those who are unfamiliar with the codebase.
It's important that any change in upstream can potentially impact
countless users.
Sincerely,
--
WangYuli