public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for Maxime Ripard <maxime.ripard@free-electrons.com>
To: linux-tip-commits@vger.kernel.org
Cc: mjg@redhat.com, linux-kernel@vger.kernel.org, hpa@zytor.com,
	mingo@redhat.com, tglx@linutronix.de,
	maxime.ripard@free-electrons.com
Subject: [tip:x86/urgent] x86. reboot: Make Dell Latitude E6320 use reboot=pci
Date: Wed, 13 Jul 2011 04:48:54 GMT	[thread overview]
Message-ID: <tip-3628c3f5c818cfc6e588d1ccb31f19aa12345c02@git.kernel.org> (raw)
In-Reply-To: <1309269451-4966-1-git-send-email-maxime.ripard@free-electrons.com>

Commit-ID:  3628c3f5c818cfc6e588d1ccb31f19aa12345c02
Gitweb:     http://git.kernel.org/tip/3628c3f5c818cfc6e588d1ccb31f19aa12345c02
Author:     Maxime Ripard <maxime.ripard@free-electrons.com>
AuthorDate: Tue, 28 Jun 2011 15:57:31 +0200
Committer:  H. Peter Anvin <hpa@zytor.com>
CommitDate: Tue, 12 Jul 2011 21:42:48 -0700

x86. reboot: Make Dell Latitude E6320 use reboot=pci

The Dell Latitude E6320 doesn't reboot unless reboot=pci is set.
Force it thanks to DMI.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: http://lkml.kernel.org/r/1309269451-4966-1-git-send-email-maxime.ripard@free-electrons.com
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.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 4f0d46f..14eed21 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -419,6 +419,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
 		},
 	},
+	{	/* Handle problems with rebooting on the Latitude E6320. */
+		.callback = set_pci_reboot,
+		.ident = "Dell Latitude E6320",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6320"),
+		},
+	},
 	{ }
 };
 

      parent reply	other threads:[~2011-07-13  4:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 13:57 [PATCH] x86: Make Dell Latitude E6320 use reboot=pci Maxime Ripard
2011-06-28 17:41 ` Matthew Garrett
2011-06-28 19:35   ` Maxime Ripard
2011-06-28 19:53     ` Maxime Ripard
2011-06-28 20:03     ` Matthew Garrett
2011-06-29  7:33       ` Maxime Ripard
2011-07-12  9:44         ` Maxime Ripard
2011-07-13  4:48 ` tip-bot for Maxime Ripard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-3628c3f5c818cfc6e588d1ccb31f19aa12345c02@git.kernel.org \
    --to=maxime.ripard@free-electrons.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=mjg@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox