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

Name:ssb_parse_cmdline

Proto:static enum ssb_mitigation_cmd __init ssb_parse_cmdline(void)

Type:enum ssb_mitigation_cmd

Parameter:Nothing

989  cmd = SPEC_STORE_BYPASS_CMD_AUTO
993  If cmdline_find_option_bool(boot_command_line, "nospec_store_bypass_disable") || cpu_mitigations_off() Then
995  Return SPEC_STORE_BYPASS_CMD_NONE
996  Else
997  ret = cmdline_find_option(boot_command_line, "spec_store_bypass_disable", arg, size of arg )
999  If ret < 0 Then Return SPEC_STORE_BYPASS_CMD_AUTO
1003  If Not match_option(arg, ret, option) Then Continue
1006  cmd = cmd
1007  Break
1011  pr_err("unknown option (%s). Switching to AUTO select\n", arg)
1016  Return cmd
Caller
NameDescribe
__ssb_select_mitigation