linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/ACPI: Make Sony Vaio Z1 series to use "reboot=pci" default
@ 2013-10-24  6:49 tianyu.lan
  2013-10-25 10:53 ` Ingo Molnar
  0 siblings, 1 reply; 21+ messages in thread
From: tianyu.lan @ 2013-10-24  6:49 UTC (permalink / raw)
  To: mingo, hpa, x86, holt, davej, lenb, rjw, awilliam
  Cc: Lan Tianyu, linux-acpi, linux-kernel

From: Lan Tianyu <tianyu.lan@intel.com>

Sony Vaio Z1 series require "reboot=pci" for reboot and power off.
This patch is to add them machines to quirk table and set pci reboot
default.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=61721
Reported-and-tested-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 7e920bf..083ade7 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -382,6 +382,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "C6100"),
 		},
 	},
+	{	/* Handle problems with rebooting on Sony Vaio Z1 series*/
+		.callback = set_pci_reboot,
+		.ident = "Sony Vaio Z1",
+		.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "VPCZ1"),
+		},
+	},
 	{ }
 };
 
-- 
1.7.9.5


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

end of thread, other threads:[~2013-11-19  7:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24  6:49 [PATCH] x86/ACPI: Make Sony Vaio Z1 series to use "reboot=pci" default tianyu.lan
2013-10-25 10:53 ` Ingo Molnar
2013-10-25 12:44   ` Dave Jones
2013-10-25 12:48     ` H. Peter Anvin
2013-10-25 12:54       ` Linus Torvalds
2013-10-25 16:47   ` Adam Williamson
2013-10-25 17:16     ` Linus Torvalds
2013-10-25 17:43       ` Adam Williamson
2013-10-25 19:44         ` Rafael J. Wysocki
2013-10-26  1:27       ` Adam Williamson
2013-10-26  2:20         ` Adam Williamson
2013-10-26  3:17           ` Dave Jones
2013-10-26  7:22             ` Adam Williamson
2013-10-26  9:15               ` Ingo Molnar
2013-10-26 17:08                 ` Adam Williamson
2013-10-26 20:00                   ` Linus Torvalds
2013-10-27  7:06                 ` Adam Williamson
2013-11-01 14:02                   ` Joerg Roedel
2013-11-18 23:43                     ` Adam Williamson
2013-11-19  7:03                       ` Ingo Molnar
2013-10-26 12:58   ` Lan Tianyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).