函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-27 08:56:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:x86_amd_ssb_disable

函数原型:static void x86_amd_ssb_disable(void)

返回类型:void

参数:

217  msrval等于AMD specific MSR info for Speculative Store Bypass control.* x86_amd_ls_cfg_ssbd_mask is initialized in identify_boot_cpu().按位或x86_amd_ls_cfg_ssbd_mask
219  如果boot_cpu_has(Virtualized Speculative Store Bypass Disable )则wrmsrl(MSR_AMD64_VIRT_SPEC_CTRL, Speculative Store Bypass Disable )
221  否则如果boot_cpu_has("" AMD SSBD implementation via LS_CFG MSR )则wrmsrl(MSR_AMD64_LS_CFG, msrval)
调用者
名称描述
__ssb_select_mitigation
x86_spec_ctrl_setup_ap