Re: reboot vs poweroff

From: Eric W. Biederman
Date: Thu Sep 01 2005 - 23:47:40 EST


Nigel Cunningham <ncunningham@xxxxxxxxxxxx> writes:

>
> All I did was start calling pm_ops->prepare, ->enter and ->finish
> regardless of the powerdown method, instead of only for S3 or S4. It
> seems to be working fine. If, however, we should be doing things
> differently, I'm happy to comply. What's the authoritative word?

Not certain. I am only authoritative on device_suspend() and the
reboot_notifiers, in this context. Largely I read and think about
the code to see what is going on.

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