Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【deepin_V23_Release】【一般】【立即】【发散测试】【系统】开机提示“x86/cpu: SGX disabled by BIOS” #10032

Closed
kobe337 opened this issue Jul 29, 2024 · 5 comments · Fixed by deepin-community/kernel#423
Labels
吴波 吴波 回归通过 回归通过 项泽龙 项泽龙
Milestone

Comments

@kobe337
Copy link

kobe337 commented Jul 29, 2024

SUMMARY | 问题概要

开机提示“x86/cpu: SGX disabled by BIOS”

SOFTWARE/OS VERSIONS | 软件/系统版本信息

镜像版本:Deepin OS-23-20240619094316-1_x86_64
内核版本:Linux deepin-PC 6.6.40-amd64-desktop-hwe #23.01.00.33 SMP PREEMPT_DYNAMIC Thu Jul 25 15:29:39 CST 2024 x86_64 GNU/Linux

PRE-REQUIREMENT | 预置条件

使用intel 8代设备

STEPS TO REPRODUCE | 复现步骤

  1. 重启系统,查看开机显示信息

OBSERVED RESULT | 观察到的结果

开机提示“x86/cpu: SGX disabled by BIOS”
624bc361f607df1302039386b8b0dd47_compress
image

EXPECTED RESULT | 期望的结果

开机不会提示让用户产生疑惑的信息

ADDITIONAL INFORMATION | 额外补充

No response

@kobe337 kobe337 added this to the V23-Release milestone Jul 29, 2024
@babyfengfjx babyfengfjx assigned Zeno-sole and unassigned babyfengfjx Jul 30, 2024
@xzl01 xzl01 assigned babyfengfjx and unassigned Zeno-sole Jul 30, 2024
@xzl01
Copy link

xzl01 commented Jul 30, 2024

非bug,主板bios关闭了SGX,正常内核提醒

@babyfengfjx babyfengfjx assigned kobe337 and unassigned babyfengfjx Jul 30, 2024
@babyfengfjx
Copy link

@kobe337 请确认上述结论。

@kobe337
Copy link
Author

kobe337 commented Jul 30, 2024

与研发同事沟通,目前研发同事已将提示信息更新并提交上游,实际未有功能影响,通过讨论,此提示为内核正常输出,此issue关闭。
截图_选择区域_20240730153735

@kobe337 kobe337 closed this as completed Jul 30, 2024
@kobe337 kobe337 removed their assignment Jul 30, 2024
@kobe337 kobe337 added 回归通过 回归通过 吴波 吴波 项泽龙 项泽龙 labels Jul 30, 2024
intel-lab-lkp pushed a commit to intel-lab-lkp/linux that referenced this issue Aug 27, 2024
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 <wubo@uniontech.com>
Co-developed-by: Zelong Xiang <xiangzelong@uniontech.com>
Signed-off-by: Zelong Xiang <xiangzelong@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/all/F8D977CB368423F3+20240825104653.1294624-1-wangyuli@uniontech.com
Closes: linuxdeepin/developer-center#10032
Avenger-285714 added a commit to Avenger-285714/DeepinKernel that referenced this issue Sep 18, 2024
[ Upstream commit 7678a53a1688e3d03337ca884b284c6e7b060ec5 ]

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 <wubo@uniontech.com>
Co-developed-by: Zelong Xiang <xiangzelong@uniontech.com>
Signed-off-by: Zelong Xiang <xiangzelong@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/all/F8D977CB368423F3+20240825104653.1294624-1-wangyuli@uniontech.com
Closes: linuxdeepin/developer-center#10032
[ Backport from v6.12-rc1 ]
Avenger-285714 added a commit to deepin-community/kernel that referenced this issue Sep 18, 2024
[ Upstream commit 7678a53a1688e3d03337ca884b284c6e7b060ec5 ]

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 <wubo@uniontech.com>
Co-developed-by: Zelong Xiang <xiangzelong@uniontech.com>
Signed-off-by: Zelong Xiang <xiangzelong@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/all/F8D977CB368423F3+20240825104653.1294624-1-wangyuli@uniontech.com
Closes: linuxdeepin/developer-center#10032
[ Backport from v6.12-rc1 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
吴波 吴波 回归通过 回归通过 项泽龙 项泽龙
Projects
Status: CLOSED
5 participants