From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755888Ab1G0Vt7 (ORCPT ); Wed, 27 Jul 2011 17:49:59 -0400 Received: from mga11.intel.com ([192.55.52.93]:36412 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755025Ab1G0Vti (ORCPT ); Wed, 27 Jul 2011 17:49:38 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,279,1309762800"; d="scan'208";a="35258500" From: Andi Kleen References: <20110727247.325703029@firstfloor.org> In-Reply-To: <20110727247.325703029@firstfloor.org> To: daniel.blueman@gmail.com, ak@linux.intel.com, hpa@zytor.com, linux-kernel@vger.kernel.org, stable@kernel.org, tim.bird@am.sony.com Subject: [PATCH] [98/99] x86: Make Dell Latitude E5420 use reboot=pci Message-Id: <20110727214938.133A82403FF@tassilo.jf.intel.com> Date: Wed, 27 Jul 2011 14:49:38 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2.6.35-longterm review patch. If anyone has any objections, please let me know. ------------------ From: Daniel J Blueman [ 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 Signed-off-by: Andi Kleen Link: http://lkml.kernel.org/r/1305248699-2347-1-git-send-email-daniel.blueman@gmail.com Signed-off-by: H. Peter Anvin Cc: Index: linux-2.6.35.y/arch/x86/kernel/reboot.c =================================================================== --- linux-2.6.35.y.orig/arch/x86/kernel/reboot.c +++ linux-2.6.35.y/arch/x86/kernel/reboot.c @@ -477,6 +477,14 @@ static struct dmi_system_id __initdata p 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"), + }, + }, { } };