From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12C8A3A4F46; Tue, 17 Mar 2026 17:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773767125; cv=none; b=bOHdE0V8oWLdGK2EyymuokwdhHIkAbmDGNnyzLAzuFHW3qI3GeNJ/03CELkCl02kNRF+RAoC/O3PoSn1uBk9JQlCCojgHCuCBlQIAvGtxKbyAyuLk2OxlFudE6cxadakKPvA5W3ixCtN0C4SkRozFDrgNhNTSA2/KBUpizq5fIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773767125; c=relaxed/simple; bh=b8FCTYKvnxAtrJKj2vM0dyzpoj7Ed+0AK1tG31i98ps=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rbyUmiykwfequJ/z0YK8nPQx3q+uX4HUmmlq+ZoiTIU7s9FGjZ5m5gr5lCFUfnpci+vsEsMtXFKe/B2fvHP+jKnBUoH8ybdSnIo7Z1by4XwdYP6O4Xc5fHbP0lQCoDySd3XPtCG5zBgN2NRTpMaqn2/Pc/VxMkNbGOZWEiXPdvQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UQw/WvAA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UQw/WvAA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 954AAC19424; Tue, 17 Mar 2026 17:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773767124; bh=b8FCTYKvnxAtrJKj2vM0dyzpoj7Ed+0AK1tG31i98ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UQw/WvAApFA8zIupLtZeSpiSfMxUqmCXEa2CU7ym1EVyy1F7aFXEHRx468HAxt58p 6IArO/+goIe1ZtpA/5z8rsHqbcWV5jJqj+TGkuRT7GmZs0POQOpOvRqpFlFQNo1rRl 9YZmSXF9h08O9ht0bF/NhF/VILdomv3iEjiBcW8E= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Piotr Mazek , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.18 002/333] ACPI: PM: Save NVS memory on Lenovo G70-35 Date: Tue, 17 Mar 2026 17:30:31 +0100 Message-ID: <20260317162959.446174475@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260317162959.345812316@linuxfoundation.org> References: <20260317162959.345812316@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Piotr Mazek [ Upstream commit 023cd6d90f8aa2ef7b72d84be84a18e61ecebd64 ] [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 [ rjw: Subject adjustment ] Link: https://patch.msgid.link/GV2PPF3CD5B63CC2442EE3F76F8443EAD90D499A@GV2PPF3CD5B63CC.EURP251.PROD.OUTLOOK.COM Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/sleep.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index c8ee8e42b0f64..0b7fa4a8c379c 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 -- 2.51.0