From: Chris Chiu <chiu@endlessos.org>
To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
hpa@zytor.com, peterz@infradead.org, luto@kernel.org
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
linux@endlessos.org, Dan Nicholson <nicholson@endlessos.org>,
Chris Chiu <chiu@endlessos.org>,
Jian-Hong Pan <jhp@endlessos.org>
Subject: [PATCH v2] x86/reboot/quirks: Add GIGABYTE BRIX BXBT-2807 reboot quirk
Date: Thu, 10 Dec 2020 12:19:46 +0800 [thread overview]
Message-ID: <20201210041946.8961-1-chiu@endlessos.org> (raw)
From: Dan Nicholson <nicholson@endlessos.org>
The GIGABYTE BRIX BXBT-2807 always hangs with the normal acpi
reboot. It works without 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>
---
v2:
- fix typo in the commit message.
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
next reply other threads:[~2020-12-10 4:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 4:19 Chris Chiu [this message]
2020-12-10 18:49 ` [PATCH v2] x86/reboot/quirks: Add GIGABYTE BRIX BXBT-2807 reboot quirk Borislav Petkov
2020-12-10 23:01 ` Dan Nicholson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201210041946.8961-1-chiu@endlessos.org \
--to=chiu@endlessos.org \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=jhp@endlessos.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@endlessos.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=nicholson@endlessos.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox