Re: [PATCH 4/7] x86/microcode: Distinguish NMI control path on stop-machine callback

From: Thomas Gleixner

Date: Wed Jan 28 2026 - 03:11:14 EST


On Sun, Jan 25 2026 at 01:42, Chang S. Bae wrote:
> static int load_cpus_stopped(void *unused)
> {
> - if (microcode_ops->use_nmi) {
> - /* Enable the NMI handler and raise NMI */
> - this_cpu_write(ucode_ctrl.nmi_enabled, true);
> - apic->send_IPI(smp_processor_id(), NMI_VECTOR);
> - } else {
> - /* Just invoke the handler directly */
> - microcode_update_handler();
> - }
> + /* Enable the NMI handler and raise NMI */
> + this_cpu_write(ucode_ctrl.nmi_enabled, true);
> + apic->send_IPI(smp_processor_id(), NMI_VECTOR);
> +

With this change the function name is completely bogus.