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:37
Last Modify:2020-03-16 20:13:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:load_ucode_bsp

Proto:void __init load_ucode_bsp(void)

Type:void

Parameter:Nothing

165  bool intel = true
167  If Not Probe for the CPUID instruction Then Return
170  cpuid_1_eax = Native CPUID functions returning a single datum.
173  Case 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_INTEL
174  If x86_family(cpuid_1_eax) < 6 Then Return
176  Break
178  Case 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
179  If x86_family(cpuid_1_eax) < 0x10 Then Return
181  intel = false
182  Break
184  Default
185  Return
188  If check_loader_disabled_bsp() Then Return
191  If intel Then load_ucode_intel_bsp()
193  Else load_ucode_amd_bsp(cpuid_1_eax)