linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][RFC] Documentation/: update hibernation debug documentation
@ 2016-08-11 12:18 Chen Yu
  2016-08-12  6:22 ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Chen Yu @ 2016-08-11 12:18 UTC (permalink / raw)
  To: Linux PM List
  Cc: Rafael J. Wysocki, Pavel Machek, Len Brown, linux-kernel, Chen Yu

Update the description of test_resume mode for hibernation.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 Documentation/power/basic-pm-debugging.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/power/basic-pm-debugging.txt b/Documentation/power/basic-pm-debugging.txt
index b96098c..5f1f228 100644
--- a/Documentation/power/basic-pm-debugging.txt
+++ b/Documentation/power/basic-pm-debugging.txt
@@ -36,6 +36,13 @@ button to make the system resume).
 If neither "platform" nor "shutdown" hibernation mode works, you will need to
 identify what goes wrong.
 
+Besides, if all the modes described above work, "test_resume" mode can be used to
+verify if the snapshot data written to swap device can be successfully restored
+to memory:
+# echo test_resume > /sys/power/disk
+# echo disk > /sys/power/state
+If everything goes well, the system will resume back without BIOSes involved in.
+
 a) Test modes of hibernation
 
 To find out why hibernation fails on your system, you can use a special testing
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-12 21:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11 12:18 [PATCH][RFC] Documentation/: update hibernation debug documentation Chen Yu
2016-08-12  6:22 ` Pavel Machek
2016-08-12 11:46   ` Chen, Yu C
2016-08-12 11:53     ` Rafael J. Wysocki
2016-08-12 11:55       ` Chen, Yu C
2016-08-12 13:31         ` Rafael J. Wysocki
2016-08-12 21:56           ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).