Lines Matching full:test
2 DMA Test Guide
7 This small document introduces how to test DMA drivers using dmatest module.
10 The test suite works only on the channels that have at least one
18 Part 1 - How to build the test module
23 Device Drivers -> DMA Engine support -> DMA Test client
47 Example of multi-channel test usage (new in the 5.0 kernel)::
76 Note that running a new test will not stop any in progress test.
78 The following command returns the state of the test. ::
82 To wait for test completion userpace can poll 'run' until it is false, or use
84 initialization to pause until a test run has completed, while reading
85 /sys/module/dmatest/parameters/wait waits for any running test to complete
105 for the first performed test. After user gets a control, the test could be
109 In both cases the module parameters are used as the actual values for the test
114 Part 4 - Gathering the test results
117 Test results are printed to the kernel log buffer with the format::
119 …"dmatest: result <channel>: <test id>: '<error msg>' with src_off=<val> dst_off=<val> len=<val> (<…
128 code, error counter, or status. A test thread also emits a summary line at
135 dmatest: dma0chan0-copy0: summary 1 test, 0 failures 1000 iops 100000 KB/s (0)
146 Channels do not need to be configured prior to starting a test run. Attempting
147 to run the test without configuring the channels will result in testing any
156 name, once requested, the channel is registered and a pending thread is added to the test list.
189 At any point during the test configuration, reading the "test_list" parameter will
203 Note: Channels will have to be configured for each test run as channel configurations do not
204 carry across to the next test run.
221 Channels allocated by previous test runs are automatically freed when a new
222 channel is requested after completing a successful test run.