ACPI: PM: save NVS memory for Lenovo G40-45
[ Upstream commit 4b7ef7b05afcde44142225c184bf43a0cd9e2178 ]
[821d6f0359] is to make machines
produced from 2012 to now not saving NVS region to accelerate S3.
But, Lenovo G40-45, a platform released in 2015, still needs NVS memory
saving during S3. A quirk is introduced for this platform.
Signed-off-by: Manyi Li <limanyi@uniontech.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ee890bf01d
commit
75e6953004
@@ -359,6 +359,14 @@ static const struct dmi_system_id acpisleep_dmi_table[] __initconst = {
|
|||||||
DMI_MATCH(DMI_PRODUCT_NAME, "80E3"),
|
DMI_MATCH(DMI_PRODUCT_NAME, "80E3"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.callback = init_nvs_save_s3,
|
||||||
|
.ident = "Lenovo G40-45",
|
||||||
|
.matches = {
|
||||||
|
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
||||||
|
DMI_MATCH(DMI_PRODUCT_NAME, "80E1"),
|
||||||
|
},
|
||||||
|
},
|
||||||
/*
|
/*
|
||||||
* https://bugzilla.kernel.org/show_bug.cgi?id=196907
|
* https://bugzilla.kernel.org/show_bug.cgi?id=196907
|
||||||
* Some Dell XPS13 9360 cannot do suspend-to-idle using the Low Power
|
* Some Dell XPS13 9360 cannot do suspend-to-idle using the Low Power
|
||||||
|
|||||||
Reference in New Issue
Block a user