函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:检查CPU配置是否非法使用不具备的功能

函数原型:void __init check_bugs(void)

返回类型:void

参数:

79  identify_boot_cpu()
85  cpu_smt_check_topology()
87  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP)则
88  打印信息("CPU: ")
89  print_cpu_info( & common cpu data for all cpus )
97  如果boot_cpu_has("" MSR SPEC_CTRL is implemented )则rdmsrl(Speculation Control , The base value of the SPEC_CTRL MSR that always has to be preserved. )
101  如果boot_cpu_has(Single Thread Indirect Branch Predictors )则The vendor and possibly platform specific bits which can be modified in* x86_spec_ctrl_base.或等于STIBP mask
105  spectre_v1_select_mitigation()
106  spectre_v2_select_mitigation()
107  ssb_select_mitigation()
108  l1tf_select_mitigation()
109  mds_select_mitigation()
110  taa_select_mitigation()
116  mds_print_mitigation()
118  Invoked from core CPU hotplug code after hotplug operations
128  如果CPU family 小于4则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
131  machine[1]等于'0'加如果CPU family 大于6则6否则CPU family
133  alternative_instructions()
135  This used to check for exceptions
调用者
名称描述
start_kernel启动内核