Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: "Marcel Weißenbach" <mweissenbach@ignaz.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>
Cc: "regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: RTL8852BE wifi no longer working after 6.11 upgrade
Date: Wed, 18 Sep 2024 06:02:29 +0000	[thread overview]
Message-ID: <f755bbeb5bbb479f9142bf223e71102c@realtek.com> (raw)
In-Reply-To: <20240917055730.Horde.pVyI-XF1MRA_zUQ5BDJZ4lC@ignaz.org>

Marcel Weißenbach <mweissenbach@ignaz.org> wrote:
> 
> Hi there,
> 
> i upgraded my Archlinux testing setup from 6.10.9 to 6.11 and noticed that my wifi is no longer working.

Checking the commits between 6.10.9 and 6.11, I feel the cause is
  1fd4b3fe52ef ("wifi: rtw89: pci: support 36-bit PCI DMA address")

Seemingly there is 36-bit PCI DMA interoperability on RTL8852BE.
Could you please try below to comment out the function? 

diff --git a/drivers/net/wireless/realtek/rtw89/pci.c b/drivers/net/wireless/realtek/rtw89/pci.c
index 02afeb3acce4..039fc329c6f7 100644
--- a/drivers/net/wireless/realtek/rtw89/pci.c
+++ b/drivers/net/wireless/realtek/rtw89/pci.c
@@ -3061,7 +3061,7 @@ static int rtw89_pci_setup_mapping(struct rtw89_dev *rtwdev,
                goto err;
        }

-       ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36));
+       ret = -1;//dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36));
        if (!ret) {
                rtwpci->enable_dac = true;
                rtw89_pci_cfg_dac(rtwdev);


If this helps, please provide your DMI info by 'sudo dmidecode'. I will build
a quirk table for it since I don't know what the exact settings affect this.



  reply	other threads:[~2024-09-18  6:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-17  5:57 RTL8852BE wifi no longer working after 6.11 upgrade Marcel Weißenbach
2024-09-18  6:02 ` Ping-Ke Shih [this message]
2024-09-18  7:32   ` Marcel Weißenbach
2024-09-18  9:00     ` Ping-Ke Shih
2024-09-18 11:47       ` Marcel Weißenbach
2024-09-19  0:21         ` Ping-Ke Shih
2024-09-24  2:29         ` Ping-Ke Shih
2024-09-27  1:20           ` Marcel Weißenbach

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=f755bbeb5bbb479f9142bf223e71102c@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mweissenbach@ignaz.org \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /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