Re: [PATCH][RFC v5] PM / hibernate: Introduce test_resume mode for hibernation

2016-07-21 Thread Chen Yu
On Thu, Jul 21, 2016 at 03:23:32PM +0200, Rafael J. Wysocki wrote: > On Tuesday, July 19, 2016 08:36:44 AM Chen Yu wrote: > > test_resume mode is to verify if the snapshot data > > written to swap device can be successfully restored > > to memory. It is useful to ease the debugging process > > on h

Re: [PATCH][RFC v5] PM / hibernate: Introduce test_resume mode for hibernation

2016-07-21 Thread Rafael J. Wysocki
On Tuesday, July 19, 2016 08:36:44 AM Chen Yu wrote: > test_resume mode is to verify if the snapshot data > written to swap device can be successfully restored > to memory. It is useful to ease the debugging process > on hibernation, since this mode can not only bypass > the BIOSes/bootloader, but

[PATCH][RFC v5] PM / hibernate: Introduce test_resume mode for hibernation

2016-07-18 Thread Chen Yu
test_resume mode is to verify if the snapshot data written to swap device can be successfully restored to memory. It is useful to ease the debugging process on hibernation, since this mode can not only bypass the BIOSes/bootloader, but also the system re-initialization. For example: echo test_resu