[PATCH] Use BIOS reboot on Toshiba Portege 4000

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrey Borzenkov
Date: Friday, October 31, 2008 - 11:18 am

Subject: [PATCH] Use BIOS reboot on Toshiba Portege 4000

=46rom: Andrey Borzenkov <arvidjaar@mail.ru>

After commit c7ffa6c26277b403920e2255d10df849bd613380 which defaults
to reboot via ACPI keyboard is dead on Toshiba Portege 4000 upon reboot.
Power off is required to revive it again. Add DMI entry to force BIOS
reboot method as it was before.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>

=2D--

This fixes regression in 2.6.28. Commit log states:

    Triple-fault and keyboard reset may assert INIT instead of RESET; howev=
er
    INIT is blocked when Intel VT is enabled.  This leads to a partially re=
set
    machine when invoking emergency_restart via sysrq-b: the processor is s=
till
    working but other parts of the system are dead.

I wonder if we better check for VT bit instead of using DMI entries?

 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 f4c93f1..f9b28b3 100644
=2D-- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -197,6 +197,14 @@ static struct dmi_system_id __initdata reboot_dmi_tabl=
e[] =3D {
 			DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"),
 		},
 	},
+	{	/* Handle problems with rebooting on Toshiba Portege 4000 */
+		.callback =3D set_bios_reboot,
+		.ident =3D "Toshiba Portege 4000",
+		.matches =3D {
+			DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE 4000"),
+		},
+	},
 	{ }
 };
=20
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Use BIOS reboot on Toshiba Portege 4000, Andrey Borzenkov, (Fri Oct 31, 11:18 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Ingo Molnar, (Mon Nov 3, 2:08 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Avi Kivity, (Mon Nov 3, 3:02 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Ingo Molnar, (Mon Nov 3, 3:04 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Eduardo Habkost, (Mon Nov 3, 6:33 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Avi Kivity, (Mon Nov 3, 7:41 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Eric W. Biederman, (Mon Nov 3, 9:13 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Eduardo Habkost, (Mon Nov 3, 10:01 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Avi Kivity, (Tue Nov 4, 3:47 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Eric W. Biederman, (Tue Nov 4, 4:22 am)
Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000, Eduardo Habkost, (Tue Nov 4, 4:57 am)