public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Add reboot quirk for Dell Precision M4600
@ 2011-07-27 12:56 Mel Gorman
  2011-08-06  6:56 ` Ingo Molnar
  0 siblings, 1 reply; 12+ messages in thread
From: Mel Gorman @ 2011-07-27 12:56 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: bruno, mjg, linux-kernel

ACPI reboot does not work for Dell Precision M4600. Detect this
machine via DMI and force the use of the PCI reboot method.
    
Reported-and-tested-by: Bruno Friedmann <bruno@ioda-net.ch>
Signed-off-by: Mel Gorman <mgorman@suse.de>
---
 arch/x86/kernel/reboot.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 9242436..7ca2ec4 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -443,6 +443,15 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"),
 		},
 	},
+	{	/* Handle problems with rebooting on Dell Precision M4600's */
+		.callback = set_pci_reboot,
+		.ident = "Dell Precision M4600",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision M4600"),
+		},
+	},
+
 	{ }
 };
 

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

end of thread, other threads:[~2011-08-10 12:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 12:56 [PATCH] x86: Add reboot quirk for Dell Precision M4600 Mel Gorman
2011-08-06  6:56 ` Ingo Molnar
2011-08-06  7:01   ` H. Peter Anvin
2011-08-06 15:31     ` Len Brown
2011-08-06 18:18       ` Bruno Friedmann
2011-08-06 15:30   ` Matthew Garrett
2011-08-08 16:40     ` H. Peter Anvin
2011-08-08 22:49       ` Bruno Friedmann
2011-08-09 11:26       ` Bruno Friedmann
2011-08-09 15:02         ` Ingo Molnar
2011-08-09 16:20           ` Bruno Friedmann
2011-08-08 14:57   ` Mel Gorman

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