aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAnumula Murali Mohan Reddy <[email protected]>2024-07-16 19:55:32 +0530
committerLeon Romanovsky <[email protected]>2024-07-29 11:41:16 +0300
commit75ab1533d79b046152d424ffe947f79f9d15682c (patch)
tree7722822a6bc89af6bd6cc2c4ce3bc7416388eb78 /tools/perf/scripts/python/bin
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
RDMA/cxgb4: use dma_mmap_coherent() for mapping non-contiguous memory
dma_alloc_coherent() allocates contiguous memory irrespective of iommu mode, but after commit f5ff79fddf0e ("dma-mapping: remove CONFIG_DMA_REMAP") if iommu is enabled in translate mode, dma_alloc_coherent() may allocate non-contiguous memory. Attempt to map this memory results in panic. This patch fixes the issue by using dma_mmap_coherent() to map each page to user space. Signed-off-by: Anumula Murali Mohan Reddy <[email protected]> Signed-off-by: Potnuri Bharat Teja <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions