Skip to content

Commit 44d8cbe

Browse files
pkgaddsashalevin
authored andcommitted
x86/reboot: Add ASRock Q1900DC-ITX mainboard reboot quirk
[ Upstream commit 80313b3 ] The ASRock Q1900DC-ITX mainboard (Baytrail-D) hangs randomly in both BIOS and UEFI mode while rebooting unless reboot=pci is used. Add a quirk to reboot via the pci method. The problem is very intermittent and hard to debug, it might succeed rebooting just fine 40 times in a row - but fails half a dozen times the next day. It seems to be slightly less common in BIOS CSM mode than native UEFI (with the CSM disabled), but it does happen in either mode. Since I've started testing this patch in late january, rebooting has been 100% reliable. Most of the time it already hangs during POST, but occasionally it might even make it through the bootloader and the kernel might even start booting, but then hangs before the mode switch. The same symptoms occur with grub-efi, gummiboot and grub-pc, just as well as (at least) kernel 3.16-3.19 and 4.0-rc6 (I haven't tried older kernels than 3.16). Upgrading to the most current mainboard firmware of the ASRock Q1900DC-ITX, version 1.20, does not improve the situation. ( Searching the web seems to suggest that other Bay Trail-D mainboards might be affected as well. ) -- Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Cc: <stable@vger.kernel.org> Cc: Matt Fleming <matt.fleming@intel.com> Link: http://lkml.kernel.org/r/20150330224427.0fb58e42@mir Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
1 parent 7f67673 commit 44d8cbe

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎arch/x86/kernel/reboot.c‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,16 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
182182
},
183183
},
184184

185+
/* ASRock */
186+
{ /* Handle problems with rebooting on ASRock Q1900DC-ITX */
187+
.callback = set_pci_reboot,
188+
.ident = "ASRock Q1900DC-ITX",
189+
.matches = {
190+
DMI_MATCH(DMI_BOARD_VENDOR, "ASRock"),
191+
DMI_MATCH(DMI_BOARD_NAME, "Q1900DC-ITX"),
192+
},
193+
},
194+
185195
/* ASUS */
186196
{ /* Handle problems with rebooting on ASUS P4S800 */
187197
.callback = set_bios_reboot,

0 commit comments

Comments
 (0)