2010-01-16 01:12:54 +01:00
|
|
|
Change default IO-APIC ack mode for single IO-APIC systems to old-style.
|
2009-01-25 01:23:36 +01:00
|
|
|
|
2013-06-01 23:11:56 +02:00
|
|
|
Index: xen-4.3.0-testing/xen/arch/x86/io_apic.c
|
2012-11-19 14:58:33 +01:00
|
|
|
===================================================================
|
2013-06-01 23:11:56 +02:00
|
|
|
--- xen-4.3.0-testing.orig/xen/arch/x86/io_apic.c
|
|
|
|
+++ xen-4.3.0-testing/xen/arch/x86/io_apic.c
|
|
|
|
@@ -2026,7 +2026,10 @@ void __init setup_IO_APIC(void)
|
2009-01-25 01:23:36 +01:00
|
|
|
io_apic_irqs = ~PIC_IRQS;
|
|
|
|
|
|
|
|
printk("ENABLING IO-APIC IRQs\n");
|
2012-09-21 16:45:08 +02:00
|
|
|
- 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");
|
|
|
|
+ }
|
2009-01-25 01:23:36 +01:00
|
|
|
|
2013-06-01 23:11:56 +02:00
|
|
|
if (ioapic_ack_new) {
|
|
|
|
ioapic_level_type.ack = irq_complete_move;
|