x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 1 Dec 2020 11:39:57 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Mar 2021 11:34:09 +0000 (12:34 +0100)
commite0c29b368ded7a5dae0c119280345ed9788f7600
treeb1c6b78ee2bbc4c3601ff0ee49cdceff70a26b28
parentb3854d1550f09e7616d915d9a540a88e1d269c66
x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk

[ Upstream commit 4b2d8ca9208be636b30e924b1cbcb267b0740c93 ]

On this system the M.2 PCIe WiFi card isn't detected after reboot, only
after cold boot. reboot=pci fixes this behavior. In [0] the same issue
is described, although on another system and with another Intel WiFi
card. In case it's relevant, both systems have Celeron CPUs.

Add a PCI reboot quirk on affected systems until a more generic fix is
available.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=202399

 [ bp: Massage commit message. ]

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1524eafd-f89c-cfa4-ed70-0bde9e45eec9@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/reboot.c