[Oneiric][PATCH 1/1] UBUNTU: SAUCE: x86: reboot: Make Dell Latitude E6520 use reboot=pci

Leann Ogasawara leann.ogasawara at canonical.com
Wed Aug 31 17:25:24 UTC 2011


Hi All,

http://bugs.launchpad.net/bugs/833705

It's been reported that the Dell Latitude E6520 doesn't reboot unless
using reboot=pci.  The following patch resolves this issue and had been
successfully tested by the bug reporter.  I additionally sent this patch
upstream but was given some push back from one of the maintainers
because "we are starting to have something close to a full Dell product
catalog in the system.  I think we need to come up with something more
systematic..."

So with Kernel Freeze looming for Oneiric, the patch being system
specific (ie low risk of regression), precedence for similar quirk
patches already existing, and having received positive test results, I
feel it should be carried as a SAUCE patch until a more systematic
approach can be found which upstream will accept.

Thanks,
Leann

>From 88f224f473a6eceb4f961ccd8f32067aa9f5bcb4 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara at canonical.com>
Date: Fri, 26 Aug 2011 07:18:46 -0700
Subject: [PATCH] UBUNTU: SAUCE: x86: reboot: Make Dell Latitude E6520 use reboot=pci

The Dell Latitude E6520 doesn't reboot unless reboot=pci is set.

BugLink: http://bugs.launchpad.net/bugs/833705
Cc: <stable at kernel.org>
Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
---
 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 9242436..6ac6e12 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -443,6 +443,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"),
 		},
 	},
+	{	/* 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"),
+		},
+	},
 	{ }
 };
 
-- 
1.7.4.1







More information about the kernel-team mailing list