Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume

From: Arve Hjønnevåg
Date: Wed Feb 25 2009 - 23:24:18 EST


On Wed, Feb 25, 2009 at 8:20 PM, Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> wrote:
> Arve Hjønnevåg <arve@xxxxxxxxxxx> writes:
>
>> We only have one gpio input driver, but I don't think is good to loose
>> any wakeup interrupts. Any driver that needs an edge triggered wakeup
>> interrupt will have problems if the hardware does not regenerate the
>> interrupt when the host does not respond.
>
> We are not loosing interrupts.  The normal implementation of disable
> is a software disable and sets IRQ_PENDING to ensure we don't loose
> interrupts when the interrupt is disabled.

We loose the wakeup, but yes, the interrupt will be delivered if the
system wakes up for any other reason.

--
Arve Hjønnevåg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/