]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mac80211: backport ath9k memset fixes from upstream 23776/head
authorRosen Penev <rosenp@gmail.com>
Sat, 13 Jun 2026 18:30:18 +0000 (11:30 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 15 Jun 2026 08:00:38 +0000 (10:00 +0200)
commite4c35c2eec665f3f74a2b2f587fd2a1324b31841
tree4653e230d97098efcfd2cb83e5c1a5e3c0026aac
parentebbe3a08a7d3da64c9c4810b1e300149701814a3
mac80211: backport ath9k memset fixes from upstream

Backport two upstream commits that replace memset() on coherent DMA
descriptor rings with explicit WRITE_ONCE() status word stores.

On 32-bit PowerPC platforms like apm821xx, coherent DMA memory may be
mapped uncached. The optimized memset() path can use dcbz there, which
triggers alignment warnings and spams the kernel log.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23776
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
package/kernel/mac80211/patches/ath9k/600-wifi-ath9k-Clear-DMA-descriptors-without-memset.patch [new file with mode: 0644]
package/kernel/mac80211/patches/ath9k/601-wifi-ath9k-remove-TX99-power-array-zero-init.patch [new file with mode: 0644]