[PATCH 0/2][RFC v4] PM / hibernate: Introduce snapshot test mode for hibernation

From: Chen Yu
Date: Thu Jul 14 2016 - 09:08:29 EST


Sometimes we need to debug during hibernation resume, thus it would
be convenient for the users to verify if the snapshot stored in the disk
can be successfully restored, without BIOSes or system re-initialization
involved in. This patch has introduced a snapshot pm_test mode for this purpose.

Chen Yu (2):
PM / hibernate: Introduce snapshot test mode for hibernation
PM / Documentation: Add description for snapshot test mode

Documentation/power/basic-pm-debugging.txt | 15 +++++++--
kernel/power/hibernate.c | 54 +++++++++++++++++++++++++++++-
kernel/power/main.c | 3 ++
kernel/power/power.h | 3 ++
kernel/power/suspend.c | 8 +++++
kernel/power/swap.c | 7 ++++
6 files changed, 86 insertions(+), 4 deletions(-)

--
2.7.4