]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: pci: early chips only enable 36-bit DMA on specific PCI hosts
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 24 Sep 2024 02:16:33 +0000 (10:16 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 17 Oct 2024 14:23:15 +0000 (17:23 +0300)
commitaa70ff0945fea2ed14046273609d04725f222616
treee67675352b1de083aed7686245415f4413ffdbcc
parent52009b419355195912a628d0a9847922e90c348c
wifi: rtw89: pci: early chips only enable 36-bit DMA on specific PCI hosts

The early chips including RTL8852A, RTL8851B, RTL8852B and RTL8852BT have
interoperability problems of 36-bit DMA with some PCI hosts. Rollback
to 32-bit DMA by default, and only enable 36-bit DMA for tested platforms.

Since all Intel platforms we have can work correctly, add the vendor ID to
white list. Otherwise, list vendor/device ID of bridge we have tested.

Fixes: 1fd4b3fe52ef ("wifi: rtw89: pci: support 36-bit PCI DMA address")
Reported-by: Marcel Weißenbach <mweissenbach@ignaz.org>
Closes: https://lore.kernel.org/linux-wireless/20240918073237.Horde.VLueh0_KaiDw-9asEEcdM84@ignaz.org/T/#m07c5694df1acb173a42e1a0bab7ac22bd231a2b8
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Marcel Weißenbach <mweissenbach@ignaz.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240924021633.19861-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c