Skip to content

Commit 023cd6d

Browse files
Piotr Mazekrafaeljw
authored andcommitted
ACPI: PM: Save NVS memory on Lenovo G70-35
[821d6f0] prevented machines produced later than 2012 from saving NVS region to accelerate S3. Despite being made after 2012, Lenovo G70-35 still needs NVS memory saving during S3. A quirk is introduced for this platform. Signed-off-by: Piotr Mazek <pmazek@outlook.com> [ rjw: Subject adjustment ] Link: https://patch.msgid.link/GV2PPF3CD5B63CC2442EE3F76F8443EAD90D499A@GV2PPF3CD5B63CC.EURP251.PROD.OUTLOOK.COM Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 9a19979 commit 023cd6d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/acpi/sleep.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,14 @@ static const struct dmi_system_id acpisleep_dmi_table[] __initconst = {
386386
DMI_MATCH(DMI_PRODUCT_NAME, "80E1"),
387387
},
388388
},
389+
{
390+
.callback = init_nvs_save_s3,
391+
.ident = "Lenovo G70-35",
392+
.matches = {
393+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
394+
DMI_MATCH(DMI_PRODUCT_NAME, "80Q5"),
395+
},
396+
},
389397
/*
390398
* ThinkPad X1 Tablet(2016) cannot do suspend-to-idle using
391399
* the Low Power S0 Idle firmware interface (see

0 commit comments

Comments
 (0)