[PATCH 31/91] x86: Make Dell Latitude E5420 use reboot=pci

From: Willy Tarreau
Date: Sun Feb 05 2012 - 17:44:17 EST


2.6.27-longterm review patch. If anyone has any objections, please let us know.

------------------

commit b7798d28ec15d20fd34b70fa57eb13f0cf6d1ecd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
arch/x86/kernel/reboot.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

Index: longterm-2.6.27/arch/x86/kernel/reboot.c
===================================================================
--- longterm-2.6.27.orig/arch/x86/kernel/reboot.c 2012-02-05 22:34:34.087914934 +0100
+++ longterm-2.6.27/arch/x86/kernel/reboot.c 2012-02-05 22:34:39.265915394 +0100
@@ -227,6 +227,14 @@
DMI_MATCH(DMI_BOARD_NAME, "P4S800"),
},
},
+ { /* 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/