Linux wireless drivers development
 help / color / mirror / Atom feed
From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
To: "Ata İlhan Köktürk" <atailhan2006@gmail.com>, pkshih@realtek.com
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wifi: rtw88: disable ASPM for Lenovo IdeaPad S340-14IWL
Date: Fri, 21 Aug 2026 23:33:35 +0300	[thread overview]
Message-ID: <d51a0fe2-418f-418d-8ca7-9efc4844568c@gmail.com> (raw)
In-Reply-To: <20260820101642.35003-1-atailhan2006@gmail.com>

On 20/08/2026 13:16, Ata İlhan Köktürk 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)),
> +	},
>  	{}
>  };
>  

By the way, what wifi chip do you have? It would be good to mention
that in the summary.

      parent reply	other threads:[~2026-08-21 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2026-08-21 20:33 ` Bitterblue Smith [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d51a0fe2-418f-418d-8ca7-9efc4844568c@gmail.com \
    --to=rtl8821cerfe2@gmail.com \
    --cc=atailhan2006@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox