]> git.hungrycats.org Git - linux/commitdiff
x86: Make Dell Latitude E5420 use reboot=pci
authorDaniel J Blueman <daniel.blueman@gmail.com>
Fri, 13 May 2011 01:04:59 +0000 (09:04 +0800)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:59 +0000 (13:54 -0700)
[ upstream commit b7798d28ec15d20fd34b70fa57eb13f0cf6d1ecd ]

Rebooting on the Dell E5420 often hangs with the keyboard or ACPI
methods, but is reliable via the PCI method.

[ hpa: this was deferred because we believed for a long time that the
  recent reshuffling of the boot priorities in commit
  660e34cebf0a11d54f2d5dd8838607452355f321 fixed this platform.
  Unfortunately that turned out to be incorrect. ]

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1305248699-2347-1-git-send-email-daniel.blueman@gmail.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org>
arch/x86/kernel/reboot.c

index 76a0d715a0319f227f11650940460ade011a5480..d91d3f22abb2389a55ad220b7a99147ff2a6f9c0 100644 (file)
@@ -477,6 +477,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 E5420. */
+               .callback = set_pci_reboot,
+               .ident = "Dell Latitude E5420",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E5420"),
+               },
+       },
        { }
 };