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

Mel Gorman
2011-07-27T12:56:57Z

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"),
+ },
+ },
+
{ }
};