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:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mds_cmdline

Proto:static int __init mds_cmdline(char *str)

Type:int

Parameter:

TypeParameterName
char *str
267  If Not boot_cpu_has_bug(CPU is affected by Microarchitectural data sampling ) Then Return 0
270  If Not str Then Return -EINVAL
273  If Not strcmp(str, "off") Then Default mitigation for MDS-affected CPUs = MDS_MITIGATION_OFF
275  Else if Not strcmp(str, "full") Then Default mitigation for MDS-affected CPUs = MDS_MITIGATION_FULL
277  Else if Not strcmp(str, "full,nosmt") Then
278  Default mitigation for MDS-affected CPUs = MDS_MITIGATION_FULL
279  mds_nosmt = true
282  Return 0