diff options
author | Baochen Qiang <baochen.qiang@oss.qualcomm.com> | 2025-08-28 16:17:33 +0800 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2025-09-02 10:18:16 +0200 |
commit | 7e2368a21741e2db542330b32aa6fdd8908e7cff (patch) | |
tree | cbeb24cf811b58cd19cdb37fc8129433c28f7deb /scripts/kernel-doc.py | |
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
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions