Messages in this thread Patch in this message | | | Subject | Fwd: [PATCH] x86: Add iMac10,1 to pci_reboot_dmi_table | From | Mario Kleiner <> | Date | Fri, 1 Jan 2016 23:48:07 +0100 |
| |
-------- 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
| |