x86: SB600: skip IRQ0 override if it is not routed to INT2 of IOAPIC
commit2bfef69d9e8cc056aa4dbc13f2136747340b4515
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Wed, 15 Oct 2008 09:51:53 +0000 (15 11:51 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 10:00:10 +0000 (22 12:00 +0200)
tree1848b0bb729372a03c395d11491497dd549e3a98
parent8bcad30f2e6d4c20f7e71d2e2ac77acc0f0931e5
x86: SB600: skip IRQ0 override if it is not routed to INT2 of IOAPIC

Impact: fix hung bootup and other misbehavior on certain laptops

On some more HP laptops BIOS reports an IRQ0 override
but the SB600 chipset is configured such that timer
interrupts go to INT0 of IOAPIC.

Check IRQ0 routing and if it is routed to INT0 of IOAPIC skip the
timer override.

See following bug reports:

  http://bugzilla.kernel.org/show_bug.cgi?id=11715
  http://bugzilla.kernel.org/show_bug.cgi?id=11516

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/early-quirks.c