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.
x86/local_apic.c: convert lvts[] and elvts[] arrays to designated initializers x88/local_apic.c: for each lvt element, add LVT register index x86: mask all LAPIC vectors early, before BSP interrupts are enabled
Reported by: jmg