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:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:spectre_v1_select_mitigation

Proto:static void __init spectre_v1_select_mitigation(void)

Type:void

Parameter:Nothing

432  If Not boot_cpu_has_bug(CPU is affected by Spectre variant 1 attack with conditional branches ) || cpu_mitigations_off() Then
433  spectre_v1_mitigation = SPECTRE_V1_MITIGATION_NONE
434  Return
437  If (spectre_v1_mitigation == SPECTRE_V1_MITIGATION_AUTO) Then
475  pr_info("%s\n", spectre_v1_strings[spectre_v1_mitigation])
Caller
NameDescribe
check_bugs