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

Name:Update x86_spec_ctrl_base in case SMT state changed.

Proto:static void update_stibp_strict(void)

Type:void

Parameter:Nothing

864  mask = The base value of the SPEC_CTRL MSR that always has to be preserved. & ~STIBP mask
866  If sched_smt_active() Then mask |= STIBP mask
869  If mask == The base value of the SPEC_CTRL MSR that always has to be preserved. Then Return
872  pr_info("Update user space SMT mitigation: STIBP %s\n", mask & STIBP mask ? "always-on" : "off")
874  The base value of the SPEC_CTRL MSR that always has to be preserved. = mask
875  Call a function on all processors
Caller
NameDescribe
cpu_bugs_smt_update