Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-14 Thread Chen Yu
Hi, On 2016年07月14日 06:18, Rafael J. Wysocki wrote: On Thu, Jul 14, 2016 at 12:00 AM, Rafael J. Wysocki wrote: On Wed, Jul 13, 2016 at 11:45 PM, Pavel Machek wrote: On Wed 2016-07-13 22:44:24, Rafael J. Wysocki wrote: On Wed, Jul 13, 2016 at 10:26 PM, Pavel Machek wrote: On Wed 2016-07-13

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Rafael J. Wysocki
On Thu, Jul 14, 2016 at 12:00 AM, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 11:45 PM, Pavel Machek wrote: >> On Wed 2016-07-13 22:44:24, Rafael J. Wysocki wrote: >>> On Wed, Jul 13, 2016 at 10:26 PM, Pavel Machek wrote: >>> > On Wed 2016-07-13 22:04:27, Rafael J. Wysocki wrote: >>> >> O

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Rafael J. Wysocki
On Wed, Jul 13, 2016 at 11:45 PM, Pavel Machek wrote: > On Wed 2016-07-13 22:44:24, Rafael J. Wysocki wrote: >> On Wed, Jul 13, 2016 at 10:26 PM, Pavel Machek wrote: >> > On Wed 2016-07-13 22:04:27, Rafael J. Wysocki wrote: >> >> On Wed, Jul 13, 2016 at 7:01 PM, Pavel Machek wrote: >> >> > Hi! >

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Pavel Machek
On Wed 2016-07-13 22:44:24, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 10:26 PM, Pavel Machek wrote: > > On Wed 2016-07-13 22:04:27, Rafael J. Wysocki wrote: > >> On Wed, Jul 13, 2016 at 7:01 PM, Pavel Machek wrote: > >> > Hi! > >> > > >> >> >>and then swapon the swap device, and do a tes

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Rafael J. Wysocki
On Wed, Jul 13, 2016 at 10:26 PM, Pavel Machek wrote: > On Wed 2016-07-13 22:04:27, Rafael J. Wysocki wrote: >> On Wed, Jul 13, 2016 at 7:01 PM, Pavel Machek wrote: >> > Hi! >> > >> >> >>and then swapon the swap device, and do a testing. This should be safer? >> >> >Yeah, that's the way. Read-onl

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Pavel Machek
On Wed 2016-07-13 22:04:27, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 7:01 PM, Pavel Machek wrote: > > Hi! > > > >> >>and then swapon the swap device, and do a testing. This should be safer? > >> >Yeah, that's the way. Read-only root is other option. > >> > > >> >>>I guess updating docume

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Rafael J. Wysocki
On Wed, Jul 13, 2016 at 7:01 PM, Pavel Machek wrote: > Hi! > >> >>and then swapon the swap device, and do a testing. This should be safer? >> >Yeah, that's the way. Read-only root is other option. >> > >> >>>I guess updating documentation would be welcome from my side, >> >>>otherwise it should be

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Pavel Machek
Hi! > >>and then swapon the swap device, and do a testing. This should be safer? > >Yeah, that's the way. Read-only root is other option. > > > >>>I guess updating documentation would be welcome from my side, > >>>otherwise it should be ok. > >>OK, I'll update the documents. > >Just add fat warni

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Chen Yu
On 2016年07月13日 18:21, Pavel Machek wrote: Hi! On 2016???07???13??? 17:50, Pavel Machek wrote: On Thu 2016-07-07 14:40:58, Chen Yu wrote: This 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] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Pavel Machek
Hi! > On 2016???07???13??? 17:50, Pavel Machek wrote: > >On Thu 2016-07-07 14:40:58, Chen Yu wrote: > >>This 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

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Chen Yu
Hi Pavel, thanks for your reply, On 2016年07月13日 17:50, Pavel Machek wrote: On Thu 2016-07-07 14:40:58, Chen Yu wrote: This 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

Re: [PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-13 Thread Pavel Machek
On Thu 2016-07-07 14:40:58, Chen Yu wrote: > This 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 BIOSen/bootloader, > but also the system r

[PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-06 Thread Chen Yu
This 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 BIOSen/bootloader, but also the system re-initialization. For example: $ sudo echo snapshot