Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\spec-ctrl.h Create Date:2022-07-28 07:29:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:stibp_tif_to_spec_ctrl

Proto:static inline u64 stibp_tif_to_spec_ctrl(u64 tifn)

Type:u64

Parameter:

TypeParameterName
u64tifn
58  BUILD_BUG_ON - break compile if a condition is true(Indirect branch speculation mitigation < Single Thread Indirect Branch Predictor (STIBP) bit )
59  Return (tifn & _TIF_SPEC_IB) >> Indirect branch speculation mitigation - Single Thread Indirect Branch Predictor (STIBP) bit
Caller
NameDescribe
__speculation_ctrl_updateUpdate the MSRs managing speculation control, during context switch.
x86_virt_spec_ctrl