Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\microcode\core.c Create Date:2022-07-28 08:07:36
Last Modify:2020-03-16 20:13:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_loader_disabled_bsp

Proto:static bool __init check_loader_disabled_bsp(void)

Type:bool

Parameter:Nothing

111  __dis_opt_str = "dis_ucode_ldr"
114  cmdline = __pa_nodebug(boot_command_line)
115  option = __pa_nodebug(__dis_opt_str)
116  res = __pa_nodebug( & dis_ucode_ldr)
129  If native_cpuid_ecx(1) & BIT(31) Then Return res
132  If In early loading microcode phase on BSP, boot_cpu_data is not set up yet.* x86_cpuid_vendor() gets vendor id for BSP.* In 32 bit AP case, accessing boot_cpu_data needs linear address. To simplify == X86_VENDOR_AMD Then
133  If Check the current patch level on this CPU.* Returns:* - true: if update should stop* - false: otherwise Then Return res
137  If cmdline_find_option_bool(cmdline, option) <= 0 Then * res = false
140  Return res
Caller
NameDescribe
load_ucode_bsp