Bug 48291

Summary: write to NVS at S3 takes 40 seconds on Bromolow system
Product: ACPI Reporter: Kristen (kristen.c.accardi)
Component: Power-Sleep-WakeAssignee: Aaron Lu (aaron.lu)
Status: CLOSED CODE_FIX    
Severity: normal CC: aaron.lu, lenb, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.6 Subsystem:
Regression: No Bisected commit-id:

Description Kristen 2012-10-03 23:10:14 UTC
I have the following memory reserved for NVS:

[kristen@otc-bromolow ~]$ dmesg | grep "ACPI NVS"
[    0.000000] BIOS-e820: [mem 0x00000000ab9a6000-0x00000000bba26fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bede0000-0x00000000befdffff] ACPI NVS

on s3 resume, it takes about 40 seconds to write this memory, making suspend take 40 seconds longer than it should.  I can use nonvs, but then we don't write the memory out at s4 time, which we should according to the ACPI spec.
Comment 1 Kristen 2012-10-03 23:10:47 UTC
oops, I meant on S3 suspend, not resume.
Comment 2 Rafael J. Wysocki 2012-10-29 07:49:47 UTC
There is a workaround scheduled for inclusion into v3.8:

https://patchwork.kernel.org/patch/1597601/
Comment 3 Len Brown 2013-02-08 17:41:51 UTC
please test Linux-3.8 rc
Comment 4 Aaron Lu 2013-04-07 06:41:08 UTC
The following patch has been merged by Linus for v3.8.

commit 1bad2f19f7f79d1ec9e6c48168fd7ce8dc1c305f
Author: Kristen Carlson Accardi <kristen@linux.intel.com>
Date:   Fri Oct 26 13:39:15 2012 +0200

    ACPI / Sleep: add acpi_sleep=nonvs_s3 parameter