Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3628677pxb; Mon, 24 Jan 2022 13:54:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJztcI6/wQEDM05fy53VQ2WrfQPasVe94yaNIPT1C7R+vo3vHlfonXrqONgh689gSoFExzs3 X-Received: by 2002:a17:90a:d913:: with SMTP id c19mr325997pjv.72.1643061275559; Mon, 24 Jan 2022 13:54:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643061275; cv=none; d=google.com; s=arc-20160816; b=WYMEPuJTpZqo3BqkW+Ghu5Tsb4H3OL8DSlRFcmqui4+XJn0Z+rvEuFXvq+t2zrPZOi giX2MOrSOeU0vvPEAsOajoj3uXJGUFuGEZkVnjcKiIcxBcq0w46Y67GDg5aBUYH33pxn ZKTJN708pOJzHkVDhFZCpL65rsbA8cRY4lxoOvmqn940rf2fgGYYzs0O4hMpvsApIsf0 9rU2aEqmubU56B3+k5hE2TIyg0IRopUax92tHIGLy/JeY+HeSr06F6JJT8rHasGN4qSC w4M7tN/v+FG7w8oiqcwRlGXSprsAWbgDbOTKCdqf1/IqMmJMCz33kgmTrc5Wi6ScUjRB LPGg== 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=cbPZC3qtXINYv8g2aGf+8tG0CvOapHSt9+D/ZXFhQKjUNVNI5c7ADUHC/WDW3BKDZx dXHsAORqke+UKDl9Hy7PMXAF910yBAk+mngMr1CcEl9eFX/wt5tDj9jqdqmNiJUyIvAX gbnq++fQ1l8Lxbsk1rwnNeh1RJXZwskwgpB1oJhX1PLQOF01p1b38e12KSBOEuQjkO+N xcuUMiP6yQFFy/IF4r48Nipa28+OVo5itN20jDXaT3jaYWFaAhkv8sxJEIrgRYbIAnir x1DvGl5Lh9IoaiKMpFrfIONLHW/fyLB4CeCLXXdQsmUS4J+mMJd9eiayWzjeyXUdsa1P 4FCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RCpZ5CfA; 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 b6si405183pjw.154.2022.01.24.13.54.20; Mon, 24 Jan 2022 13:54:35 -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=RCpZ5CfA; 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 S1572947AbiAXVmw (ORCPT + 99 others); Mon, 24 Jan 2022 16:42:52 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:33206 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1446705AbiAXVJP (ORCPT ); Mon, 24 Jan 2022 16:09:15 -0500 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 D166260C60; Mon, 24 Jan 2022 21:09:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B21BDC340E5; Mon, 24 Jan 2022 21:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643058550; bh=dkmUFr49CybcD04y+WFJD6jn5JBcCH1bqnANrKf9inE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RCpZ5CfA0Fke7t0Ks5OITq5h2IGaabkXH1MfPuSUtj5RlBjwxu+yqRJSMM08bKDzi 4vBwDqecNSDnxChvTByt23/hH48CTV61rgh9RS6LZmSeCfcxQfsGZAtZpB5WZIO2er nImewV3xTNUfoGn/iFPukHaE6nJRav4EwktHOV3U= 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.16 0325/1039] rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC Date: Mon, 24 Jan 2022 19:35:14 +0100 Message-Id: <20220124184136.231934879@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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