public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mel Gorman <mgorman@suse.de>
To: tglx@linutronix.de, mingo@elte.hu, hpa@zytor.com
Cc: bruno@ioda-net.ch, mjg@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] x86: Add reboot quirk for Dell Precision M4600
Date: Wed, 27 Jul 2011 13:56:51 +0100	[thread overview]
Message-ID: <20110727125651.GH3010@suse.de> (raw)

ACPI reboot does not work for Dell Precision M4600. Detect this
machine via DMI and force the use of the PCI reboot method.
    
Reported-and-tested-by: Bruno Friedmann <bruno@ioda-net.ch>
Signed-off-by: Mel Gorman <mgorman@suse.de>
---
 arch/x86/kernel/reboot.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 9242436..7ca2ec4 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -443,6 +443,15 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"),
 		},
 	},
+	{	/* Handle problems with rebooting on Dell Precision M4600's */
+		.callback = set_pci_reboot,
+		.ident = "Dell Precision M4600",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision M4600"),
+		},
+	},
+
 	{ }
 };
 

             reply	other threads:[~2011-07-27 12:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27 12:56 Mel Gorman [this message]
2011-08-06  6:56 ` [PATCH] x86: Add reboot quirk for Dell Precision M4600 Ingo Molnar
2011-08-06  7:01   ` H. Peter Anvin
2011-08-06 15:31     ` Len Brown
2011-08-06 18:18       ` Bruno Friedmann
2011-08-06 15:30   ` Matthew Garrett
2011-08-08 16:40     ` H. Peter Anvin
2011-08-08 22:49       ` Bruno Friedmann
2011-08-09 11:26       ` Bruno Friedmann
2011-08-09 15:02         ` Ingo Molnar
2011-08-09 16:20           ` Bruno Friedmann
2011-08-08 14:57   ` Mel Gorman

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=20110727125651.GH3010@suse.de \
    --to=mgorman@suse.de \
    --cc=bruno@ioda-net.ch \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --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