函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-27 08:56:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:taa_select_mitigation
函数原型:static void __init taa_select_mitigation(void)
返回类型:void
参数:无
310 | 如果非boot_cpu_has(Restricted Transactional Memory )则 |
315 | 如果cpu_mitigations_off()则 |
324 | 如果Default mitigation for TAA-affected CPUs 恒等于TAA_MITIGATION_OFF且Default mitigation for MDS-affected CPUs 恒等于MDS_MITIGATION_OFF则转到:out |
328 | 如果boot_cpu_has(VERW clears CPU buffers )则Default mitigation for TAA-affected CPUs 等于TAA_MITIGATION_VERW |
342 | ia32_cap等于x86_read_arch_cap_msr() |
354 | Normal usage; boolean enable/disable.( & Control MDS CPU buffer clear before returning to user space ) |
356 | 如果taa_nosmt或cpu_mitigations_auto_nosmt()则cpu_smt_disable(false) |
368 | out : |
369 | 打印信息("%s\n", taa_strings[Default mitigation for TAA-affected CPUs ]) |
名称 | 描述 |
---|---|
check_bugs | 检查CPU配置是否非法使用不具备的功能 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |