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]>
Wed, 2 Apr 2025 08:23:27 +0000 (10:23 +0200)
commitba6627394346624be19962cc68121dee493f86d3
tree8e25b779c9547cf7616441e8ea27c3950ee9f938
parent53ab5629c31f3c7ca58cb48518d530c660ee0023
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]>
(cherry picked from commit fa50e53aa92e4db9dfe091e7dd55c3fc2024ad13)
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]