All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: change IO-APIC ack method default for single IO-APIC systems
@ 2009-01-21 14:21 Jan Beulich
  2009-01-21 14:23 ` Jiang, Yunhong
  2009-01-21 14:35 ` [PATCH] x86: change IO-APIC ack method default for single " Keir Fraser
  0 siblings, 2 replies; 12+ messages in thread
From: Jan Beulich @ 2009-01-21 14:21 UTC (permalink / raw)
  To: xen-devel

Ever since 3.0.2 we've been carrying this patch in our products. Since
there was no indication that there would be anything wrong with the
'new' IO-APIC ack method added back then, we finally decided to drop
this patch recently from SLE11, to find that the subsequent release
candidate failed to work on at least on system without using
"ioapic_ack=old". With that knowledge I think it is now reasonable to
include that patch in -unstable, as the introduction of the 'new' ack
method was only to address issues with certain chipsets silently
setting up alternative IRQ routes when RTEs in secondary IO-APICs got
masked.

Here some data on the hardware the issue was reportedly found on:
* intel DQ965CO motherboard (i82Q965 chipset)
* intel 82566DM NIC
* intel ICH8R (82801H)
* Marvell 88SE6101 IDE controller
* nVidia 8600GT graphics
* intel Q6600 CPU
* 8GB RAM

Signed-off-by: Jan Beulich <jbeulich@novell.com>

--- 2009-01-08.orig/xen/arch/x86/io_apic.c	2009-01-09 12:43:35.000000000 +0100
+++ 2009-01-08/xen/arch/x86/io_apic.c	2009-01-21 14:11:53.000000000 +0100
@@ -1352,7 +1352,7 @@ static unsigned int startup_level_ioapic
     return 0; /* don't check for pending */
 }
 
-int ioapic_ack_new = 1;
+int ioapic_ack_new = -1;
 static void setup_ioapic_ack(char *s)
 {
     if ( !strcmp(s, "old") )
@@ -1839,6 +1839,8 @@ void __init setup_IO_APIC(void)
     else
         io_apic_irqs = ~PIC_IRQS;
 
+    if (ioapic_ack_new < 0)
+        ioapic_ack_new = (nr_ioapics > 1);
     printk("ENABLING IO-APIC IRQs\n");
     printk(" -> Using %s ACK method\n", ioapic_ack_new ? "new" : "old");
 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-01-22  3:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 14:21 [PATCH] x86: change IO-APIC ack method default for single IO-APIC systems Jan Beulich
2009-01-21 14:23 ` Jiang, Yunhong
2009-01-21 14:33   ` [PATCH] x86: change IO-APIC ack method default forsingle " Jan Beulich
2009-01-21 14:35     ` Jiang, Yunhong
2009-01-21 14:37   ` [PATCH] x86: change IO-APIC ack method default for single " Keir Fraser
2009-01-21 14:44     ` [PATCH] x86: change IO-APIC ack method default forsingle " Jan Beulich
2009-01-21 14:35 ` [PATCH] x86: change IO-APIC ack method default for single " Keir Fraser
2009-01-21 14:41   ` Jiang, Yunhong
2009-01-21 14:51   ` [PATCH] x86: change IO-APIC ack method default forsingle " Jan Beulich
2009-01-21 16:32     ` Keir Fraser
2009-01-21 16:44       ` [PATCH] x86: change IO-APIC ack method defaultforsingle " Jan Beulich
2009-01-22  3:09       ` [PATCH] x86: change IO-APIC ack method default forsingle " Tian, Kevin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.