]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: SAUCE: (no-up) x86: reboot: Make Dell Latitude E6520 use reboot=pci
authorLeann Ogasawara <leann.ogasawara@canonical.com>
Wed, 31 Aug 2011 17:25:24 +0000 (10:25 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 29 Jan 2018 13:44:48 +0000 (07:44 -0600)
The Dell Latitude E6520 doesn't reboot unless reboot=pci is set.

BugLink: http://bugs.launchpad.net/bugs/833705
Cc: <stable@kernel.org>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/x86/kernel/reboot.c

index 2126b9d27c3401e5ee518b490f8cb045fc0a29cd..acc362a26fb8d3890ddb5cd3635ba2c8c0f42d7e 100644 (file)
@@ -457,7 +457,14 @@ static const struct dmi_system_id reboot_dmi_table[] __initconst = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z540N"),
                },
        },
-
+       {       /* Handle problems with rebooting on the Latitude E6520. */
+               .callback = set_pci_reboot,
+               .ident = "Dell Latitude E6520",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6520"),
+               },
+       },
        { }
 };