Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-22 Thread Lan Tianyu
On 2014年07月23日 07:40, Rafael J. Wysocki wrote: > On Friday, July 18, 2014 01:55:22 PM Lan Tianyu wrote: >> NVS region is saved and restored unconditionally for machines without >> nvs_nosave quirk during S3. Tested some new machines and the operation >> is not necessary. Saving NVS region also

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-22 Thread Rafael J. Wysocki
On Friday, July 18, 2014 01:55:22 PM Lan Tianyu wrote: > NVS region is saved and restored unconditionally for machines without > nvs_nosave quirk during S3. Tested some new machines and the operation > is not necessary. Saving NVS region also affects S2RAM speed. The time of > NVS saving and

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-22 Thread Rafael J. Wysocki
On Friday, July 18, 2014 01:55:22 PM Lan Tianyu wrote: NVS region is saved and restored unconditionally for machines without nvs_nosave quirk during S3. Tested some new machines and the operation is not necessary. Saving NVS region also affects S2RAM speed. The time of NVS saving and restoring

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-22 Thread Lan Tianyu
On 2014年07月23日 07:40, Rafael J. Wysocki wrote: On Friday, July 18, 2014 01:55:22 PM Lan Tianyu wrote: NVS region is saved and restored unconditionally for machines without nvs_nosave quirk during S3. Tested some new machines and the operation is not necessary. Saving NVS region also affects

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-21 Thread Lan Tianyu
On 2014年07月21日 14:25, Chen, Gong wrote: > On Mon, Jul 21, 2014 at 01:54:56PM +0800, Lan Tianyu wrote: >> Date: Mon, 21 Jul 2014 13:54:56 +0800 >> From: Lan Tianyu >> To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, >> linux-kernel@vger.kernel.org, gong.c...@linux.intel.com >>

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-21 Thread Chen, Gong
On Mon, Jul 21, 2014 at 01:54:56PM +0800, Lan Tianyu wrote: > Date: Mon, 21 Jul 2014 13:54:56 +0800 > From: Lan Tianyu > To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org, gong.c...@linux.intel.com > Subject: Re: [PATCH] ACPI/NVS: Not save NVS

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-21 Thread Chen, Gong
On Mon, Jul 21, 2014 at 01:54:56PM +0800, Lan Tianyu wrote: Date: Mon, 21 Jul 2014 13:54:56 +0800 From: Lan Tianyu tianyu@intel.com To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, linux-kernel@vger.kernel.org, gong.c...@linux.intel.com Subject: Re: [PATCH] ACPI/NVS:

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-21 Thread Lan Tianyu
On 2014年07月21日 14:25, Chen, Gong wrote: On Mon, Jul 21, 2014 at 01:54:56PM +0800, Lan Tianyu wrote: Date: Mon, 21 Jul 2014 13:54:56 +0800 From: Lan Tianyu tianyu@intel.com To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, linux-kernel@vger.kernel.org,

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-20 Thread Lan Tianyu
On 2014年07月21日 13:01, Chen, Gong wrote: > On Mon, Jul 21, 2014 at 10:14:31AM +0800, Lan Tianyu wrote: >> Date: Mon, 21 Jul 2014 10:14:31 +0800 >> From: Lan Tianyu >> To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, >> linux-kernel@vger.kernel.org, gong.c...@linux.intel.com >>

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-20 Thread Chen, Gong
On Mon, Jul 21, 2014 at 10:14:31AM +0800, Lan Tianyu wrote: > Date: Mon, 21 Jul 2014 10:14:31 +0800 > From: Lan Tianyu > To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org, gong.c...@linux.intel.com > Subject: Re: [PATCH] ACPI/NVS: Not save NVS

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-20 Thread Lan Tianyu
On 2014年07月18日 16:00, Chen, Gong wrote: > On Fri, Jul 18, 2014 at 01:55:22PM +0800, Lan Tianyu wrote: >> Date:Fri, 18 Jul 2014 13:55:22 +0800 >> From: Lan Tianyu >> To: r...@rjwysocki.net, l...@kernel.org >> Cc: Lan Tianyu , linux-a...@vger.kernel.org, >> linux-kernel@vger.kernel.org >>

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-20 Thread Lan Tianyu
On 2014年07月18日 16:00, Chen, Gong wrote: On Fri, Jul 18, 2014 at 01:55:22PM +0800, Lan Tianyu wrote: Date:Fri, 18 Jul 2014 13:55:22 +0800 From: Lan Tianyu tianyu@intel.com To: r...@rjwysocki.net, l...@kernel.org Cc: Lan Tianyu tianyu@intel.com, linux-a...@vger.kernel.org,

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-20 Thread Chen, Gong
On Mon, Jul 21, 2014 at 10:14:31AM +0800, Lan Tianyu wrote: Date: Mon, 21 Jul 2014 10:14:31 +0800 From: Lan Tianyu tianyu@intel.com To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, linux-kernel@vger.kernel.org, gong.c...@linux.intel.com Subject: Re: [PATCH] ACPI/NVS:

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-20 Thread Lan Tianyu
On 2014年07月21日 13:01, Chen, Gong wrote: On Mon, Jul 21, 2014 at 10:14:31AM +0800, Lan Tianyu wrote: Date: Mon, 21 Jul 2014 10:14:31 +0800 From: Lan Tianyu tianyu@intel.com To: r...@rjwysocki.net, l...@kernel.org, linux-a...@vger.kernel.org, linux-kernel@vger.kernel.org,

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-18 Thread Chen, Gong
On Fri, Jul 18, 2014 at 01:55:22PM +0800, Lan Tianyu wrote: > Date: Fri, 18 Jul 2014 13:55:22 +0800 > From: Lan Tianyu > To: r...@rjwysocki.net, l...@kernel.org > Cc: Lan Tianyu , linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org > Subject: [PATCH] ACPI/NVS: Not save NVS region for new

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-18 Thread Chen, Gong
On Fri, Jul 18, 2014 at 01:55:22PM +0800, Lan Tianyu wrote: Date: Fri, 18 Jul 2014 13:55:22 +0800 From: Lan Tianyu tianyu@intel.com To: r...@rjwysocki.net, l...@kernel.org Cc: Lan Tianyu tianyu@intel.com, linux-a...@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH]

[PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-17 Thread Lan Tianyu
NVS region is saved and restored unconditionally for machines without nvs_nosave quirk during S3. Tested some new machines and the operation is not necessary. Saving NVS region also affects S2RAM speed. The time of NVS saving and restoring depends on the size of NVS region and it consumes 7~10ms

[PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-17 Thread Lan Tianyu
NVS region is saved and restored unconditionally for machines without nvs_nosave quirk during S3. Tested some new machines and the operation is not necessary. Saving NVS region also affects S2RAM speed. The time of NVS saving and restoring depends on the size of NVS region and it consumes 7~10ms