diff mbox series

[v3] rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx

Message ID 20210822194932.29630-1-Larry.Finger@lwfinger.net (mailing list archive)
State Accepted
Commit 1d4dcaf3db9bd073cebf709d081957068de88bdc
Delegated to: Kalle Valo
Headers show
Series [v3] rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx | expand

Commit Message

Larry Finger Aug. 22, 2021, 7:49 p.m. UTC
From: Ugo Rémery <ugo.remery@gmail.com>

    8821CE causes random freezes on HP Pavilion 14-ce0019nf. Add a quirk
    to disable pci ASPM capability.

Signed-off-by: =?UTF-8?q?Ugo=20R=C3=A9mery?= <ugo.remery@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---
v2 - add s-o-b line
v3 - added s-o-b line for =?UTF-8?q?Ugo=20R=C3=A9mery
---
 drivers/net/wireless/realtek/rtw88/pci.c | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Kalle Valo Aug. 29, 2021, 7:26 a.m. UTC | #1
Larry Finger <Larry.Finger@lwfinger.net> wrote:

> From: Ugo Rémery <ugo.remery@gmail.com>
> 
> 8821CE causes random freezes on HP Pavilion 14-ce0019nf. Add a quirk
> to disable pci ASPM capability.
> 
> Signed-off-by: Ugo Rémery <ugo.remery@gmail.com>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

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

1d4dcaf3db9b rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx
Kalle Valo Aug. 29, 2021, 8:15 a.m. UTC | #2
Larry Finger <Larry.Finger@lwfinger.net> writes:

> From: Ugo Rémery <ugo.remery@gmail.com>
>
>     8821CE causes random freezes on HP Pavilion 14-ce0019nf. Add a quirk
>     to disable pci ASPM capability.
>
> Signed-off-by: =?UTF-8?q?Ugo=20R=C3=A9mery?= <ugo.remery@gmail.com>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

I fixed the quoted printable before applying the patch.
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c
index e7d17ab8f113..31ee859d379b 100644
--- a/drivers/net/wireless/realtek/rtw88/pci.c
+++ b/drivers/net/wireless/realtek/rtw88/pci.c
@@ -1701,6 +1701,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 Pavilion Laptop 14-ce0xxx",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Laptop 14-ce0xxx"),
+		},
+		.driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM),
+	},
 	{}
 };