]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/acpi/sleep.c
ACPI: save NVS memory for Lenovo G50-45
authorZhang Rui <rui.zhang@intel.com>
Tue, 4 Apr 2017 19:32:29 +0000 (19:32 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:12:41 +0000 (10:12 +0200)
commit203baab49d8baffc6819a7deb5977d3c8e5e2fac
tree0362c5557e5d4ad52c9783ebea490f091bb389c3
parent5d8ac28a5ada5eb0a3f3890fb311e9e2cb3737b1
ACPI: save NVS memory for Lenovo G50-45

BugLink: http://bugs.launchpad.net/bugs/1682130
[ Upstream commit cbc00c1310d34139a63946482b40a6b261a03fb9 ]

In commit 821d6f0359b0 (ACPI / sleep: Do not save NVS for new machines to
accelerate S3), to optimize S3 suspend/resume speed, code is introduced
to ignore NVS memory saving during S3 for all the platforms later than
2012.

But, Lenovo G50-45, a platform released in 2015, still needs NVS memory
saving during S3. A quirk is introduced for this platform.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=189431
Tested-by: Przemek <soprwa@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[ rjw: Drop unnecessary code ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/acpi/sleep.c