Skip to contentSkip to conversation

ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D

PATCH Applied Rafael J. Wysocki 2 participants 3 messages Dec 12, 2010 – Dec 14, 2010 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D

From: Rafael J. Wysocki <[email protected]>

The saving of the NVS memory area during suspend and restoring it during resume causes problems to appear on Sony Vaio VGN-NW130D, so blacklist that machine to avoid those problems.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=23002

---

Hi Len,

Another Vaio needing acpi_sleep=nonvs, please apply.

Thanks,
Rafael

---
 drivers/acpi/sleep.c |    8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/sleep.c +8 -0
Index: linux-2.6/drivers/acpi/sleep.c
===================================================================
@@ -427,6 +427,14 @@ static struct dmi_system_id __initdata a
 		DMI_MATCH(DMI_PRODUCT_NAME, "VPCEB1Z1E"),
 		},
 	},
+	{
+	.callback = init_nvs_nosave,
+	.ident = "Sony Vaio VGN-NW130D",
+	.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "VGN-NW130D"),
+		},
+	},
 	{},
 };
 #endif /* CONFIG_SUSPEND */
reviewer Applied
#1 lore raw

applied

thanks,
Len Brown, Intel Open Source Technology Center