[PATCH] x86: Add reboot quirk for Dell Precision M4600

From: Mel Gorman
Date: Wed Jul 27 2011 - 08:57:00 EST


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@xxxxxxxxxxx>
Signed-off-by: Mel Gorman <mgorman@xxxxxxx>
---
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"),
+ },
+ },
+
{ }
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/