Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-28 07:56:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_bugs

Proto:void __init check_bugs(void)

Type:void

Parameter:Nothing

79  identify_boot_cpu()
85  cpu_smt_check_topology()
87  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP) Then
88  pr_info("CPU: ")
89  print_cpu_info( & common cpu data for all cpus )
97  If boot_cpu_has("" MSR SPEC_CTRL is implemented ) Then rdmsrl(Speculation Control , The base value of the SPEC_CTRL MSR that always has to be preserved. )
101  If boot_cpu_has(Single Thread Indirect Branch Predictors ) Then 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  If CPU family < 4 Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
131  machine[1] = '0' + If CPU family > 6 Then 6 Else CPU family
133  alternative_instructions()
135  This used to check for exceptions