mac80211: ath11k: Fix DMA buffer allocation to resolve SWIOTLB issues
authorTim Harvey <[email protected]>
Mon, 27 Jan 2025 22:44:27 +0000 (14:44 -0800)
committerRobert Marko <[email protected]>
Tue, 1 Apr 2025 09:04:26 +0000 (11:04 +0200)
commitfa50e53aa92e4db9dfe091e7dd55c3fc2024ad13
treeacd3391e2c4a227cd382a1b121cd56ef424b5292
parentf169c57242076795579ba1741045adb8eb96baa5
mac80211: ath11k: Fix DMA buffer allocation to resolve SWIOTLB issues

Backport two commits to resolve issues with ath1kk causing it to fail
driver registration on iommuless systems with DRAM outside of 32bit
addressing such as a 4GiB imx8mm:

commit 1bcd20981834 ("wifi: ath11k: Fix DMA buffer allocation
to resolve SWIOTLB issues")
commit eeadc6baf8b3 ("wifi: ath11k: Use dma_alloc_noncoherent
for rx_tid buffer allocation")

Signed-off-by: Tim Harvey <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17751
Signed-off-by: Robert Marko <[email protected]>
package/kernel/mac80211/patches/ath11k/001-wifi-ath11k-Fix-DMA-buffer-allocation-to-resolve-SWIOTLB-issues.patch [new file with mode: 0644]
package/kernel/mac80211/patches/ath11k/002-wifi-ath11k-use-dma-alloc-noncoherent-for-rx-tid-buffer-allocation.patch [new file with mode: 0644]