linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC
@ 2021-11-19  5:24 Ping-Ke Shih
  2021-11-26 16:20 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Ping-Ke Shih @ 2021-11-19  5:24 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, rtl8821cerfe2

8821CE causes random freezes on HP 250 G7 Notebook PC. Add a quirk
to disable pci ASPM capability.

Reported-by: rtl8821cerfe2 <rtl8821cerfe2@protonmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 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.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC
  2021-11-19  5:24 [PATCH] rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC Ping-Ke Shih
@ 2021-11-26 16:20 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2021-11-26 16:20 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: linux-wireless, rtl8821cerfe2

Ping-Ke Shih <pkshih@realtek.com> wrote:

> 8821CE causes random freezes on HP 250 G7 Notebook PC. Add a quirk
> to disable pci ASPM capability.
> 
> Reported-by: rtl8821cerfe2 <rtl8821cerfe2@protonmail.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

Patch applied to wireless-drivers-next.git, thanks.

c81edb8dddaa rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20211119052437.8671-1-pkshih@realtek.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-26 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19  5:24 [PATCH] rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC Ping-Ke Shih
2021-11-26 16:20 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).