Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452066 > unrolled thread

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

Started byPavel Machek <pavel@ucw.cz>
First post2016-07-28 21:40 +0200
Last post2016-07-29 10:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH][v6] PM / hibernate: Introduce test_resume mode for  hibernation Pavel Machek <pavel@ucw.cz> - 2016-07-28 21:40 +0200
    Re: [PATCH][v6] PM / hibernate: Introduce test_resume mode for  hibernation Chen Yu <yu.c.chen@intel.com> - 2016-07-29 10:20 +0200

#1452066 — Re: [PATCH][v6] PM / hibernate: Introduce test_resume mode for hibernation

FromPavel Machek <pavel@ucw.cz>
Date2016-07-28 21:40 +0200
SubjectRe: [PATCH][v6] PM / hibernate: Introduce test_resume mode for hibernation
Message-ID<rZZjX-2cG-1@gated-at.bofh.it>
On Fri 2016-07-22 10:30:47, 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 also the system re-initialization.
> 
> To avoid the risk to break the filesystm on persistent storage,
> this patch resumes the image with tasks frozen.
> 
> For example:
> echo test_resume > /sys/power/disk
> echo disk > /sys/power/state
> 
> 
> Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> Signed-off-by: Chen Yu <yu.c.chen@intel.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

(And yes, I'd still like documentation patch for this, but that can be
done in separate patch.)

Thanks,
								Pavel
								
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[toc] | [next] | [standalone]


#1452310

FromChen Yu <yu.c.chen@intel.com>
Date2016-07-29 10:20 +0200
Message-ID<s0bbu-24M-107@gated-at.bofh.it>
In reply to#1452066
On Thu, Jul 28, 2016 at 09:32:06PM +0200, Pavel Machek wrote:
> On Fri 2016-07-22 10:30:47, 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 also the system re-initialization.
> > 
> > To avoid the risk to break the filesystm on persistent storage,
> > this patch resumes the image with tasks frozen.
> > 
> > For example:
> > echo test_resume > /sys/power/disk
> > echo disk > /sys/power/state
> > 
> > 
> > Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > Signed-off-by: Chen Yu <yu.c.chen@intel.com>
> 
> Acked-by: Pavel Machek <pavel@ucw.cz>
> 
> (And yes, I'd still like documentation patch for this, but that can be
> done in separate patch.)
>
Thanks! Will update the doc in another patch.
Yu 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web