Fix an inverted test in ucode_load_ap().
This caused microcode to be updated only on the BSP if hyperthreading was disabled, typically resulting in a hang or reset. Approved by: re (kib) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
580e30a33e
commit
7c179abac7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339124
@ -269,7 +269,7 @@ ucode_load_ap(int cpu)
|
||||
KASSERT(cpu_info[cpu_apic_ids[cpu]].cpu_present,
|
||||
("cpu %d not present", cpu));
|
||||
|
||||
if (!cpu_info[cpu_apic_ids[cpu]].cpu_hyperthread)
|
||||
if (cpu_info[cpu_apic_ids[cpu]].cpu_hyperthread)
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user