From patchwork Fri Sep 9 20:23:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leann Ogasawara X-Patchwork-Id: 114128 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id C34C9B71A0 for ; Sat, 10 Sep 2011 06:24:28 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1R27cC-0002Bn-4a; Fri, 09 Sep 2011 20:23:56 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1R27cA-0002Bi-UB for kernel-team@lists.ubuntu.com; Fri, 09 Sep 2011 20:23:54 +0000 Received: from c-24-21-156-70.hsd1.or.comcast.net ([24.21.156.70] helo=[192.168.1.3]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1R27cA-0007mK-G4 for kernel-team@lists.ubuntu.com; Fri, 09 Sep 2011 20:23:54 +0000 Subject: [Oneiric][PATCH 1/1] UBUNTU: SAUCE: x86: reboot: Make Dell Optiplex 790 use reboot=pci From: Leann Ogasawara To: kernel-team Date: Fri, 09 Sep 2011 13:23:51 -0700 X-Mailer: Evolution 3.1.5- Message-ID: <1315599834.2076.27.camel@adamo> Mime-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com Hi All, http://bugs.launchpad.net/bugs/818933 It's been reported that the Dell Optiplex 790 doesn't reboot unless using reboot=pci. The following patch resolves this issue and has been successfully tested by multiple users. Upstream is unfortunately not accepting any additional quirk patches like this as they would prefer to migrate to a more systematic approach. 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. As a side note, I'm starting to accumulate a handful of these reboot quirks for Dell Optiplex and Latitude systems. I'm just waiting on test confirmation before submitting the patches here. Thanks, Leann From 8444722f96d3b0875a0044683dc1c1cd92c0097a Mon Sep 17 00:00:00 2001 From: Leann Ogasawara Date: Thu, 1 Sep 2011 07:44:30 -0700 Subject: [PATCH] UBUNTU: SAUCE: x86: reboot: Make Dell Optiplex 790 use reboot=pci BugLink: http://bugs.launchpad.net/bugs/818933 The Dell Optiplex 790 doesn't reboot unless reboot=pci is set. Signed-off-by: Leann Ogasawara --- 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 6ac6e12..3906b56 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -451,6 +451,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6520"), }, }, + { /* Handle problems with rebooting on the OptiPlex 790. */ + .callback = set_pci_reboot, + .ident = "Dell OptiPlex 790", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 790"), + }, + }, { } };