Re: revert yenta free_irq on suspend

From: Benjamin Herrenschmidt
Date: Wed Aug 03 2005 - 06:53:35 EST


On Tue, 2005-08-02 at 12:56 +0200, Pavel Machek wrote:
> Hi!
>
> > > Also, as I said earlier, the better we support OSPM initiated power
> > > management, the more likely APM will break. This may be technically
> > > unavoidable on some isolated boxes without quirks. I agree with
> > > Pavel that "do nothing" may make sense, but it seems some devices
> > > may still need to be disabled by the OS. As a real world example,
> > > we currently can't turn off cardbus bridges because it breaks APM
> > > on a couple of older laptops.
> >
> > Won't freeing of IRQs cause problems with things like handhelds that
> > actually rely on an interrupt to wake up ?
>
> Well, you probably don't want to free IRQ that is used for wakeup; but
> if driver is used for wakeup, it probably needs some special handling,
> anyway (right?).

Not necessarily something the driver itself knows about ... For example,
some platforms do a hardware OR between PME and INTA ...

Ben.

-
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/