From: Zhang Rui Date: Mon, 20 Feb 2012 06:20:06 +0000 (+0800) Subject: ACPI, x86: fix Dell M6600 ACPI reboot regression via DMI X-Git-Tag: v2.6.39-400.9.0~303^2~47 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8418a04f7efdc3a3b817d45fa959ab0c088ac7ca;p=users%2Fjedix%2Flinux-maple.git ACPI, x86: fix Dell M6600 ACPI reboot regression via DMI commit 76eb9a30db4bc8fd172f9155247264b5f2686d7b upstream. 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 Signed-off-by: Len Brown Signed-off-by: Greg Kroah-Hartman Signed-off-by: Guangyu Sun --- diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index d4a705f22831..89d68777f73a 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -452,6 +452,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"), }, }, + { /* 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"), + }, + }, { } };