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:ssbd_tif_to_spec_ctrl

Proto:static inline u64 ssbd_tif_to_spec_ctrl(u64 tifn)

Type:u64

Parameter:

TypeParameterName
u64tifn
52  BUILD_BUG_ON - break compile if a condition is true(Speculative store bypass disable < Speculative Store Bypass Disable bit )
53  Return (tifn & _TIF_SSBD) >> Speculative store bypass disable - Speculative Store Bypass Disable bit
Caller
NameDescribe
amd_set_ssb_virt_state
__speculation_ctrl_updateUpdate the MSRs managing speculation control, during context switch.
x86_virt_spec_ctrl