From: Dan Nicholson <nichol...@endlessos.org>

The GIGABYTE BRIX BXBT-2807 always hangs with the normal acpi
reboot. It works withour problem after adding the parameter
reboot=bios.

Signed-off-by: Dan Nicholson <nichol...@endlessos.org>
Signed-off-by: Chris Chiu <c...@endlessos.org>
Signed-off-by: Jian-Hong Pan <j...@endlessos.org>
---
 arch/x86/kernel/reboot.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index db115943e8bd..a03344616cd9 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -467,6 +467,16 @@ static const struct dmi_system_id reboot_dmi_table[] 
__initconst = {
                },
        },
 
+       /* GIGABYTE */
+       {       /* Workaround hard disk crash on ACPI reboot */
+               .callback = set_bios_reboot,
+               .ident = "GIGABYTE BRIX BXBT-2807",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"),
+               },
+       },
+
        /* Hewlett-Packard */
        {       /* Handle problems with rebooting on HP laptops */
                .callback = set_bios_reboot,
-- 
2.20.1

Reply via email to