Re: revert yenta free_irq on suspend

Benjamin Herrenschmidt
2005-08-03T11:49:10Z

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.