public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D
@ 2010-12-12 20:10 Rafael J. Wysocki
  2010-12-14  3:41 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2010-12-12 20:10 UTC (permalink / raw)
  To: Len Brown
  Cc: LKML, ACPI Devel Maling List, Matthew Garrett,
	Linux-pm mailing list, Adriano

From: Rafael J. Wysocki <rjw@sisk.pl>

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

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-and-tested-by: Adriano <adriano.vilela@yahoo.com>
---

Hi Len,

Another Vaio needing acpi_sleep=nonvs, please apply.

Thanks,
Rafael

---
 drivers/acpi/sleep.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: linux-2.6/drivers/acpi/sleep.c
===================================================================
--- linux-2.6.orig/drivers/acpi/sleep.c
+++ 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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D
  2010-12-12 20:10 [PATCH] ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D Rafael J. Wysocki
@ 2010-12-14  3:41 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2010-12-14  3:41 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: LKML, ACPI Devel Maling List, Matthew Garrett,
	Linux-pm mailing list, Adriano

applied

thanks,
Len Brown, Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-14  3:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-12 20:10 [PATCH] ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D Rafael J. Wysocki
2010-12-14  3:41 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox