aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorWangYuli <[email protected]>2024-08-25 18:46:53 +0800
committerThomas Gleixner <[email protected]>2024-08-25 14:41:19 +0200
commit7678a53a1688e3d03337ca884b284c6e7b060ec5 (patch)
tree515e36920b587e31d1f29bc16d3cb95699ec3b58 /rust/helpers.c
parentea49cdb26e7cffc261ceb1db26707e6d337fa104 (diff)
x86/cpu: Clarify the error message when BIOS does not support SGX
When SGX is not supported by the BIOS, the kernel log contains the error 'SGX disabled by BIOS', which can be confusing since there might not be an SGX-related option in the BIOS settings. For the kernel it's difficult to distinguish between the BIOS not supporting SGX and the BIOS supporting SGX but having it disabled. Therefore, update the error message to 'SGX disabled or unsupported by BIOS' to make it easier for those reading kernel logs to understand what's happening. Reported-by: Bo Wu <[email protected]> Co-developed-by: Zelong Xiang <[email protected]> Signed-off-by: Zelong Xiang <[email protected]> Signed-off-by: WangYuli <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Kai Huang <[email protected]> Link: https://lore.kernel.org/all/[email protected] Closes: https://github.com/linuxdeepin/developer-center/issues/10032
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions