Re: [PATCH] pm_ops: add irq enable/disable hooks

Pavel Machek
2007-04-10T12:00:28Z

Hi!

> > Hmm, and can't you simply create sysdev for decrementer and special
> > platform handling? sysdevs should be suspended last...
>
> In theory, yes.
>
> In practise, however, it seems to be impossible to get a sysdev into the
> queue that is suspended before any other sysdevs are suspended (i.e.
> right after interrupts are disabled)
>
> And then there are the platform functions. In theory, they could be done
> with a regular struct device, but in practice they need to be the very
> last thing before interrupts are disabled, and that again is impossible
> to achieve.

Is it feasible to improve sysdev handling to allow this?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html