2024-05-04 02:04:11 +02:00
|
|
|
Change default IO-APIC ack mode for single IO-APIC systems to old-style.
|
|
|
|
|
|
|
|
--- a/xen/arch/x86/io_apic.c
|
|
|
|
+++ b/xen/arch/x86/io_apic.c
|
2024-10-18 15:48:08 +02:00
|
|
|
@@ -2071,7 +2071,10 @@ void __init setup_IO_APIC(void)
|
2024-05-04 02:04:11 +02:00
|
|
|
io_apic_irqs = ~PIC_IRQS;
|
|
|
|
|
|
|
|
printk("ENABLING IO-APIC IRQs\n");
|
|
|
|
- printk(" -> Using %s ACK method\n", ioapic_ack_new ? "new" : "old");
|
|
|
|
+ if (!directed_eoi_enabled && !ioapic_ack_forced) {
|
|
|
|
+ ioapic_ack_new = (nr_ioapics > 1);
|
|
|
|
+ printk(" -> Using %s ACK method\n", ioapic_ack_new ? "new" : "old");
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (ioapic_ack_new) {
|
|
|
|
ioapic_level_type.ack = irq_complete_move;
|