mirror of
https://github.com/openwrt/openwrt.git
synced 2026-07-19 22:51:49 +04:00
e4c35c2eec
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>