Re: [PATCH] x86: SB450: skip IRQ0 override if it is not routed to INT2 of IOAPIC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, October 6, 2008 - 9:57 pm

* Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:


ok, added your Tested-by to the changelog, thanks.

I also applied the patch below to deprioritize the DMI quirks for this 
problem (without actually removing them, yet). Could you please check 
whether latest tip/master:

  http://people.redhat.com/mingo/tip.git/README

boots fine out of box and that the WARN() does not trigger?

	Ingo

--------------->
From 8d89adf44cf750e49691ba5b744b2ad77a05e997 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Tue, 7 Oct 2008 06:47:52 +0200
Subject: [PATCH] x86: SB450: deprioritize DMI quirks

This PCI ID based quick should be a full solution for the IRQ0 override
related slowdown problem on SB450 based systems:

  33fb0e4: x86: SB450: skip IRQ0 override if it is not routed to INT2 of IOAPIC

Emit a warning in those cases where the DMI quirk triggers but
the PCI ID based quirk didnt.

If this warning does not trigger then we can phase out the DMI quirks.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/kernel/acpi/boot.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index c102af8..096102d 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1421,8 +1421,16 @@ static int __init force_acpi_ht(const struct dmi_system_id *d)
  */
 static int __init dmi_ignore_irq0_timer_override(const struct dmi_system_id *d)
 {
-	pr_notice("%s detected: Ignoring BIOS IRQ0 pin2 override\n", d->ident);
-	acpi_skip_timer_override = 1;
+	/*
+	 * The ati_ixp4x0_rev() early PCI quirk should have set
+	 * the acpi_skip_timer_override flag already:
+	 */
+	if (!acpi_skip_timer_override) {
+		WARN(1, KERN_ERR "ati_ixp4x0 quirk not complete.\n");
+		pr_notice("%s detected: Ignoring BIOS IRQ0 pin2 override\n",
+			d->ident);
+		acpi_skip_timer_override = 1;
+	}
 	return 0;
 }
 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Sun Oct 5, 11:36 am)
Re: 2.6.27-rc8+ - first impressions, Rafael J. Wysocki, (Sun Oct 5, 11:59 am)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Sun Oct 5, 12:06 pm)
Re: 2.6.27-rc8+ - first impressions, Arjan van de Ven, (Sun Oct 5, 12:10 pm)
Re: 2.6.27-rc8+ - first impressions, Rafael J. Wysocki, (Sun Oct 5, 12:19 pm)
Re: 2.6.27-rc8+ - first impressions, Thomas Gleixner, (Sun Oct 5, 12:27 pm)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Sun Oct 5, 2:18 pm)
Re: 2.6.27-rc8+ - first impressions, Parag Warudkar, (Sun Oct 5, 2:40 pm)
Re: 2.6.27-rc8+ - first impressions, Rafael J. Wysocki, (Sun Oct 5, 3:29 pm)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Sun Oct 5, 11:23 pm)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Sun Oct 5, 11:28 pm)
Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy ..., Rafael J. Wysocki, (Mon Oct 6, 10:15 am)
Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy ..., Rafael J. Wysocki, (Mon Oct 6, 10:17 am)
Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy ..., Maciej W. Rozycki, (Mon Oct 6, 10:51 am)
Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy ..., Maciej W. Rozycki, (Mon Oct 6, 10:54 am)
Re: 2.6.27-rc8+ - first impressions, Andreas Herrmann, (Mon Oct 6, 12:53 pm)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Mon Oct 6, 8:42 pm)
Re: [PATCH] x86: SB450: skip IRQ0 override if it is not ro ..., Ingo Molnar, (Mon Oct 6, 9:57 pm)
Re: 2.6.27-rc8+ - first impressions, Andreas Herrmann, (Tue Oct 7, 2:10 am)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Tue Oct 7, 4:37 am)
Re: 2.6.27-rc8+ - first impressions, Parag Warudkar, (Tue Oct 7, 5:07 am)
Re: 2.6.27-rc8+ - first impressions, Andreas Herrmann, (Tue Oct 7, 6:19 am)
Re: 2.6.27-rc8+ - first impressions, Dmitry Torokhov, (Tue Oct 7, 6:07 pm)