Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756169AbYJGDmR (ORCPT ); Mon, 6 Oct 2008 23:42:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753302AbYJGDmB (ORCPT ); Mon, 6 Oct 2008 23:42:01 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:46409 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752333AbYJGDmA (ORCPT ); Mon, 6 Oct 2008 23:42:00 -0400 Date: Tue, 7 Oct 2008 05:41:32 +0200 From: Ingo Molnar To: Andreas Herrmann Cc: "Maciej W. Rozycki" , Andi Kleen , Linus Torvalds , "Rafael J. Wysocki" , Dmitry Torokhov , linux-kernel@vger.kernel.org, Andrew Morton , Len Brown , Jason Vas Dias Subject: Re: [PATCH] x86: SB450: skip IRQ0 override if it is not routed to INT2 of IOAPIC Message-ID: <20081007034132.GA3025@elte.hu> References: <20081005183603.GA3263@amd.corenet.prv> <200810060029.42471.rjw@sisk.pl> <20081006062235.GA2808@amd.corenet.prv> <200810061159.30103.rjw@sisk.pl> <20081006150055.GA16930@elte.hu> <87tzbpmocm.fsf@basil.nowhere.org> <20081006221122.GC22097@alberich.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006221122.GC22097@alberich.amd.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00,DNS_FROM_SECURITYSAGE autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 30 * Andreas Herrmann wrote: > So, let's work around BIOS bugs in Linux then ... > > Following patch is almost untested -- especially I didn't get my hands > on one of the HP Laptops with broken DSDT. [...] > On some HP nx6... laptops (e.g. nx6325) BIOS reports an IRQ0 override > but the SB450 chipset is configured such that timer interrupts goe to > INT0 of IOAPIC. > > Check IRQ0 routing and if it is routed to INT0 of IOAPIC skip the > timer override. > > Signed-off-by: Andreas Herrmann > > --- > arch/x86/kernel/early-quirks.c | 48 ++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 48 insertions(+), 0 deletions(-) very nice, thanks Andreas! Applied to tip/x86/quirks. This PCI ID based quirk should be more complete than DMI matches. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/