Re: [PATCH] swsusp: allow drivers to determine between write-resume and actual wakeup

From: Pavel Machek
Date: Mon Jun 05 2006 - 09:15:04 EST


On Po 05-06-06 21:43:42, Tejun Heo wrote:
> Tejun Heo wrote:
> >Pavel Machek wrote:
> >>If you want to know if you RESUME was after normal FREEZE or if it is
> >>after reboot, there's better patch floating around to do that.
> >
> >Yeap, this is what I'm interested in. Care to give me a pointer?
>
> And, one more things. As written in the first mail, for libata, it
> would be nice to know if a device suspend is due to runtime PM event
> (per-device) or system wide suspend. What do you think about this? If
> you agree, what method do you recommend to determine that?

Currently, runtime pm is unsupported/broken; so any request can be
thought as system pm.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/