Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3665390pxb; Mon, 24 Jan 2022 14:50:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAzbHCSF8pTv1ho4V9yq9w3r8ZrsMimyxf/RiRLytDUjNYIa56g04IOBk0doEftlnFL+JR X-Received: by 2002:a17:90a:d584:: with SMTP id v4mr540474pju.10.1643064513245; Mon, 24 Jan 2022 14:48:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643064513; cv=none; d=google.com; s=arc-20160816; b=DDpgELB4/3xZGyqFaufLldivtcp66IVd+quMmxlE9+/mpXk2hBvIk7ef5qjQBSP8FF yYBJEWSSSckE1aNebocwx+d0a0Yb3V57l0JM/gvHUcy8UFDNHnn9LwHaZvVw3BO9cOk+ wOU0WwkmXAbHdVA5Ful3JQRO8zAYIeWrB385spQR/j1s8xw5MSRGTUFacyqM6zwWUzpz eJf4LhMVNs+/VSBmrpHNuYkyaNEWnkJw6OFvbdBT/6YnLfDiiUj67PJ+a88xVIs5twxZ bj5qbUi0/GXU2SGMlQTTS1C9B32QiSg/IZPTGfi4D9aZpBV5Fb9Jzgs9lDk3VK+VL7rg Nm5Q== 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=+Zdmf7VAu5fTwx64XR13jEJyEdxIi288tWmQs3vjge8=; b=v4YNALI+4NBCLs6Vr3TMaXfr9dMh1HrG+uee94AZX7RI4hMotRk3lfMXm8YlqrX32F zMjgQa0yhH66+gWh7kdeuQuGRDdR62sPUd7xYGGmQr0zWwMjwzAVxbXTDMfq6zk9KCW7 W2Iq+3EZYzk46Ch55i+8JsWezV/zzn0/xzuUaacDYrzsgt+J5MxPSRxdo9Treb4x3h7V EdxSbIT/wKFH9EF0dYwEcJ03wFWy9xZsKtT+2C4b35Y/esradbpjAxxTtIkq6In0w3by zrw3c98Qp0VHpDrmdcMg5jZDBSSVa9SGAxqmKdn7ePI1/ucRvZbZ5N2M5UoWryyLIu5h YnCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PAgZLXzd; 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 r11si12634784pgm.30.2022.01.24.14.48.20; Mon, 24 Jan 2022 14:48:33 -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=PAgZLXzd; 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 S1838558AbiAXWqt (ORCPT + 99 others); Mon, 24 Jan 2022 17:46:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357691AbiAXVhM (ORCPT ); Mon, 24 Jan 2022 16:37:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE198C0BD119; Mon, 24 Jan 2022 12:23:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8B39661500; Mon, 24 Jan 2022 20:23:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F9F5C340E5; Mon, 24 Jan 2022 20:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643055793; bh=dkmUFr49CybcD04y+WFJD6jn5JBcCH1bqnANrKf9inE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PAgZLXzdSRPUQvCiJaQmptN+6LaVBFzZMGEIN8mM1RM3XUUa6dQiqbDPBxyxYLC9S 0vb6SxcfnDSZ18m+LYDmgHA/bsYxNP38nCUhi5ic69ES413AlF/gk/mqybpZJmpZy6 Otjohw0Q+gpfBLLIrBjWJvxEIjK7frt8R5Z/Mnnk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, rtl8821cerfe2 , Ping-Ke Shih , Kalle Valo , Sasha Levin Subject: [PATCH 5.15 268/846] rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC Date: Mon, 24 Jan 2022 19:36:25 +0100 Message-Id: <20220124184110.179156305@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@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: Ping-Ke Shih [ Upstream commit c81edb8dddaa36c4defa26240cc19127f147283f ] 8821CE causes random freezes on HP 250 G7 Notebook PC. Add a quirk to disable pci ASPM capability. Reported-by: rtl8821cerfe2 Signed-off-by: Ping-Ke Shih Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20211119052437.8671-1-pkshih@realtek.com Signed-off-by: Sasha Levin --- drivers/net/wireless/realtek/rtw88/pci.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c index a7a6ebfaa203c..3b367c9085eba 100644 --- a/drivers/net/wireless/realtek/rtw88/pci.c +++ b/drivers/net/wireless/realtek/rtw88/pci.c @@ -1738,6 +1738,15 @@ static const struct dmi_system_id rtw88_pci_quirks[] = { }, .driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM), }, + { + .callback = disable_pci_caps, + .ident = "HP HP 250 G7 Notebook PC", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G7 Notebook PC"), + }, + .driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM), + }, {} }; -- 2.34.1