All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/reboot/quirks: Add GIGABYTE BRIX BXBT-2807 reboot quirk
@ 2020-12-10  4:10 Chris Chiu
  0 siblings, 0 replies; only message in thread
From: Chris Chiu @ 2020-12-10  4:10 UTC (permalink / raw)
  To: tglx, mingo, bp, hpa, peterz, luto
  Cc: x86, linux-kernel, linux, Dan Nicholson, Chris Chiu, Jian-Hong Pan

From: Dan Nicholson <nicholson@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 <nicholson@endlessos.org>
Signed-off-by: Chris Chiu <chiu@endlessos.org>
Signed-off-by: Jian-Hong Pan <jhp@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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-10  4:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10  4:10 [PATCH] x86/reboot/quirks: Add GIGABYTE BRIX BXBT-2807 reboot quirk Chris Chiu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.