# Re: \[PATCH v10 1/2\] net: airoha: npu: fix missing streaming DMA mask

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2026-08-27 15:38:16 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/08/17470517
- Thread: https://ratatoskr.run/netdev/2026/08/17437451/t.md

```text
On Thu, 20 Aug 2026 10:59:40 +0200 Daniel Pawlik wrote:
> The driver calls dma_set_coherent_mask() but never dma_set_mask(),
> leaving the streaming DMA mask at the bus default. On the non-coherent
> EN7581 platform (Cortex-A53), this causes the NPU mailbox to hang
> after approximately 41 calls when using streaming DMA mappings.
> 
> Replace dma_set_coherent_mask() with dma_set_mask_and_coherent() to
> set both the streaming and coherent DMA masks, matching standard
> driver practice.

I'm going to take this in as it's uncontroversial and obviously correct.
Hopefully we hear something to understand the second one better before
merging.
```
