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

Name:Reload microcode late on all CPUs. Wait for a sec until they* all gather together.

Proto:static int microcode_reload_late(void)

Type:int

Parameter:Nothing

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  If ret > 0 Then 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  pr_info("Reload completed, microcode revision: 0x%x\n", microcode)
616  Return ret
Caller
NameDescribe
reload_store