[PATCH net] net: airoha: Fix DMA direction for NPU mailbox buffer
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Tue Jul 21 03:30:14 PDT 2026
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Wed, 8 Jul 2026 19:35:29 +0800 you wrote:
> airoha_npu_send_msg() always maps the mailbox buffer with DMA_TO_DEVICE,
> but some callers expect the NPU to write response data back into the
> same buffer:
>
> - airoha_npu_wlan_msg_get() (NPU_OP_GET): NPU writes response into
> the buffer, then the caller reads it via memcpy()
> - airoha_npu_ppe_stats_setup() (NPU_OP_SET): NPU writes back
> npu_stats_addr field in the response
>
> [...]
Here is the summary with links:
- [net] net: airoha: Fix DMA direction for NPU mailbox buffer
https://git.kernel.org/netdev/net/c/6f884eb87a79
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the Linux-mediatek
mailing list