函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mds_select_mitigation

函数原型:static void __init mds_select_mitigation(void)

返回类型:void

参数:

240  如果非boot_cpu_has_bug(CPU is affected by Microarchitectural data sampling )或cpu_mitigations_off()则
241  Default mitigation for MDS-affected CPUs 等于MDS_MITIGATION_OFF
242  返回
245  如果Default mitigation for MDS-affected CPUs 恒等于MDS_MITIGATION_FULL
246  如果非boot_cpu_has(VERW clears CPU buffers )则Default mitigation for MDS-affected CPUs 等于MDS_MITIGATION_VMWERV
249  Normal usage; boolean enable/disable.( & Control MDS CPU buffer clear before returning to user space )
251  如果非boot_cpu_has(CPU is only affected by the MSDBS variant of BUG_MDS )且mds_nosmtcpu_mitigations_auto_nosmt()的值则cpu_smt_disable(false)
调用者
名称描述
check_bugs检查CPU配置是否非法使用不具备的功能
taa_select_mitigation