函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\spec-ctrl.h Create Date:2022-07-27 08:29:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ssbd_tif_to_spec_ctrl

函数原型:static inline u64 ssbd_tif_to_spec_ctrl(u64 tifn)

返回类型:u64

参数:

类型参数名称
u64tifn
52  BUILD_BUG_ON - break compile if a condition is true(Speculative store bypass disable < Speculative Store Bypass Disable bit )
53  返回:tifn按位与_TIF_SSBD的值右移Speculative store bypass disable Speculative Store Bypass Disable bit
调用者
名称描述
amd_set_ssb_virt_state
__speculation_ctrl_updateUpdate the MSRs managing speculation control, during context switch.
x86_virt_spec_ctrl