Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1980463pxb; Fri, 5 Mar 2021 04:41:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKLwhkrtiXHzEmuP/XAKZ0kcH2ZKTqAOT82IZIUQ1hwsOi2irvx4Z4BkQnFWj28urSFfri X-Received: by 2002:a17:907:1b06:: with SMTP id mp6mr2077366ejc.408.1614948086471; Fri, 05 Mar 2021 04:41:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614948086; cv=none; d=google.com; s=arc-20160816; b=Ca4fP3NrSHher+ioTuglPJziz/CB9XJBl6CdNCNR6eFGuTk4NejoZ1FTfc0UlXZY+4 jKVsenJap0WJvU1uGGNyUxm1VQGlYXZEIFCUYnbISHbRhZSzgcz+9u9SyI3QR/iiUcJO oFbt1Px7oTnRowKLANSD8UcilSb2B2LVDGXK99C2XjKg7H7Oh/F5vFFmdyk+4HLI3nfE I9071rOsPNkS51LEgVSmSaX1j8Vqp+BlvywGbgqURKYl8wVcWW3NXDKo1ipFft1ffcAI Q+r36OC4HXHzsPA3UtuRlmPtvD434u486i2In8XT67TWxCLvZCcH63Z+ITmIObf936Fz h9cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TzbMz0qLQsAivfvTyansg1vxJoSnAC9bZavjn7Ly3LM=; b=apaz0ZyATvZJBv7/dbEQBhOIjt640lrssJYT6wQE9ksKWReFqCfafa6CEx0SXY/w+T VA15Gv3EPtsbNo2WphPMJftWxlvMv/nNjPglfinZl0bsk3466g1Mo/G27kAyw/XvyC7c Szh0+LOVwX5bDd9jBE9uctkpndCLzuo/2ElHvIsYKg8Ptajc2Dy3GcivnpSB3sQ1VnKJ UKkd37tPjyMk+mek8BHmZrGtnH3f42KJkPR+hG4qHGyVAnblW5IrNu7Y57FxOvOcQWvQ QAKKsB0m2hg+Wvu4zci6WO/EoXcCBhYymJGJRpEyyB+M5QEo2i7Q0QVyv5xkbECKv8C6 retA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=L4s0Y5Cg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si1816416edl.282.2021.03.05.04.41.03; Fri, 05 Mar 2021 04:41:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=L4s0Y5Cg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232238AbhCEMiC (ORCPT + 99 others); Fri, 5 Mar 2021 07:38:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:50122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232532AbhCEMg7 (ORCPT ); Fri, 5 Mar 2021 07:36:59 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 00C2E6501B; Fri, 5 Mar 2021 12:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947819; bh=5jGaORRjLwfbn7w26dKd/8CU0voAt/GVBMAr90VeoSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L4s0Y5CgOfmlxy2eBXbyNvWUXnB+SR4qoTOHyo6R6WwpJrOQJd5VV1t5f6fMdAO1O O+LJ79mC9MDPsOsLWDDAc1ctle9KrDGH7gaMUUh9FGw4ywMKsWdeefCzVJ26+rfZhm PR2913KGdgag1wBKOz3kKH9qvAiY027KIpfZyAWQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heiner Kallweit , Borislav Petkov , Sasha Levin Subject: [PATCH 4.19 22/52] x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk Date: Fri, 5 Mar 2021 13:21:53 +0100 Message-Id: <20210305120854.771299063@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120853.659441428@linuxfoundation.org> References: <20210305120853.659441428@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiner Kallweit [ 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 Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/1524eafd-f89c-cfa4-ed70-0bde9e45eec9@gmail.com Signed-off-by: Sasha Levin --- arch/x86/kernel/reboot.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index a19706bee687..6489cc19ed06 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -477,6 +477,15 @@ static const struct dmi_system_id reboot_dmi_table[] __initconst = { }, }, + { /* PCIe Wifi card isn't detected after reboot otherwise */ + .callback = set_pci_reboot, + .ident = "Zotac ZBOX CI327 nano", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "NA"), + DMI_MATCH(DMI_PRODUCT_NAME, "ZBOX-CI327NANO-GS-01"), + }, + }, + /* Sony */ { /* Handle problems with rebooting on Sony VGN-Z540N */ .callback = set_bios_reboot, -- 2.30.1