On Thu, 12 Mar 2026 16:22:48 +0200 Ioana Ciornei wrote: > + stats->values_dma_mem = kcalloc(num_stats, sizeof(u64), GFP_KERNEL); > + if (!stats->values_dma_mem) > + goto err_alloc_values; > + > + cnt_idx = stats->idx_dma_mem; > + for (size_t i = 0; i < num_stats; i++) > + *cnt_idx++ = cpu_to_le32((u32)(counters[i].id)); > + > + stats->idx_iova = dma_map_single(dev, stats->idx_dma_mem, > + num_stats * sizeof(u32), > + DMA_TO_DEVICE); > + if (dma_mapping_error(dev, stats->idx_iova))
dma_alloc_noncoherent(), maybe ?

