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

Name:cpu_bugs_smt_update

Proto:void cpu_bugs_smt_update(void)

Type:void

Parameter:Nothing

915  mutex_lock( & spec_ctrl_mutex)
918  Case spectre_v2_user == SPECTRE_V2_USER_NONE
919  Break
920  Case spectre_v2_user == SPECTRE_V2_USER_STRICT
921  Case spectre_v2_user == SPECTRE_V2_USER_STRICT_PREFERRED
922  Update x86_spec_ctrl_base in case SMT state changed.
923  Break
924  Case spectre_v2_user == SPECTRE_V2_USER_PRCTL
925  Case spectre_v2_user == SPECTRE_V2_USER_SECCOMP
926  Update the static key controlling the evaluation of TIF_SPEC_IB
927  Break
931  Case Default mitigation for MDS-affected CPUs == MDS_MITIGATION_FULL
936  Break
938  Break
946  Break
949  Break