x86: Make Dell Latitude E6420 use reboot=pci
authorH. Peter Anvin <hpa@zytor.com>
Thu, 21 Jul 2011 18:22:21 +0000 (11:22 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 21 Jul 2011 18:47:17 +0000 (11:47 -0700)
Yet another variant of the Dell Latitude series which requires
reboot=pci.

From the E5420 bug report by Daniel J Blueman:

> The E6420 is affected also (same platform, different casing and
> features), which provides an external confirmation of the issue; I can
> submit a patch for that later or include it if you prefer:
> http://linux.koolsolutions.com/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/

Reported-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org>
arch/x86/kernel/reboot.c

index 3dfd38f122d7f126c740b404756061abaffca506..9242436e9937e5a4ef91c6baa04eaf2e90243125 100644 (file)
@@ -435,6 +435,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E5420"),
                },
        },
+       {       /* Handle problems with rebooting on the Latitude E6420. */
+               .callback = set_pci_reboot,
+               .ident = "Dell Latitude E6420",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"),
+               },
+       },
        { }
 };