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

From: Ingo Molnar
Date: Mon Oct 06 2008 - 23:42:18 EST



* Andreas Herrmann <andreas.herrmann3@xxxxxxx> 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 <andreas.herrmann3@xxxxxxx>
>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/