Skip to content

Commit

Permalink
PM / sleep: Mention async suspend in PM_TRACE documentation
Browse files Browse the repository at this point in the history
Document pm_tracing actually affecting suspend in non-trivial way.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Pavel Machek authored and Rafael J. Wysocki committed Jan 30, 2015
1 parent d78cb36 commit a03ff6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/power/s2ram.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Reason for this is that the RTC is the only reliably available piece of
hardware during resume operations where a value can be set that will
survive a reboot.

pm_trace is not compatible with asynchronous suspend, so it turns
asynchronous suspend off (which may work around timing or
ordering-sensitive bugs).

Consequence is that after a resume (even if it is successful) your system
clock will have a value corresponding to the magic number instead of the
correct date/time! It is therefore advisable to use a program like ntp-date
Expand Down

0 comments on commit a03ff6f

Please sign in to comment.