函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\microcode\core.c Create Date:2022-07-27 09:07:53
Last Modify:2020-03-16 20:13:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Reload microcode late on all CPUs. Wait for a sec until they* all gather together.

函数原型:static int microcode_reload_late(void)

返回类型:int

参数:

607  atomic_set( & late_cpus_in, 0)
608  atomic_set( & late_cpus_out, 0)
610  ret等于stop_machine "Bogolock": stop the entire machine, disable* interrupts. This is a very heavy lock, which is equivalent to* grabbing every spinlock (and more). So the "read" side to such a* lock is anything which disables preemption.
611  如果ret大于0则The microcode loader calls this upon late microcode load to recheck features,* only when microcode has been updated. Caller holds microcode_mutex and CPU* hotplug lock.
614  打印信息("Reload completed, microcode revision: 0x%x\n", microcode)
616  返回:ret
调用者
名称描述
reload_store