Re: [ACPI] A GPE block driver

Matthew Wilcox
2004-11-07T14:43:15Z

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.