ACPI: PM: save NVS memory for Lenovo G40-45
authorManyi Li <limanyi@uniontech.com>
Wed, 22 Jun 2022 07:42:48 +0000 (15:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:03 +0000 (14:23 +0200)
commit30abb8735892c0ae0e25b0afeebf94e80dd59712
tree563d494b248df90a6207131503fba5c3175a0728
parentf450635d781f5ea07203d068938e244c986f8da2
ACPI: PM: save NVS memory for Lenovo G40-45

[ Upstream commit 4b7ef7b05afcde44142225c184bf43a0cd9e2178 ]

[821d6f0359b0614792ab8e2fb93b503e25a65079] 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>
drivers/acpi/sleep.c