函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-27 08:56:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:spectre_v1_select_mitigation

函数原型:static void __init spectre_v1_select_mitigation(void)

返回类型:void

参数:

432  如果非boot_cpu_has_bug(CPU is affected by Spectre variant 1 attack with conditional branches )或cpu_mitigations_off()则
433  spectre_v1_mitigation = SPECTRE_V1_MITIGATION_NONE
434  返回
437  如果(spectre_v1_mitigation == SPECTRE_V1_MITIGATION_AUTO)则
475  打印信息("%s\n", spectre_v1_strings[spectre_v1_mitigation])
调用者
名称描述
check_bugs检查CPU配置是否非法使用不具备的功能