alistair23-linux/kernel/power
Shuah Khan 9dceefe483 PM / Sleep: Warn about system time after resume with pm_trace
pm_trace uses the system's Real Time Clock (RTC) to save the magic
number.  The 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.

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 or rdate to reset the correct date/time from
an external time source when using this trace option.

There is no run-time message to warn users of the consequences of
enabling pm_trace.  Adding a warning message to pm_trace_store()
will serve as a reminder to users to set the system date and time
after resume.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-06-27 22:14:46 +02:00
..
autosleep.c
block_io.c
console.c
hibernate.c
Kconfig
main.c PM / Sleep: Warn about system time after resume with pm_trace 2013-06-27 22:14:46 +02:00
Makefile
power.h
poweroff.c power/sysrq: fix inconstistent help message of sysrq key 2013-04-30 17:04:10 -07:00
process.c
qos.c PM / QoS: Add pm_qos_request tracepoints 2013-06-24 13:09:03 +02:00
snapshot.c PM / Hibernate: print physical addresses consistently with other parts of kernel 2013-06-03 21:48:18 +02:00
suspend.c PM / wakeup: Adjust messaging for wake events during suspend 2013-06-11 23:53:37 +02:00
suspend_test.c
swap.c
user.c
wakelock.c