All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Kleiner <mario.kleiner.de@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Fwd: [PATCH] x86: Add iMac10,1 to pci_reboot_dmi_table
Date: Fri, 1 Jan 2016 23:48:07 +0100	[thread overview]
Message-ID: <56870227.3070302@gmail.com> (raw)
In-Reply-To: <1450466646-26663-1-git-send-email-mario.kleiner.de@gmail.com>

-------- Forwarded Message --------
Subject: [PATCH] x86: Add iMac10,1 to pci_reboot_dmi_table
Date: Fri, 18 Dec 2015 20:24:06 +0100
From: Mario Kleiner <mario.kleiner.de@gmail.com>
To: x86@kernel.org
CC: mingo@redhat.com, hpa@zytor.com, mario.kleiner.de@gmail.com, 
stable@vger.kernel.org

Without the reboot=pci method, the iMac 10,1 simply
hangs after printing "Restarting system" at the point
when it should reboot. This fixes it.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: <stable@vger.kernel.org>
---
  arch/x86/kernel/reboot.c | 8 ++++++++
  1 file changed, 8 insertions(+)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 02693dd..f660d63 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -182,6 +182,14 @@ static struct dmi_system_id __initdata 
reboot_dmi_table[] = {
  			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
  		},
  	},
+	{	/* Handle problems with rebooting on the iMac10,1. */
+		.callback = set_pci_reboot,
+		.ident = "Apple iMac10,1",
+		.matches = {
+		    DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+		    DMI_MATCH(DMI_PRODUCT_NAME, "iMac10,1"),
+		},
+	},

  	/* ASRock */
  	{	/* Handle problems with rebooting on ASRock Q1900DC-ITX */
-- 
1.9.1




  reply	other threads:[~2016-01-01 22:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18 19:24 [PATCH] x86: Add iMac10,1 to pci_reboot_dmi_table Mario Kleiner
2016-01-01 22:48 ` Mario Kleiner [this message]
2016-01-12 12:05 ` [tip:x86/urgent] x86/reboot/quirks: Add iMac10, 1 to pci_reboot_dmi_table[] tip-bot for Mario Kleiner

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=56870227.3070302@gmail.com \
    --to=mario.kleiner.de@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.