Very high interrupt rate for IRQ8 (rtc) unless pnpacpi=off
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · On Thu, 27 Sep 2007, [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=5243
------- Comment #14 from [email protected] 2007-09-27 18:32 ------- (In reply to comment #13)
Quoted 1 line
Created an attachment (id=12951)
--> (http://bugzilla.kernel.org/attachment.cgi?id=12951&action=view) [details]
Quoted 2 lines
Working workaround for this PNP BIOS bug
Now it seems that the patch can solve the problem. Will you please send the patch to the acpi maillist?
Attached.
Best regards,
Krzysztof Olędzki
From: Krzysztof Oledzki <[email protected]>
Workaround for broken systems with BIOS that makes RTC interrupt level triggered and/or active low.
See http://bugzilla.kernel.org/show_bug.cgi?id=5243
Based on the patch from Shaohua Li <[email protected]>
---
drivers/pnp/pnpacpi/rsparser.c renamed from drivers/pnp/pnpacpi/rsparser.c~fix-very-high-interrupt-rate-for-irq8-rtc-unless-pnpacpi=off +10 -0
@@ -85,6 +85,16 @@ static void pnpacpi_parse_allocated_irqrif (i >=PNP_MAX_IRQ )return ; +#ifdef CONFIG_X86 +if (gsi <16 && (triggering !=ACPI_EDGE_SENSITIVE || + polarity !=ACPI_ACTIVE_HIGH )) { +pnp_warn ("BIOS BUG: legacy PNP IRQ %d should be edge trigger, " +"active high" , gsi); + triggering =ACPI_EDGE_SENSITIVE ; + polarity =ACPI_ACTIVE_HIGH ; + } +#endif + res->irq_resource[i].flags =IORESOURCE_IRQ ;// Also clears _UNSET flag res->irq_resource[i].flags |=irq_flags (triggering, polarity); irq =acpi_register_gsi (gsi, triggering, polarity);
_