From: Matthew Wilcox <matthew@wil.cx>
To: Matthew Wilcox <matthew@wil.cx>
Cc: acpi-devel@lists.sourceforge.net, linux-ia64@vger.kernel.org
Subject: Re: [ACPI] A GPE block driver
Date: Sun, 7 Nov 2004 14:43:15 +0000 [thread overview]
Message-ID: <20041107144315.GC23303@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20041106074900.GA29632@parcelfarce.linux.theplanet.co.uk>
On Sat, Nov 06, 2004 at 07:49:00AM +0000, Matthew Wilcox wrote:
> Here's the driver. I can't actually test it until someone goes into
> the server room to push a button on the machine.
>
> I do suspect there to be a problem though. I get the message:
> GSI 120 (level, low) -> CPU 3 (0x0c02) vector 63
> but there is no entry in /proc/interrupts for vector 63. I think the
> right thing to do would be to add a request_irq() somewhere in the
> acpi_install_gpe_block() call path. FADT GPE blocks don't need this --
> they use the sci_irq. But other blocks can use their own IRQ.
OK, the problem was more detailed and subtle than that. osl.c assumes
there will be only one interrupt, which is not true in the presence of
GPE blocks. So I rewrote the interrupt handler. I'll send two follow-up
mails to this; the first will be the changes I propose for the ACPI core
and the second will be the new GPE block driver which has several bugs fixed
over the one I posted yesterday.
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
next prev parent reply other threads:[~2004-11-07 14:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-06 6:44 A GPE block driver Matthew Wilcox
2004-11-06 7:49 ` [ACPI] " Matthew Wilcox
2004-11-07 14:43 ` Matthew Wilcox [this message]
2004-11-07 14:47 ` [PATCH] Teach OSL to handle multiple interrupts [1/2] Matthew Wilcox
[not found] ` <20041107144754.GD23303-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2004-11-11 15:08 ` Matthew Wilcox
2004-11-07 14:50 ` [PATCH] GPE block driver [2/2] Matthew Wilcox
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=20041107144315.GC23303@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--cc=acpi-devel@lists.sourceforge.net \
--cc=linux-ia64@vger.kernel.org \
/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