Re: [PATCH] ACPI: save NVS memory for Lenovo G70-35
From: Rafael J. Wysocki
Date: Wed Feb 11 2026 - 15:19:34 EST
On Thu, Feb 5, 2026 at 11:06 PM Piotr Mazek <pmazek@xxxxxxxxxxx> wrote:
>
> From: Piotr <pmazek@xxxxxxxxxxx>
>
> [821d6f0359b0614792ab8e2fb93b503e25a65079] 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@xxxxxxxxxxx>
> ---
> drivers/acpi/sleep.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
> index 66ec81e306d4..132a9df98471 100644
> --- a/drivers/acpi/sleep.c
> +++ b/drivers/acpi/sleep.c
> @@ -386,6 +386,14 @@ static const struct dmi_system_id acpisleep_dmi_table[] __initconst = {
> DMI_MATCH(DMI_PRODUCT_NAME, "80E1"),
> },
> },
> + {
> + .callback = init_nvs_save_s3,
> + .ident = "Lenovo G70-35",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "80Q5"),
> + },
> + },
> /*
> * ThinkPad X1 Tablet(2016) cannot do suspend-to-idle using
> * the Low Power S0 Idle firmware interface (see
> --
Applied as 7.0-rc material, thanks!