All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] x86: change IO-APIC ack method default for single IO-APIC systems
Date: Wed, 21 Jan 2009 14:21:46 +0000	[thread overview]
Message-ID: <49773D8A.76E4.0078.0@novell.com> (raw)

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");
 

             reply	other threads:[~2009-01-21 14:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 14:21 Jan Beulich [this message]
2009-01-21 14:23 ` [PATCH] x86: change IO-APIC ack method default for single IO-APIC systems 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49773D8A.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.