HomeFreeBSD

x86: mask all LAPIC vectors early, before BSP interrupts are enabled

Description

x86: mask all LAPIC vectors early, before BSP interrupts are enabled

If APIC is left in somewhat bad state, with some source hot (not masked
and active, e.g. timers after kexec or due to BIOS bug), we get the
interrupt too early.

Reported by: jmg
Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54543

Details

Provenance
kibAuthored on Dec 9 2025, 2:18 AM
Reviewer
markj
Differential Revision
D54543: Mask local APIC vectors on init, before enabling interrupts
Parents
rG87ed56a5c435: x88/local_apic.c: for each lvt element, add LVT register index
Branches
Unknown
Tags
Unknown