]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ACPI, x86: fix Dell M6600 ACPI reboot regression via DMI
authorZhang Rui <rui.zhang@intel.com>
Mon, 20 Feb 2012 06:20:06 +0000 (14:20 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 5 Jun 2012 04:16:12 +0000 (00:16 -0400)
Dell Precision M6600 is known to require PCI reboot, so add it to
the reboot blacklist in pci_reboot_dmi_table[].

https://bugzilla.kernel.org/show_bug.cgi?id=42749

cc: x86@kernel.org
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/reboot.c

index 79c45af81604c7e191116c23b3625c80bb81476d..412db5716d918da68b5492a83347fab6ee77a713 100644 (file)
@@ -451,6 +451,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 990"),
                },
        },
+       {       /* Handle problems with rebooting on the Precision M6600. */
+               .callback = set_pci_reboot,
+               .ident = "Dell OptiPlex 990",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Precision M6600"),
+               },
+       },
        { }
 };