Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-28 07:56:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mds_select_mitigation

Proto:static void __init mds_select_mitigation(void)

Type:void

Parameter:Nothing

240  If Not boot_cpu_has_bug(CPU is affected by Microarchitectural data sampling ) || cpu_mitigations_off() Then
241  Default mitigation for MDS-affected CPUs = MDS_MITIGATION_OFF
242  Return
245  If Default mitigation for MDS-affected CPUs == MDS_MITIGATION_FULL Then
246  If Not boot_cpu_has(VERW clears CPU buffers ) Then 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  If Not boot_cpu_has(CPU is only affected by the MSDBS variant of BUG_MDS ) && (mds_nosmt || cpu_mitigations_auto_nosmt()) Then cpu_smt_disable(false)
Caller
NameDescribe
check_bugs
taa_select_mitigation