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 318E33B27D5; Mon, 23 Mar 2026 14:11:44 +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=1774275105; cv=none; b=Aw1lkLRSQ7lhnjOKYB0oAcRixvFkX4zJlH+JO2gutnjHTQxxxSGXh2WHVFFQH7jafdUOnaZmWcbhfDMVmdbz6GJihNQOEL+7Iw3qY7hvozi0XpA46D5De09QJpwh0u5ZHC/0ssy0+xcghTJ+10owKBmgFw+6N9YvCxBJaqo8T/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774275105; c=relaxed/simple; bh=uArS+2R8HfKByUhqFoOXBpjDovgg5bNeKGmYjlxTw74=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WvlurZGF0V/a7aDZAH+7aaOY2LVHj5EaAUsZiK9g7dqN3lhLCdgT5kcdMpKfp50SNvJChHMs1eKLkaOHCOlx75rJqrzfcTZLUUji0K0OBQlg6ub9R6LRnKgLxOBOxWKzZOz9lPqYiCi4IbSNfeBgZ5V6OALGwacau7oeFu21KFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Tr/HVMua; 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="Tr/HVMua" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DB17C4CEF7; Mon, 23 Mar 2026 14:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774275104; bh=uArS+2R8HfKByUhqFoOXBpjDovgg5bNeKGmYjlxTw74=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tr/HVMuaip4pywQpCVSWHgWTVo9no3oW8crH3VW33HydlQ9WeWP2VxHq2yjnXEgX1 RODbZdGKnlTE2YRY4IFhSZc7bmNyd+3/+v1hqnMCoaKFRK2SLOLcjqs/VliMaj2yEB iOmx+PM+CdHFBwyRCItA40SIBRudzco+boK8MogE= 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.12 002/460] ACPI: PM: Save NVS memory on Lenovo G70-35 Date: Mon, 23 Mar 2026 14:39:58 +0100 Message-ID: <20260323134526.710612142@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260323134526.647552166@linuxfoundation.org> References: <20260323134526.647552166@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.12-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