mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot for Justin P. Mattock" <justinmattock@gmail.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, justinmattock@gmail.com,
	hpa@zytor.com, mingo@redhat.com, stable@kernel.org,
	tglx@linutronix.de, mingo@elte.hu
Subject: [tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table
Date: Wed, 17 Feb 2010 12:12:38 GMT	[thread overview]
Message-ID: <tip-0a832320f1bae6a4169bf683e201378f2437cfc1@git.kernel.org> (raw)
In-Reply-To: <1266362249-3337-1-git-send-email-justinmattock@gmail.com>

Commit-ID:  0a832320f1bae6a4169bf683e201378f2437cfc1
Gitweb:     http://git.kernel.org/tip/0a832320f1bae6a4169bf683e201378f2437cfc1
Author:     Justin P. Mattock <justinmattock@gmail.com>
AuthorDate: Tue, 16 Feb 2010 15:17:29 -0800
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 17 Feb 2010 08:08:21 +0100

x86: Add iMac9,1 to pci_reboot_dmi_table

On the iMac9,1 /sbin/reboot results in a black mangled screen. Adding
this DMI entry gets the machine to reboot cleanly as it should.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
LKML-Reference: <1266362249-3337-1-git-send-email-justinmattock@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 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 704bddc..8e1aac8 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -461,6 +461,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Macmini3,1"),
 		},
 	},
+	{	/* Handle problems with rebooting on the iMac9,1. */
+		.callback = set_pci_reboot,
+		.ident = "Apple iMac9,1",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
+		},
+	},
 	{ }
 };
 

      parent reply	other threads:[~2010-02-17 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 23:17 [PATCH]"X86",Resend_Add_iMac9,1_to_pci_reboot_dmi_table Justin P. Mattock
2010-02-16 23:33 ` [tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table tip-bot for Justin P. Mattock
2010-02-16 23:46   ` Justin P. mattock
2010-02-17 12:12 ` tip-bot for Justin P. Mattock [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-0a832320f1bae6a4169bf683e201378f2437cfc1@git.kernel.org \
    --to=justinmattock@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mingo@redhat.com \
    --cc=stable@kernel.org \
    --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

Powered by JetHome