[PATCH] ACPI: Force acpi_skip_timer_override for GigabyteGA-MA78GPM-UD2H

From: Angus Turnbull
Date: Tue Nov 22 2011 - 17:17:27 EST


Several Gigabyte motherboards from the SB700 generation have an issue
where they will not boot or suspend/resume reliably without
"acpi_skip_timer_override" on the kernel command line. I have a
GA-MA78GPM-UD2H (AM2+ socket) and the below patch allows it to boot
successfully by adding it to the quirks list (the AMD bug detection in
early_quirks.c isn't enabling acpi_skip_timer_override automatically).

https://lkml.org/lkml/2011/3/31/195 covered a very similar issue.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/658955 is a bug
report with my system information.


diff -ru a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1466,6 +1466,19 @@
DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6715b"),
},
},
+ /*
+ * Buggy Gigabyte ACPI on SB700 boards, will not boot or resume
+ * reliably without acpi_skip_timer_override (last stable BIOS).
+ * Affects multiple boards of this generation.
+ */
+ {
+ .callback = dmi_ignore_irq0_timer_override,
+ .ident = "Gigabyte GA-MA78GPM-UD2H",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR,
+ "Gigabyte Technology Co., Ltd."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "GA-MA78GPM-UD2H"),
+ },
+ },
{}
};


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/