Function report |
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 activity | Download SCCT | Chinese |
Name:l1tf_cmdline
Proto:static int __init l1tf_cmdline(char *str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | str |
1384 | If Not boot_cpu_has_bug(CPU is affected by L1 Terminal Fault ) Then Return 0 |
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |