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

Pavel Machek
2006-06-05T13:16:04Z

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.