* [PATCH] wifi: rtw88: disable ASPM for Lenovo IdeaPad S340-14IWL
@ 2026-08-20 10:16 Ata İlhan Köktürk
2026-08-21 2:54 ` Ping-Ke Shih
0 siblings, 1 reply; 2+ messages in thread
From: Ata İlhan Köktürk @ 2026-08-20 10:16 UTC (permalink / raw)
To: pkshih; +Cc: linux-wireless, linux-kernel, Ata İlhan Köktürk
The Lenovo IdeaPad S340-14IWL (DMI product name "81N4") experiences
severe connectivity issues with the rtw88 PCIe wireless card when
ASPM is enabled. Reported symptoms include frequent disconnections,
kernel panics, and the driver failing to load.
The issue can be worked around by either adding pci=noaspm to the
kernel command line or by reloading the driver via modprobe. Add a
DMI quirk to disable ASPM automatically for this device.
Signed-off-by: Ata İlhan Köktürk <atailhan2006@gmail.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 a30467228..9df8954d8 100644
--- a/drivers/net/wireless/realtek/rtw88/pci.c
+++ b/drivers/net/wireless/realtek/rtw88/pci.c
@@ -1779,6 +1779,15 @@ static const struct dmi_system_id rtw_pci_quirks[] = {
.driver_data = (void *)(BIT(QUIRK_DIS_CAP_PCI_ASPM) |
BIT(QUIRK_DIS_CAP_LPS_DEEP)),
},
+ {
+ .callback = rtw_pci_disable_caps,
+ .ident = "Lenovo IdeaPad S340-14IWL",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "81N4"),
+ },
+ .driver_data = (void *)(BIT(QUIRK_DIS_CAP_PCI_ASPM)),
+ },
{}
};
--
2.55.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] wifi: rtw88: disable ASPM for Lenovo IdeaPad S340-14IWL
2026-08-20 10:16 [PATCH] wifi: rtw88: disable ASPM for Lenovo IdeaPad S340-14IWL Ata İlhan Köktürk
@ 2026-08-21 2:54 ` Ping-Ke Shih
0 siblings, 0 replies; 2+ messages in thread
From: Ping-Ke Shih @ 2026-08-21 2:54 UTC (permalink / raw)
To: Ata İlhan Köktürk
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Ata İlhan Köktürk <atailhan2006@gmail.com> wrote:
> The Lenovo IdeaPad S340-14IWL (DMI product name "81N4") experiences
> severe connectivity issues with the rtw88 PCIe wireless card when
> ASPM is enabled. Reported symptoms include frequent disconnections,
> kernel panics, and the driver failing to load.
>
> The issue can be worked around by either adding pci=noaspm to the
> kernel command line or by reloading the driver via modprobe. Add a
> DMI quirk to disable ASPM automatically for this device.
>
> Signed-off-by: Ata İlhan Köktürk <atailhan2006@gmail.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 a30467228..9df8954d8 100644
> --- a/drivers/net/wireless/realtek/rtw88/pci.c
> +++ b/drivers/net/wireless/realtek/rtw88/pci.c
> @@ -1779,6 +1779,15 @@ static const struct dmi_system_id rtw_pci_quirks[] = {
> .driver_data = (void *)(BIT(QUIRK_DIS_CAP_PCI_ASPM) |
> BIT(QUIRK_DIS_CAP_LPS_DEEP)),
> },
> + {
> + .callback = rtw_pci_disable_caps,
> + .ident = "Lenovo IdeaPad S340-14IWL",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "81N4"),
> + },
> + .driver_data = (void *)(BIT(QUIRK_DIS_CAP_PCI_ASPM)),
Remove redundant parenthesis.
.driver_data = (void *)BIT(QUIRK_DIS_CAP_PCI_ASPM),
> + },
> {}
> };
>
> --
> 2.55.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-21 2:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 10:16 [PATCH] wifi: rtw88: disable ASPM for Lenovo IdeaPad S340-14IWL Ata İlhan Köktürk
2026-08-21 2:54 ` Ping-Ke Shih
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox