summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-17 07:27:16 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-06-06 18:46:29 +0300
commit44589c155e6f4531100ddd3b6478190edd075035 (patch)
treeb55e3d405b3c8b1f3d9379baab1ef6c92166a963 /tools/lib/python
parent6a03ff9d5765ab701c12c9fc781fa6de171e1a2e (diff)
downloadlinux-44589c155e6f4531100ddd3b6478190edd075035.tar.xz
wifi: ath9k: Clear DMA descriptors without memset
Clear ath9k DMA descriptors with explicit status word stores instead of memset(). The descriptor rings are coherent DMA memory, which may be mapped uncached on 32-bit powerpc. The optimized memset() path can use dcbz there and trigger an alignment warning. Use WRITE_ONCE() for the descriptor status words so the compiler keeps the clears as ordinary stores instead of folding them back into bulk memset(). This covers AR9003 TX status descriptors as well as the RX status area cleared when setting up RX descriptors. Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev <rosenp@gmail.com> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> Link: https://patch.msgid.link/20260517042716.2218386-1-rosenp@gmail.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions