All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: ASUS P4S800 reboot quirk
@ 2009-12-05  0:15 Leann Ogasawara
  2009-12-05  0:57 ` [tip:x86/urgent] x86: ASUS P4S800 reboot=bios quirk tip-bot for Leann Ogasawara
  0 siblings, 1 reply; 2+ messages in thread
From: Leann Ogasawara @ 2009-12-05  0:15 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: x86, linux-kernel, kernel-team

Hi,

Bug reporter noted their system with an ASUS P4S800 motherboard would
hang when rebooting unless reboot=b was specified.  Their dmidecode
didn't contain descriptive System Information for Manufacturer or
Product Name, so I used their Base Board Information to create a reboot
quirk patch.  The bug reporter confirmed this patch resolves the reboot
hang.  Please consider applying.

Thanks,
Leann Ogasawara 

Handle 0x0001, DMI type 1, 25 bytes
System Information
	Manufacturer: System Manufacturer
	Product Name: System Name
	Version: System Version
	Serial Number: SYS-1234567890
	UUID: E0BFCD8B-7948-D911-A953-E486B4EEB67F
	Wake-up Type: Power Switch

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
	Manufacturer: ASUSTeK Computer INC.
	Product Name: P4S800
	Version: REV 1.xx
	Serial Number: xxxxxxxxxxx

>From 303bffef31e1a03f1d87606b15153e176c12b686 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara@canonical.com>
Date: Fri, 4 Dec 2009 15:42:22 -0800
Subject: [PATCH] x86: ASUS P4S800 reboot quirk

BugLink: http://bugs.launchpad.net/bugs/366682

ASUS P4S800 will hang when rebooting unless reboot=b is specified.
Add a quirk to reboot through the bios.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
---
 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 2b97fc5..1545bc0 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -259,6 +259,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "SBC-FITPC2"),
 		},
 	},
+	{       /* Handle problems with rebooting on ASUS P4S800 */
+		.callback = set_bios_reboot,
+		.ident = "ASUS P4S800",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "P4S800"),
+		},
+	},
 	{ }
 };
 
-- 
1.5.6.3




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:x86/urgent] x86: ASUS P4S800 reboot=bios quirk
  2009-12-05  0:15 [PATCH] x86: ASUS P4S800 reboot quirk Leann Ogasawara
@ 2009-12-05  0:57 ` tip-bot for Leann Ogasawara
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Leann Ogasawara @ 2009-12-05  0:57 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, leann.ogasawara, stable, tglx

Commit-ID:  4832ddda2ec4df96ea1eed334ae2dbd65fc1f541
Gitweb:     http://git.kernel.org/tip/4832ddda2ec4df96ea1eed334ae2dbd65fc1f541
Author:     Leann Ogasawara <leann.ogasawara@canonical.com>
AuthorDate: Fri, 4 Dec 2009 15:42:22 -0800
Committer:  H. Peter Anvin <hpa@zytor.com>
CommitDate: Fri, 4 Dec 2009 16:38:59 -0800

x86: ASUS P4S800 reboot=bios quirk

Bug reporter noted their system with an ASUS P4S800 motherboard would
hang when rebooting unless reboot=b was specified.  Their dmidecode
didn't contain descriptive System Information for Manufacturer or
Product Name, so I used their Base Board Information to create a
reboot quirk patch.  The bug reporter confirmed this patch resolves
the reboot hang.

Handle 0x0001, DMI type 1, 25 bytes
System Information
       Manufacturer: System Manufacturer
       Product Name: System Name
       Version: System Version
       Serial Number: SYS-1234567890
       UUID: E0BFCD8B-7948-D911-A953-E486B4EEB67F
       Wake-up Type: Power Switch

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
     Manufacturer: ASUSTeK Computer INC.
     Product Name: P4S800
     Version: REV 1.xx
     Serial Number: xxxxxxxxxxx

BugLink: http://bugs.launchpad.net/bugs/366682

ASUS P4S800 will hang when rebooting unless reboot=b is specified.
Add a quirk to reboot through the bios.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
LKML-Reference: <1259972107.4629.275.camel@emiko>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org>
---
 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 f930787..6caf260 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -259,6 +259,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "SBC-FITPC2"),
 		},
 	},
+	{       /* Handle problems with rebooting on ASUS P4S800 */
+		.callback = set_bios_reboot,
+		.ident = "ASUS P4S800",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "P4S800"),
+		},
+	},
 	{ }
 };
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-05  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-05  0:15 [PATCH] x86: ASUS P4S800 reboot quirk Leann Ogasawara
2009-12-05  0:57 ` [tip:x86/urgent] x86: ASUS P4S800 reboot=bios quirk tip-bot for Leann Ogasawara

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.