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

Name:l1tf_cmdline

Proto:static int __init l1tf_cmdline(char *str)

Type:int

Parameter:

TypeParameterName
char *str
1384  If Not boot_cpu_has_bug(CPU is affected by L1 Terminal Fault ) Then Return 0
1387  If Not str Then Return -EINVAL
1390  If Not strcmp(str, "off") Then Default mitigation for L1TF-affected CPUs = L1TF_MITIGATION_OFF
1392  Else if Not strcmp(str, "flush,nowarn") Then Default mitigation for L1TF-affected CPUs = L1TF_MITIGATION_FLUSH_NOWARN
1394  Else if Not strcmp(str, "flush") Then Default mitigation for L1TF-affected CPUs = L1TF_MITIGATION_FLUSH
1396  Else if Not strcmp(str, "flush,nosmt") Then Default mitigation for L1TF-affected CPUs = L1TF_MITIGATION_FLUSH_NOSMT
1398  Else if Not strcmp(str, "full") Then Default mitigation for L1TF-affected CPUs = L1TF_MITIGATION_FULL
1400  Else if Not strcmp(str, "full,force") Then Default mitigation for L1TF-affected CPUs = L1TF_MITIGATION_FULL_FORCE
1403  Return 0