+ x86-use-bios-reboot-on-toshiba-portege-4000.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     x86: use BIOS reboot on Toshiba Portege 4000
has been added to the -mm tree.  Its filename is
     x86-use-bios-reboot-on-toshiba-portege-4000.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: x86: use BIOS reboot on Toshiba Portege 4000
From: Andrey Borzenkov <arvidjaar@xxxxxxx>

After commit c7ffa6c26277b403920e2255d10df849bd613380 ("x86: default to
reboot via ACPI") 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@xxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Avi Kivity <avi@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/x86/kernel/reboot.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff -puN arch/x86/kernel/reboot.c~x86-use-bios-reboot-on-toshiba-portege-4000 arch/x86/kernel/reboot.c
--- a/arch/x86/kernel/reboot.c~x86-use-bios-reboot-on-toshiba-portege-4000
+++ a/arch/x86/kernel/reboot.c
@@ -197,6 +197,14 @@ static struct dmi_system_id __initdata r
 			DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"),
 		},
 	},
+	{	/* Handle problems with rebooting on Toshiba Portege 4000 */
+		.callback = set_bios_reboot,
+		.ident = "Toshiba Portege 4000",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE 4000"),
+		},
+	},
 	{ }
 };
 
_

Patches currently in -mm which might be from arvidjaar@xxxxxxx are

cpqarry-fix-return-value-of-cpqarray_init.patch
linux-next.patch
acpi-toshiba-only-register-rfkill-if-bt-is-enabled.patch
x86-use-bios-reboot-on-toshiba-portege-4000.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux