函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-27 08:56:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:l1tf_select_mitigation
函数原型:static void __init l1tf_select_mitigation(void)
返回类型:void
参数:无
| 1339 | 如果非boot_cpu_has_bug(CPU is affected by L1 Terminal Fault )则返回 |
| 1344 | 否则如果cpu_mitigations_auto_nosmt()则Default mitigation for L1TF-affected CPUs 等于L1TF_MITIGATION_FLUSH_NOSMT |
| 1353 | 退出 |
| 1356 | cpu_smt_disable(false) |
| 1357 | 退出 |
| 1359 | cpu_smt_disable(true) |
| 1360 | 退出 |
| 1371 | 打印警告信息("System has more than MAX_PA/2 memory. L1TF mitigation not effective.\n") |
| 1374 | 打印信息("However, doing so will make a part of your RAM unusable.\n") |
| 1375 | 打印信息("Reading https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html might help you decide.\n") |
| 1376 | 返回 |
| 名称 | 描述 |
|---|---|
| check_bugs | 检查CPU配置是否非法使用不具备的功能 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |