This brings the Spurious-Interrupt Vector Register into its well-defined
reset state before handing the APIC over. Avoids surprises for cells and
the need for additional explanations.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
cpu_relax();
disable_irq();
- /* Finally, reset the TPR again */
+ /* Finally, reset the TPR again and disable the APIC */
apic_ops.write(APIC_REG_TPR, 0);
+ apic_ops.write(APIC_REG_SVR, 0xff);
}
static bool apic_valid_ipi_mode(u32 lo_val)