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

Name:microcode_init_cpu

Proto:static enum ucode_state microcode_init_cpu(int cpu, bool refresh_fw)

Type:enum ucode_state

Parameter:

TypeParameterName
intcpu
boolrefresh_fw
708  uci = ucode_cpu_info + cpu
710  If valid Then Return UCODE_OK
713  If collect_cpu_info(cpu) Then Return UCODE_ERROR
717  If Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE. != SYSTEM_RUNNING Then Return UCODE_NFOUND
720  ustate = request_microcode_fw(cpu, & dev, refresh_fw)
721  If ustate == UCODE_NEW Then
722  pr_debug("CPU%d updated upon init\n", cpu)
723  apply_microcode_on_target(cpu)
726  Return ustate
Caller
NameDescribe
microcode_update_cpu
mc_device_add