]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/dma: move dma_map_benchmark from selftests to tools/dma
authorQinxin Xia <xiaqinxin@huawei.com>
Tue, 28 Oct 2025 12:09:00 +0000 (20:09 +0800)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 29 Oct 2025 08:41:40 +0000 (09:41 +0100)
commitf74ee32963f1b74865fe679e2475450434fea51c
tree30031dc2aac1302f1610952563a862061245259f
parent23ee8a2563a0f24cf4964685ced23c32be444ab8
tools/dma: move dma_map_benchmark from selftests to tools/dma

dma_map_benchmark is a standalone developer tool rather than an
automated selftest. It has no pass/fail criteria, expects manual
invocation, and is built as a normal userspace binary. Move it to
tools/dma/ and add a minimal Makefile.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Suggested-by: Barry Song <baohua@kernel.org>
Signed-off-by: Qinxin Xia <xiaqinxin@huawei.com>
Acked-by: Barry Song <baohua@kernel.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20251028120900.2265511-3-xiaqinxin@huawei.com
include/uapi/linux/map_benchmark.h [moved from include/linux/map_benchmark.h with 80% similarity]
kernel/dma/map_benchmark.c
tools/Makefile
tools/dma/.gitignore [new file with mode: 0644]
tools/dma/Makefile [new file with mode: 0644]
tools/dma/config [moved from tools/testing/selftests/dma/config with 100% similarity]
tools/dma/dma_map_benchmark.c [moved from tools/testing/selftests/dma/dma_map_benchmark.c with 99% similarity]
tools/testing/selftests/dma/Makefile [deleted file]