All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Make Dell Latitude E6320 use reboot=pci
@ 2011-06-28 13:57 Maxime Ripard
  2011-06-28 17:41 ` Matthew Garrett
  2011-07-13  4:48 ` [tip:x86/urgent] x86. reboot: " tip-bot for Maxime Ripard
  0 siblings, 2 replies; 8+ messages in thread
From: Maxime Ripard @ 2011-06-28 13:57 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: linux-kernel

The Dell Latitude E6320 doesn't reboot unless reboot=pci is set.
Force it thanks to DMI.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 0c016f7..d712043 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -411,6 +411,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
 		},
 	},
+	{	/* Handle problems with rebooting on the Latitude E6320. */
+		.callback = set_pci_reboot,
+		.ident = "Dell Latitude E6320",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6320"),
+		},
+	},
 	{ }
 };
 
-- 
1.7.4.1


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

end of thread, other threads:[~2011-07-13  4:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 13:57 [PATCH] x86: Make Dell Latitude E6320 use reboot=pci Maxime Ripard
2011-06-28 17:41 ` Matthew Garrett
2011-06-28 19:35   ` Maxime Ripard
2011-06-28 19:53     ` Maxime Ripard
2011-06-28 20:03     ` Matthew Garrett
2011-06-29  7:33       ` Maxime Ripard
2011-07-12  9:44         ` Maxime Ripard
2011-07-13  4:48 ` [tip:x86/urgent] x86. reboot: " tip-bot for Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.