Skip to content

Commit a780578

Browse files
leoliu-ocopsiff
authored andcommitted
x86/microcode: Serialize cpu startup during early updates
zhaoxin inclusion category: feature -------------------- Due to hardware limitations, it is necessary to avoid situations where some cores are waiting to receive startup while other cores are updating microcode. Therefore, cpu startup must be serialized when microcode updates are required. Reviewed-by: Tony W. Wang <tonywwang@zhaoxin.com> Signed-off-by: Lyle Li <lyleli@zhaoxin.com> Signed-off-by: LeoLiu-oc <leoliu-oc@zhaoxin.com>
1 parent e26c6bc commit a780578

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/kernel/cpu/microcode/zhaoxin.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ void __init load_ucode_zhaoxin_bsp(struct early_load_data *ed)
490490

491491
if (uci.mc && apply_microcode_early(&uci) == UCODE_UPDATED) {
492492
zhaoxin_ucode_patch = UCODE_BSP_LOADED;
493+
x86_cpuinit.parallel_bringup = false;
493494
ed->new_rev = uci.cpu_sig.rev;
494495
} else if (uci.mc) {
495496
pr_debug("%s: BSP CPU %d early update failed due to application failure\n",

0 commit comments

Comments
 (0)