Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1977634pxb; Fri, 5 Mar 2021 04:37:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxI6t6kU7gYH9Tk8GdcunaUCTcnLzU2AS7hTILISGo3zp+ljHVIuYLCTSbc4KjgWVM1PXpb X-Received: by 2002:a17:907:d0b:: with SMTP id gn11mr2028950ejc.463.1614947823762; Fri, 05 Mar 2021 04:37:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947823; cv=none; d=google.com; s=arc-20160816; b=xlevVqUpTZQxedVeeTjQY0Naj4rufNKw3feevNySz8254wn2GhJhjx8UbDov1TU0Vm yQPXEUl+UPGXnm5TE00CyDlnXDufn6+UyHkp/ni+tKhti4Y4QUJvIlPVXiJdeeFPWUCz us1UwNs0stMfF36T32ckNlxbYDp/XETTUaNjEjZDRM6SZCMjuQ4PQhj5JP4g8iIRHAzN dSn1vYUb4dm55FqVqRyBsPP/P+kD7Guh1EW5OXQbQP8+w0QXVn0Rqn4xAzg3LAx5/Jre pZHarVuM3k8Q3m17WY73pMsVmAKo9O2dJ9n2MWC0erVrqkq8UcjuX/rDJ83dI/4KwcHh 1xBw== 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=awi5HHYTl6L/Tvb1FyXSGS6HjUH+MAMgz8k7oVqqUo4=; b=ouIyde1NGM9LtBfE4Kyi3xqwQAlIF75nPR1nUhwq9vad/DXOLuRIf0iExNAf9BuiEt jD4DuHnUkWxYifYVSTWBsGqH3IDIQLOQVA1x94mR2sEdhscsWxJZSpiiYzp6eYiVmlRU eeMngTxXXc67InAIOds99bDOPLvuJckWsTdDvpQ0/zHOSOl9pzIrDP4B1p9i06GQuhhw P6ebBIQa/6RmE18JYmBnmfH7dx06K46+MhgB5Q8gag0BC1vRQtqaBptDQIn6VgnEQyYy r8S88VELlc1iv8G2MUee66v+f7miDwGSLrrSVsS2I/5eJfKib6tXBhDB9/+kDZ5EIF8S WOoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0l9kHuP+; 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 l13si1616333edj.219.2021.03.05.04.36.40; Fri, 05 Mar 2021 04:37:03 -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=0l9kHuP+; 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 S232771AbhCEMfs (ORCPT + 99 others); Fri, 5 Mar 2021 07:35:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:47458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232746AbhCEMfU (ORCPT ); Fri, 5 Mar 2021 07:35:20 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 41DE76501F; Fri, 5 Mar 2021 12:35:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947720; bh=4nYSbNqMutgbBL6Cl/4fHrCzA2YHV+36Kb540gA7SRI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0l9kHuP+dTaIuhweSNcSjnVoCpw2JiNlFWcPd1nGyYrq3kxcIx8xAmJdToCJfomeC jH9PURpwXVg5dFbbnlHV9D6KrKgTkkMVaGuMXqcgXGtiySIvGS733NJuCPk/c4xHOf 7m1a+jbClbSuxBkUVQ0Eo1LNs3jDWQ0Wmi++252U= 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 5.4 29/72] x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk Date: Fri, 5 Mar 2021 13:21:31 +0100 Message-Id: <20210305120858.762163646@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120857.341630346@linuxfoundation.org> References: <20210305120857.341630346@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 835b6fc0c1bb..b1b96d461bc7 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