- 使用dmatest modele
1.How to build the test module
The menuconfig contains an option that could be found by following path:
Device Drivers -> DMA Engine support -> DMA Test client
In the configuration file the option called CONFIG_DMATEST. The dmatest could be built as module or inside kernel.
2.Debug
- drivers/dma/dmatest.c
- Documentation/dmaengine/dmatest.txt
refer to
- https://www.kernel.org/doc/html/v4.15/driver-api/dmaengine/dmatest.html