[tip:x86/urgent] x86: Make Dell Latitude E5420 use reboot=pci

From: tip-bot for Daniel J Blueman
Date: Thu Jul 21 2011 - 14:34:04 EST


Commit-ID: f2b3178e66c132b81a59c5ff8b469fdee02aad4f
Gitweb: http://git.kernel.org/tip/f2b3178e66c132b81a59c5ff8b469fdee02aad4f
Author: Daniel J Blueman <daniel.blueman@xxxxxxxxx>
AuthorDate: Fri, 13 May 2011 09:04:59 +0800
Committer: H. Peter Anvin <hpa@xxxxxxxxx>
CommitDate: Thu, 21 Jul 2011 11:19:01 -0700

x86: Make Dell Latitude E5420 use reboot=pci

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@xxxxxxxxx>
Link: http://lkml.kernel.org/r/1305248699-2347-1-git-send-email-daniel.blueman@xxxxxxxxx
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>
---
arch/x86/kernel/reboot.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 14eed21..3dfd38f 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -427,6 +427,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6320"),
},
},
+ { /* 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"),
+ },
+ },
{ }
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/