From: Matthew Wilcox <matthew@wil.cx>
To: "Li, Shaohua" <shaohua.li@intel.com>
Cc: Matthew Wilcox <matthew@wil.cx>,
acpi-devel@lists.sourceforge.net, linux-ia64@vger.kernel.org
Subject: Re: [PATCH] GPE block driver [2/2]
Date: Fri, 12 Nov 2004 13:11:02 +0000 [thread overview]
Message-ID: <20041112131102.GE1108@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <16A54BF5D6E14E4D916CE26C9AD3057588EFB6@pdsmsx402.ccr.corp.intel.com>
On Fri, Nov 12, 2004 at 04:23:59PM +0800, Li, Shaohua wrote:
> Hi Matthew,
> Will you send a sequent patch? I haven't looked at an interrupt handler
> is registered for the IRQ from GPE block device.
$ cat /proc/interrupts |grep acpi
48: 0 0 0 0 0 IO-SAPIC-level acpi
$ sudo modprobe gpe-block
$ cat /proc/interrupts |grep acpi
48: 0 0 0 0 0 IO-SAPIC-level acpi
63: 0 0 0 0 0 IO-SAPIC-level acpi
The interrupt is registered by this call in evgpeblk.c:
$ find drivers/acpi/ -type f |xargs grep acpi_os_install_interrupt_handler
drivers/acpi/osl.c:acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler, void *context)
drivers/acpi/events/evgpeblk.c: status = acpi_os_install_interrupt_handler (interrupt_level,
drivers/acpi/events/evsci.c: status = acpi_os_install_interrupt_handler ((u32) acpi_gbl_FADT->sci_int,
Note that up to two of the GPE blocks in the ACPI namespace may already be
registered by virtue of being in the FADT; these will not be registered
by the gpe-block driver as they don't have a _CRS method (see 9.11 of
ACPI 3.0). I suspect 99% of the machines out there do not have additional
GPE blocks... or someone else would have written this driver by now ;-)
--
"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-12 13:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-12 8:23 [PATCH] GPE block driver [2/2] Li, Shaohua
2004-11-12 13:11 ` Matthew Wilcox [this message]
-- strict thread matches above, loose matches on Subject: below --
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
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=20041112131102.GE1108@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--cc=acpi-devel@lists.sourceforge.net \
--cc=linux-ia64@vger.kernel.org \
--cc=shaohua.li@intel.com \
/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