Skip to contentSkip to conversation

"X86",Resend_Add_iMac9,1_to_pci_reboot_dmi_table

PATCH In review Justin P. Mattock 1 participant 4 messages Feb 16, 2010 – Feb 17, 2010 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 "X86",Resend_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.

---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
arch/x86/kernel/reboot.c +8 -0
index 704bddc..8e1aac8 100644
@@ -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"),
+		},
+	},
 	{ }
 };
 
Signature · 1 line
1.6.5.GIT
#1 lore raw

[tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table

Commit-ID:  30f541e8251d3a708544808292d96eaecbe7e3ab
Gitweb:     http://git.kernel.org/tip/30f541e8251d3a708544808292d96eaecbe7e3ab
Author:     Justin P. Mattock <[email protected]>
AuthorDate: Tue, 16 Feb 2010 15:17:29 -0800
Committer:  H. Peter Anvin <[email protected]>
CommitDate: Tue, 16 Feb 2010 15:26:29 -0800

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.

LKML-Reference: <[email protected]>

---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
arch/x86/kernel/reboot.c +8 -0
index 704bddc..8e1aac8 100644
@@ -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"),
+		},
+	},
 	{ }
 };
 
#2 lore raw

Re: [tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table

Quoted 30 lines · tip-bot for Justin P. Mattock
Commit-ID:  30f541e8251d3a708544808292d96eaecbe7e3ab
Gitweb:     http://git.kernel.org/tip/30f541e8251d3a708544808292d96eaecbe7e3ab
Author:     Justin P. Mattock<[email protected]>
AuthorDate: Tue, 16 Feb 2010 15:17:29 -0800
Committer:  H. Peter Anvin<[email protected]>
CommitDate: Tue, 16 Feb 2010 15:26:29 -0800

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.

LKML-Reference:<[email protected]>

---
  arch/x86/kernel/reboot.c |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)
arch/x86/kernel/reboot.c +1 -0
index 704bddc..8e1aac8 100644
@@ -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. */

arch/x86/kernel/reboot.c static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { · line 474

Quoted 10 lines
arch/x86/kernel/reboot.c +7 -0
+		.callback = set_pci_reboot,
+		.ident = "Apple iMac9,1",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
+		},
+	},
  	{ }
  };
 

o.k,
I'll need to read up on what a tip-bot
is.(main thing now people can enjoy a reboot
instead of shutting down).

cheers.

Justin P. Mattock

#3 lore raw

[tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table

In reply to Justin P. Mattock
Commit-ID:  0a832320f1bae6a4169bf683e201378f2437cfc1
Gitweb:     http://git.kernel.org/tip/0a832320f1bae6a4169bf683e201378f2437cfc1
Author:     Justin P. Mattock <[email protected]>
AuthorDate: Tue, 16 Feb 2010 15:17:29 -0800
Committer:  Ingo Molnar <[email protected]>
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.

LKML-Reference: <[email protected]>

---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
arch/x86/kernel/reboot.c +8 -0
index 704bddc..8e1aac8 100644
@@ -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"),
+		},
+	},
 	{ }
 };