From: Shaohua Li <shaohua.li@intel.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>, Krzysztof Oledzki <olel@ans.pl>
Subject: [PATCH] workaround for pnp device interrupt
Date: Tue, 01 Nov 2005 10:03:12 +0800 [thread overview]
Message-ID: <1130810592.3837.6.camel@linux-hp.sh.intel.com> (raw)
Workaround for Krzysztof's system, which makes RTC interrupt level
triggered. Andrew, please give it a try in -mm tree, let's see if it
breaks other systems.
http://bugzilla.kernel.org/show_bug.cgi?id=5243
Thanks,
Shaohua
--- a/drivers/pnp/pnpacpi/rsparser.c 2005-10-10 09:25:31.000000000 +0800
+++ b/drivers/pnp/pnpacpi/rsparser.c 2005-10-10 09:22:13.000000000 +0800
@@ -89,6 +89,12 @@ pnpacpi_parse_allocated_irqresource(stru
return;
res->irq_resource[i].flags = IORESOURCE_IRQ; // Also clears _UNSET flag
+#ifdef CONFIG_X86
+ if (gsi < 16 && edge_level != ACPI_EDGE_SENSITIVE) {
+ pnp_err("Legacy PNP IRQ %d should be edge trigger", gsi);
+ edge_level = ACPI_EDGE_SENSITIVE;
+ }
+#endif
irq = acpi_register_gsi(gsi, edge_level, active_high_low);
if (irq < 0) {
res->irq_resource[i].flags |= IORESOURCE_DISABLED;
reply other threads:[~2005-11-01 1:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1130810592.3837.6.camel@linux-hp.sh.intel.com \
--to=shaohua.li@intel.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olel@ans.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox