commit | 7e2368a21741e2db542330b32aa6fdd8908e7cff | [log] [tgz] |
---|---|---|
author | Baochen Qiang <baochen.qiang@oss.qualcomm.com> | Thu Aug 28 16:17:33 2025 +0800 |
committer | Marek Szyprowski <m.szyprowski@samsung.com> | Tue Sep 02 10:18:16 2025 +0200 |
tree | cbeb24cf811b58cd19cdb37fc8129433c28f7deb | |
parent | 89a2d212bdb4bc29bed8e7077abe054b801137ea [diff] |
dma-debug: don't enforce dma mapping check on noncoherent allocations As discussed in [1], there is no need to enforce dma mapping check on noncoherent allocations, a simple test on the returned CPU address is good enough. Add a new pair of debug helpers and use them for noncoherent alloc/free to fix this issue. Fixes: efa70f2fdc84 ("dma-mapping: add a new dma_alloc_pages API") Link: https://lore.kernel.org/all/ff6c1fe6-820f-4e58-8395-df06aa91706c@oss.qualcomm.com # 1 Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20250828-dma-debug-fix-noncoherent-dma-check-v1-1-76e9be0dd7fc@oss.qualcomm.com