Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9e82af8 authored by Tim Gardner's avatar Tim Gardner Committed by Linus Torvalds
Browse files

Work around Dell E520 BIOS reboot bug



Force Dell E520 to use the BIOS to shutdown/reboot.

I have at least one report that this patch fixes shutdown/reboot
problems on the Dell E520 platform.

(Andi says: People can always set the boot option.  It hardly seems like a
critical issue needing a backport.)

Signed-off-by: default avatarTim Gardner <tim.gardner@ubuntu.com>
Acked-by: default avatarAndi Kleen <ak@suse.de>
Acked-by: default avatarMatt Domsch <Matt_Domsch@dell.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0939c17c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -89,6 +89,14 @@ static int __init set_bios_reboot(struct dmi_system_id *d)
}

static struct dmi_system_id __initdata reboot_dmi_table[] = {
	{	/* Handle problems with rebooting on Dell E520's */
		.callback = set_bios_reboot,
		.ident = "Dell E520",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
			DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM061"),
		},
	},
	{	/* Handle problems with rebooting on Dell 1300's */
		.callback = set_bios_reboot,
		.ident = "Dell PowerEdge 1300",