]> git.hungrycats.org Git - linux/commit
zygo: config: turn off MICROCODE_DBG (kills AP bringup under KVM on 7.3)
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 12 Sep 2026 15:10:05 +0000 (11:10 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Fri, 18 Sep 2026 21:36:35 +0000 (17:36 -0400)
commite4199185b2881f637503deab4fbb2beaba059d34
tree59bf78252d5a73f772fafd89e2afb235b2f376af
parent590cd8f6016fd4ded3d5fef7257cb5d6d725719a
zygo: config: turn off MICROCODE_DBG (kills AP bringup under KVM on 7.3)

With CONFIG_MICROCODE_DBG=y the microcode loader runs under a hypervisor
(it is normally skipped there), and on 7.3-rc2 its ucode_dbg() printk on
a secondary CPU (load_ucode_amd_ap -> apply_microcode_amd -> find_patch
-> get_patch_level) reaches nbcon_kthreads_wake -> irq_work_queue ->
x2apic_send_IPI_self before the AP has enabled x2APIC: an unchecked
WRMSR to 0x83f, the AP dies and the VM resets.  Every 7.3-rc2 boot on
the bhive test VM (Ryzen 3700X guest) died at "smpboot: x86: Booting
SMP configuration:" with no further output; the same kernel boots with
maxcpus=1.  6.18 tolerates the option.  It is a debug knob and off is
the normal configuration.

Assisted-by: Claude:claude-opus-4-8
.config