x86, ioapic, acpi quirk: disable IRQ 0 through I/O APIC for some HP systems
commit9340e1ccdf7b9b22a2be7f51cd74e8b5e11961bf
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 1 Jul 2008 00:12:06 +0000 (1 01:12 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 09:10:41 +0000 (8 11:10 +0200)
treebecdda013a47f66a54e4c44cbb7eaff6b5471a41
parent471694ea6c6ccdf7131354f1d698d4d83a605293
x86, ioapic, acpi quirk: disable IRQ 0 through I/O APIC for some HP systems

Some HP laptops have a problem with their DSDT reporting as
HP/SB400/10000, which includes some code which overrides all temperature
trip points to 16C if the INTIN2 input of the I/O APIC is enabled.  This
input is incorrectly designated the ISA IRQ 0 via an interrupt source
override even though it is wired to the output of the master 8259A and
INTIN0 is not connected at all.  So far two models have been identified,
namely nx6125 and nx6325.

Use a knob provided by the I/O APIC interrupt registration code to
abandon any attempts to route IRQ 0 through the I/O APIC for these
systems.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/boot.c