Thread (8 messages) flat view 8 messages, 4 authors, 12d ago

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
Also in: linux-mediatek, netdev

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help