Bug 9153
Summary: | PnPACPI ignores IOAPIC Interrupt Source Overrides | ||
---|---|---|---|
Product: | ACPI | Reporter: | Len Brown (lenb) |
Component: | Config-Interrupts | Assignee: | Shaohua (shaohua.li) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla, amax, lcm, lpechacek, ole |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | up through 2.6.23 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
patch
MADT DSDT patch updated patch |
Description
Len Brown
2007-10-12 13:38:59 UTC
please check if the workaroud in 'http://bugzilla.kernel.org/show_bug.cgi?id=5243' works for you? AKPM already includes the workaround in -mm. Oh, sounds no, so the IRQ should be edge low instead of edge high? can you please attach the acpidump, I can't access the novell bugzilla. Created attachment 13159 [details]
patch
Could you please try attached patch? With it, interrupt override is considered.
I tried the patch from comment #3. The 2.6.23-mm1 kernel without the patch re-programs the RTC interrupt with the wrong polarity. With the patch applied the RTC interrupt works as expected, i.e the override in the MADT is being respected. There is one problem with the patch: it causes the following warning: WARNING: vmlinux.o(.text+0x166c5): Section mismatch: reference to .init.text:MPBIOS_polarity (between 'acpi_get_override_irq' and 'IO_APIC_get_PCI_irq_vector') The acpi_get_override_irq function uses MPBIOS_polarity which is declared as __init. Created attachment 13173 [details]
MADT
Here is the MADT of the affected system, showing the IRQ override for IRQ 8
Created attachment 13174 [details]
DSDT
Here is the DSDT (disassembled) of the affected system showing the PNP entry for IRQ8
Created attachment 13175 [details] patch Ok, fixed the warning. Let's wait if it fix the bug 5243. *** Bug 5243 has been marked as a duplicate of this bug. *** Created attachment 13282 [details]
updated patch
This is the updated patch. Just move one '\n' and refreshed it against latest git tree, no functional change
*** Bug 7679 has been marked as a duplicate of this bug. *** The patch in comment #9 1. fixes the screaming IRQ8 on the STL2 in bug 5243. 2. is applied to acpi test branch shipped in linux-2.6.24-rc4 closed |