Hi expert:
We use TDA4 Linux SDK 0802.
we test dmatest according to /Documentation/driver-api/dmaengine/dmatest.rst, but there are some errors when request channels.
We add some debug log in dmatest.c as follows.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi expert:
We use TDA4 Linux SDK 0802.
we test dmatest according to /Documentation/driver-api/dmaengine/dmatest.rst, but there are some errors when request channels.
We add some debug log in dmatest.c as follows.
Hi Zhao,
Can you share the complete logs as a text file attachment please? Also is the intent just to test dma or enable a new dma channel for a peripheral?
- Keerthy
Hi,
The log states that you are requesting channels that are already in use. Take a look at /sys/kernel/debug/dma and see which are already in use and request something that's not already in use.
Best Regards,
Keerthy
Hi,
I use dma1chan7 can set, but it seems that there are no more channels available when request channel fot type DMA_MEMCPY.
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
ary @j7-evm:/sys/module/dmatest/parameters# cat /sys/kernel/debug/dmaengine/summa
dma0 (285c0000.dma-controller): number of channels: 26
dma1 (31150000.dma-controller): number of channels: 84
dma1chan0 | in-use (MEM_TO_MEM, chan0 pair [0x1000 -> 0x9000], PSI-L Native, TR mode)
dma1chan1 | in-use (MEM_TO_MEM, chan1 pair [0x1001 -> 0x9001], PSI-L Native, TR mode)
dma1chan2 | 2ba0000.mcasp:tx (MEM_TO_DEV, tchan16 [0x1010 -> 0xc507], PDMA[ ACC32 BURST ], TR mode)
dma1chan3 | 2ba0000.mcasp:rx (DEV_TO_MEM, rchan16 [0x4507 -> 0x9010], PDMA[ ACC32 BURST ], TR mode)
dma1chan4 | 4e00000.crypto:rx1 (DEV_TO_MEM, rchan17 [0x4000 -> 0x9011], PSI-L Native[ EPIB PSDsize:64 ], Packet mode)
dma1chan5 | 4e00000.crypto:rx2 (DEV_TO_MEM, rchan18 [0x4001 -> 0x9012], PSI-L Native[ EPIB PSDsize:64 ], Packet mode)
dma1chan6 | 4e00000.crypto:tx (MEM_TO_DEV, tchan17 [0x1011 -> 0xc000], PSI-L Native[ EPIB PSDsize:64 ], Packet mode)
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > iterations
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan0 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# cd /sys/kernel/debug/dmaengine
root@j7-evm:/sys/kernel/debug/dmaengine#
root@j7-evm:/sys/kernel/debug/dmaengine# ls
285c0000.dma-controller 31150000.dma-controller summary
root@j7-evm:/sys/kernel/debug/dmaengine# cd ..
root@j7-evm:/sys/kernel/debug#
root@j7-evm:/sys/kernel/debug# ls
46000000.ethernet mmc0
asoc mtd
bdi opp
block pinctrl
cec pm_genpd
clear_warn_once pvr
clk pwm
debug_enabled ras
devfreq regmap
device_component regulator
devices_deferred remoteproc
dma_buf sched_debug
dma_pools sched_features
dmaengine sleep_time
dri split_huge_pages
energy_model suspend_stats
extfrag swiotlb
fault_around_bytes ti_sci_debug@44083000.dmsc
gpio ubi
hid ubifs
iio usb
interconnect virtio-ports
megaraid_sas wakeup_sources
memblock
root@j7-evm:/sys/kernel/debug# cd dma_pools/
root@j7-evm:/sys/kernel/debug/dma_pools# ls
pool_size_dma pool_size_dma32 pool_size_kernel
root@j7-evm:/sys/kernel/debug/dma_pools# find .
.
./pool_size_kernel
./pool_size_dma32
./pool_size_dma
root@j7-evm:/sys/kernel/debug/dma_pools#
root@j7-evm:/sys/kernel/debug/dma_pools# cat pool_size_kernel
262144
root@j7-evm:/sys/kernel/debug/dma_pools# cat pool_size_dma
262144
root@j7-evm:/sys/kernel/debug/dma_pools# cat pool_size_dma32
262144
root@j7-evm:/sys/kernel/debug/dma_pools#
root@j7-evm:/sys/kernel/debug/dma_pools#
root@j7-evm:/sys/kernel/debug/dma_pools#
root@j7-evm:/sys/kernel/debug/dma_pools# cd ../dma
dma_buf/ dma_pools/ dmaengine/
root@j7-evm:/sys/kernel/debug/dma_pools# cd ../dma_buf/
root@j7-evm:/sys/kernel/debug/dma_buf# ls
bufinfo
root@j7-evm:/sys/kernel/debug/dma_buf# cat bufinfo
Dma-buf Objects:
size flags mode count exp_name ino
04915200 00000002 00080007 00000003 carveout_heap 00020242
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020241
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020240
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020239
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020238
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020237
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020236
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020235
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020234
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020233
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020232
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020231
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020230
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020229
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020228
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020227
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020225
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020224
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020217
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020216
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020215
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020214
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020213
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020212
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020211
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020210
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020209
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020208
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020207
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020206
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020205
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020204
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020203
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020202
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020201
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020200
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020199
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020198
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020197
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020196
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020195
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020194
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020193
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020192
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020191
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020190
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020189
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020188
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020187
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020186
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020185
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020184
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020183
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020182
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020181
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020180
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020179
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020178
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020177
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020176
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020175
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020174
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020173
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020172
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020171
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020170
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020169
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020168
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020167
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020166
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020165
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020164
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020163
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020162
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020161
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020160
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020159
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020158
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020157
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020156
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020155
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020154
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020153
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020152
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020151
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020150
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020149
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020148
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020147
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020146
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020145
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020144
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020143
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020142
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020141
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020140
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020139
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020138
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020137
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020136
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020135
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020134
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020133
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020132
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020131
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020130
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020129
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020128
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020127
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020126
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020125
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020124
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020123
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020122
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020121
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020120
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020119
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020118
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020117
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020116
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020115
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020114
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020113
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020112
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020111
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020110
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020109
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020108
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020107
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020106
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020105
Attached Devices:
dma_buf_phys
Total 1 devices attached
00851968 00000002 00080007 00000003 carveout_heap 00020104
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020103
Attached Devices:
dma_buf_phys
Total 1 devices attached
00589824 00000002 00080007 00000003 carveout_heap 00020102
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020101
Attached Devices:
dma_buf_phys
Total 1 devices attached
00262144 00000002 00080007 00000003 carveout_heap 00020100
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020099
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020098
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020097
Attached Devices:
dma_buf_phys
Total 1 devices attached
00327680 00000002 00080007 00000003 carveout_heap 00020096
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020095
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020094
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020093
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020092
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020091
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020090
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020089
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020088
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020087
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020086
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020085
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020084
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020083
Attached Devices:
dma_buf_phys
Total 1 devices attached
00131072 00000002 00080007 00000003 carveout_heap 00020082
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020081
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020080
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020079
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020078
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020077
Attached Devices:
dma_buf_phys
Total 1 devices attached
02490368 00000002 00080007 00000003 carveout_heap 00020076
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020075
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020074
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020073
Attached Devices:
dma_buf_phys
Total 1 devices attached
00786432 00000002 00080007 00000003 carveout_heap 00020072
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020071
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020070
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020069
Attached Devices:
dma_buf_phys
Total 1 devices attached
04915200 00000002 00080007 00000003 carveout_heap 00020068
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020067
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020066
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020065
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020064
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020063
Attached Devices:
dma_buf_phys
Total 1 devices attached
02097152 00000002 00080007 00000003 carveout_heap 00020062
Attached Devices:
dma_buf_phys
Total 1 devices attached
02097152 00000002 00080007 00000003 carveout_heap 00020061
Attached Devices:
dma_buf_phys
Total 1 devices attached
02097152 00000002 00080007 00000003 carveout_heap 00020060
Attached Devices:
dma_buf_phys
Total 1 devices attached
02097152 00000002 00080007 00000003 carveout_heap 00020059
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020058
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020057
Attached Devices:
dma_buf_phys
Total 1 devices attached
00196608 00000002 00080007 00000003 carveout_heap 00020056
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020054
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020053
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00020051
Attached Devices:
dma_buf_phys
Total 1 devices attached
18546688 00000002 00080007 00000003 carveout_heap 00022984
Attached Devices:
dma_buf_phys
Total 1 devices attached
00065536 00000002 00080007 00000003 carveout_heap 00022956
Attached Devices:
dma_buf_phys
Total 1 devices attached
Total 185 objects, 205455360 bytes
root@j7-evm:/sys/kernel/debug/dma_buf#
root@j7-evm:/sys/kernel/debug/dma_buf# ^C
root@j7-evm:/sys/kernel/debug/dma_buf# cd /sys/module/dmatest/
holders/ notes/ parameters/ sections/
root@j7-evm:/sys/kernel/debug/dma_buf# cd /sys/module/dmatest
root@j7-evm:/sys/module/dmatest#
root@j7-evm:/sys/module/dmatest# ls
coresize initsize notes refcnt srcversion uevent
holders initstate parameters sections taint
root@j7-evm:/sys/module/dmatest# cd ..
root@j7-evm:/sys/module# ls
8021q keyboard snd_timer
8250 llc spurious
8250_core lockd srcutree
arm_smc_wdt loop stp
arm_smmu megaraid_sas sunrpc
arm_smmu_v3 mmcblk sysrq
armmmci mrp tc358767
auth_rpcgss nfs tcp_cubic
authenc nfs_layout_flexfiles tee
blk_cgroup nfs_layout_nfsv41_files ti_j721e_cpsw_virt_mac
block nfsv4 ti_k3_dsp_remoteproc
bq27xxx_battery omap_mailbox ti_k3_r5_remoteproc
brd omap_rng tpm
can optee tpm_i2c_infineon
cdns3 pci_hotplug ubi
cdns3_ti pcie_aspm ubifs
cdns_dphy phy_xgene udc_core
cdns_pltfrm printk ufshcd_core
cec pru_rproc ufshcd_pltfrm
configfs pruss usb_common
cpufreq psmouse usbcore
crc_t10dif pvrsrvkm v4l2_mem2mem
crct10dif_ce random vfio
cros_ec_dev rcupdate vfio_iommu_type1
cryptodev rcutree vfio_pci
cryptomgr rng_core vfio_virqfd
dmatest roles videobuf2_common
dns_resolver rpmsg_char videobuf2_dma_contig
drm rpmsg_kdrv_switch videobuf2_dma_sg
drm_kms_helper rti_wdt videobuf2_memops
dvb_core sa2ul videobuf2_v4l2
edac_core sbsa_gwdt virtio_blk
fb sch_fq_codel virtio_net
firmware_class scsi_mod virtio_pci
fuse sdhci virtio_rpmsg_bus
garp sha512_generic vt
hdma sky2 vxd_dec
hdma_mgmt smc91x vxe_enc
hid smsc911x watchdog
i2c_algo_bit snd workqueue
icss_iep snd_pcm xhci_hcd
ipv6 snd_soc_j721e_evm xhci_plat_hcd
irq_pruss_intc snd_soc_pcm3168a xz_dec
kernel snd_soc_pcm3168a_i2c
root@j7-evm:/sys/module# cd dmatest/
root@j7-evm:/sys/module/dmatest# ls
coresize initsize notes refcnt srcversion uevent
holders initstate parameters sections taint
root@j7-evm:/sys/module/dmatest# cd sections/
root@j7-evm:/sys/module/dmatest/sections# ls
__bug_table __jump_table __param
root@j7-evm:/sys/module/dmatest/sections# cd ..
root@j7-evm:/sys/module/dmatest# ls
coresize initsize notes refcnt srcversion uevent
holders initstate parameters sections taint
root@j7-evm:/sys/module/dmatest# cd parameters/
root@j7-evm:/sys/module/dmatest/parameters# ls
alignment max_channels run transfer_size
channel norandom test_buf_size verbose
device noverify test_list wait
dmatest polled threads_per_chan xor_sources
iterations pq_sources timeout
root@j7-evm:/sys/module/dmatest/parameters# cat test_
cat: can't open 'test_': No such file or directory
root@j7-evm:/sys/module/dmatest/parameters# cat test_list
root@j7-evm:/sys/module/dmatest/parameters# cat channel
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan0 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan1 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan2 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan3 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan4 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan5 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan6 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan7 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan8 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan9 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan99 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan999 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma0chan9999 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan0 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan1 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan2 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan3 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan4 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan5 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan6 > channel
-sh: echo: write error: Device or resource busy
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan7 > channel
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > run
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# cat run
N
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > run
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > run
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > run
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# ls -l /^C
root@j7-evm:/sys/module/dmatest/parameters# ^C
root@j7-evm:/sys/module/dmatest/parameters# cat channel
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan7 > channel
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > run
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan8 > channel
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan9 > channel
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan10 > channel
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan11 > channel
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan12 > channel
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan13 > channel
root@j7-evm:/sys/module/dmatest/parameters# echo dma1chan14 > channel
root@j7-evm:/sys/module/dmatest/parameters# cat channel
dma1chan14
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters#
root@j7-evm:/sys/module/dmatest/parameters# echo 1 > run
root@j7-evm:/sys/module/dmatest/parameters#
2020-12-16T15:15:35.414514+00:00 j7-evm kernel: [ 1132.100438] dmatest: [dmatest] dmatest_init 2020-12-16T15:16:39.650502+00:00 j7-evm kernel: [ 1196.336106] dmatest: [dmatest] start channel set 2020-12-16T15:16:39.650525+00:00 j7-evm kernel: [ 1196.336148] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:16:39.650529+00:00 j7-evm kernel: [ 1196.336151] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:16:39.650532+00:00 j7-evm kernel: [ 1196.336153] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:16:39.650533+00:00 j7-evm kernel: [ 1196.336156] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:06.882533+00:00 j7-evm kernel: [ 1763.568097] dmatest: [dmatest] start channel set 2020-12-16T15:26:06.882556+00:00 j7-evm kernel: [ 1763.568137] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:06.882559+00:00 j7-evm kernel: [ 1763.568140] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:06.882561+00:00 j7-evm kernel: [ 1763.568142] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:06.882562+00:00 j7-evm kernel: [ 1763.568144] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:12.706503+00:00 j7-evm kernel: [ 1769.392088] dmatest: [dmatest] start channel set 2020-12-16T15:26:12.706524+00:00 j7-evm kernel: [ 1769.392130] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:12.706526+00:00 j7-evm kernel: [ 1769.392133] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:12.706529+00:00 j7-evm kernel: [ 1769.392135] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:12.706531+00:00 j7-evm kernel: [ 1769.392138] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:16.134498+00:00 j7-evm kernel: [ 1772.820085] dmatest: [dmatest] start channel set 2020-12-16T15:26:16.134521+00:00 j7-evm kernel: [ 1772.820126] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:16.134524+00:00 j7-evm kernel: [ 1772.820128] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:16.134526+00:00 j7-evm kernel: [ 1772.820130] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:16.134527+00:00 j7-evm kernel: [ 1772.820133] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:32.434500+00:00 j7-evm kernel: [ 1789.120088] dmatest: [dmatest] start channel set 2020-12-16T15:26:32.434520+00:00 j7-evm kernel: [ 1789.120136] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:32.434523+00:00 j7-evm kernel: [ 1789.120139] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:32.434525+00:00 j7-evm kernel: [ 1789.120141] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:32.434527+00:00 j7-evm kernel: [ 1789.120144] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:36.114495+00:00 j7-evm kernel: [ 1792.800098] dmatest: [dmatest] start channel set 2020-12-16T15:26:36.114519+00:00 j7-evm kernel: [ 1792.800153] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:36.114521+00:00 j7-evm kernel: [ 1792.800156] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:36.114523+00:00 j7-evm kernel: [ 1792.800158] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:36.114525+00:00 j7-evm kernel: [ 1792.800160] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:38.986506+00:00 j7-evm kernel: [ 1795.672112] dmatest: [dmatest] start channel set 2020-12-16T15:26:38.986528+00:00 j7-evm kernel: [ 1795.672154] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:38.986531+00:00 j7-evm kernel: [ 1795.672156] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:38.986533+00:00 j7-evm kernel: [ 1795.672159] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:38.986535+00:00 j7-evm kernel: [ 1795.672161] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:43.138493+00:00 j7-evm kernel: [ 1799.824086] dmatest: [dmatest] start channel set 2020-12-16T15:26:43.138516+00:00 j7-evm kernel: [ 1799.824127] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:43.138519+00:00 j7-evm kernel: [ 1799.824130] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:43.138521+00:00 j7-evm kernel: [ 1799.824132] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:43.138522+00:00 j7-evm kernel: [ 1799.824134] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:46.774507+00:00 j7-evm kernel: [ 1803.460089] dmatest: [dmatest] start channel set 2020-12-16T15:26:46.774530+00:00 j7-evm kernel: [ 1803.460131] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:46.774533+00:00 j7-evm kernel: [ 1803.460133] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:46.774535+00:00 j7-evm kernel: [ 1803.460135] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:46.774536+00:00 j7-evm kernel: [ 1803.460138] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:50.590499+00:00 j7-evm kernel: [ 1807.276078] dmatest: [dmatest] start channel set 2020-12-16T15:26:50.590520+00:00 j7-evm kernel: [ 1807.276127] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:50.590523+00:00 j7-evm kernel: [ 1807.276129] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:50.590525+00:00 j7-evm kernel: [ 1807.276131] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:50.590527+00:00 j7-evm kernel: [ 1807.276133] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:26:58.566512+00:00 j7-evm kernel: [ 1815.252107] dmatest: [dmatest] start channel set 2020-12-16T15:26:58.566531+00:00 j7-evm kernel: [ 1815.252149] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:26:58.566534+00:00 j7-evm kernel: [ 1815.252151] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:26:58.566536+00:00 j7-evm kernel: [ 1815.252154] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:26:58.566876+00:00 j7-evm kernel: [ 1815.252156] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:03.366504+00:00 j7-evm kernel: [ 1820.052086] dmatest: [dmatest] start channel set 2020-12-16T15:27:03.366525+00:00 j7-evm kernel: [ 1820.052127] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:03.366529+00:00 j7-evm kernel: [ 1820.052129] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:03.366530+00:00 j7-evm kernel: [ 1820.052132] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:03.366858+00:00 j7-evm kernel: [ 1820.052134] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:12.422515+00:00 j7-evm kernel: [ 1829.108087] dmatest: [dmatest] start channel set 2020-12-16T15:27:12.422538+00:00 j7-evm kernel: [ 1829.108130] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:12.422542+00:00 j7-evm kernel: [ 1829.108132] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:12.422543+00:00 j7-evm kernel: [ 1829.108135] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:12.422546+00:00 j7-evm kernel: [ 1829.108137] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:16.838503+00:00 j7-evm kernel: [ 1833.524097] dmatest: [dmatest] start channel set 2020-12-16T15:27:16.838531+00:00 j7-evm kernel: [ 1833.524139] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:16.838534+00:00 j7-evm kernel: [ 1833.524142] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:16.838541+00:00 j7-evm kernel: [ 1833.524144] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:16.838543+00:00 j7-evm kernel: [ 1833.524146] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:28.758497+00:00 j7-evm kernel: [ 1845.444080] dmatest: [dmatest] start channel set 2020-12-16T15:27:28.758520+00:00 j7-evm kernel: [ 1845.444122] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:28.758522+00:00 j7-evm kernel: [ 1845.444125] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:28.758524+00:00 j7-evm kernel: [ 1845.444127] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:28.758525+00:00 j7-evm kernel: [ 1845.444129] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:42.586499+00:00 j7-evm kernel: [ 1859.272094] dmatest: [dmatest] start channel set 2020-12-16T15:27:42.586521+00:00 j7-evm kernel: [ 1859.272137] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:42.586524+00:00 j7-evm kernel: [ 1859.272140] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:42.586525+00:00 j7-evm kernel: [ 1859.272142] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:42.586527+00:00 j7-evm kernel: [ 1859.272144] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:46.342497+00:00 j7-evm kernel: [ 1863.028095] dmatest: [dmatest] start channel set 2020-12-16T15:27:46.342518+00:00 j7-evm kernel: [ 1863.028145] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:46.342520+00:00 j7-evm kernel: [ 1863.028148] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:46.342523+00:00 j7-evm kernel: [ 1863.028150] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:46.342524+00:00 j7-evm kernel: [ 1863.028152] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:49.722524+00:00 j7-evm kernel: [ 1866.408091] dmatest: [dmatest] start channel set 2020-12-16T15:27:49.722546+00:00 j7-evm kernel: [ 1866.408134] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:49.722548+00:00 j7-evm kernel: [ 1866.408137] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:49.722551+00:00 j7-evm kernel: [ 1866.408139] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:49.722552+00:00 j7-evm kernel: [ 1866.408141] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:53.226510+00:00 j7-evm kernel: [ 1869.912080] dmatest: [dmatest] start channel set 2020-12-16T15:27:53.226532+00:00 j7-evm kernel: [ 1869.912122] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:53.226534+00:00 j7-evm kernel: [ 1869.912124] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:53.226536+00:00 j7-evm kernel: [ 1869.912127] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:53.226537+00:00 j7-evm kernel: [ 1869.912129] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:27:57.582509+00:00 j7-evm kernel: [ 1874.268089] dmatest: [dmatest] start channel set 2020-12-16T15:27:57.582533+00:00 j7-evm kernel: [ 1874.268132] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:27:57.582536+00:00 j7-evm kernel: [ 1874.268135] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:27:57.582538+00:00 j7-evm kernel: [ 1874.268137] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:27:57.582539+00:00 j7-evm kernel: [ 1874.268139] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:28:01.854523+00:00 j7-evm kernel: [ 1878.540088] dmatest: [dmatest] start channel set 2020-12-16T15:28:01.854543+00:00 j7-evm kernel: [ 1878.540133] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:28:01.854545+00:00 j7-evm kernel: [ 1878.540135] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:28:01.854547+00:00 j7-evm kernel: [ 1878.540137] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:28:01.854549+00:00 j7-evm kernel: [ 1878.540139] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:28:05.318578+00:00 j7-evm kernel: [ 1882.004111] dmatest: [dmatest] start channel set 2020-12-16T15:28:05.318604+00:00 j7-evm kernel: [ 1882.007636] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:28:05.318607+00:00 j7-evm kernel: [ 1882.007744] dmatest: Added 1 threads using dma1chan7 2020-12-16T15:28:05.318609+00:00 j7-evm kernel: [ 1882.007780] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:28:05.318611+00:00 j7-evm kernel: [ 1882.007782] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:28:05.318612+00:00 j7-evm kernel: [ 1882.007785] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:28:05.318613+00:00 j7-evm kernel: [ 1882.007787] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:29:08.146511+00:00 j7-evm kernel: [ 1944.832088] dmatest: [dmatest] start dmatest_run_set 2020-12-16T15:29:08.146536+00:00 j7-evm kernel: [ 1944.832103] dmatest: Started 1 threads using dma1chan7 2020-12-16T15:29:08.146538+00:00 j7-evm kernel: [ 1944.832336] dmatest: dma1chan7-copy0: summary 1 tests, 0 failures 14705.87 iops 88235 KB/s (0) 2020-12-16T15:30:02.086512+00:00 j7-evm kernel: [ 1998.772092] dmatest: [dmatest] start dmatest_run_set 2020-12-16T15:30:02.086536+00:00 j7-evm kernel: [ 1998.772099] dmatest: No channels configured, continue with any 2020-12-16T15:30:02.086539+00:00 j7-evm kernel: [ 1998.773409] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:30:02.086542+00:00 j7-evm kernel: [ 1998.773488] dmatest: Added 1 threads using dma1chan7 2020-12-16T15:30:02.086543+00:00 j7-evm kernel: [ 1998.773521] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:30:02.086545+00:00 j7-evm kernel: [ 1998.773524] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:30:02.086547+00:00 j7-evm kernel: [ 1998.773526] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:30:02.086549+00:00 j7-evm kernel: [ 1998.773529] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:30:02.086550+00:00 j7-evm kernel: [ 1998.773533] dmatest: Started 1 threads using dma1chan7 2020-12-16T15:30:02.086551+00:00 j7-evm kernel: [ 1998.773750] dmatest: dma1chan7-copy0: summary 1 tests, 0 failures 18518.51 iops 55555 KB/s (0) 2020-12-16T15:30:09.570513+00:00 j7-evm kernel: [ 2006.256079] dmatest: [dmatest] start dmatest_run_set 2020-12-16T15:30:09.570539+00:00 j7-evm kernel: [ 2006.256086] dmatest: No channels configured, continue with any 2020-12-16T15:30:09.570541+00:00 j7-evm kernel: [ 2006.258586] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:30:09.570543+00:00 j7-evm kernel: [ 2006.258676] dmatest: Added 1 threads using dma1chan7 2020-12-16T15:30:09.570544+00:00 j7-evm kernel: [ 2006.258707] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:30:09.570546+00:00 j7-evm kernel: [ 2006.258710] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:30:09.570548+00:00 j7-evm kernel: [ 2006.258712] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:30:09.570549+00:00 j7-evm kernel: [ 2006.258714] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:30:09.570550+00:00 j7-evm kernel: [ 2006.258718] dmatest: Started 1 threads using dma1chan7 2020-12-16T15:30:09.570552+00:00 j7-evm kernel: [ 2006.258954] dmatest: dma1chan7-copy0: summary 1 tests, 0 failures 20833.33 iops 166666 KB/s (0) 2020-12-16T15:30:12.342516+00:00 j7-evm kernel: [ 2009.028085] dmatest: [dmatest] start dmatest_run_set 2020-12-16T15:30:12.342538+00:00 j7-evm kernel: [ 2009.028092] dmatest: No channels configured, continue with any 2020-12-16T15:30:12.342541+00:00 j7-evm kernel: [ 2009.030646] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:30:12.342543+00:00 j7-evm kernel: [ 2009.030733] dmatest: Added 1 threads using dma1chan7 2020-12-16T15:30:12.342544+00:00 j7-evm kernel: [ 2009.030765] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:30:12.342546+00:00 j7-evm kernel: [ 2009.030768] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:30:12.342548+00:00 j7-evm kernel: [ 2009.030770] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:30:12.342549+00:00 j7-evm kernel: [ 2009.030772] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:30:12.342550+00:00 j7-evm kernel: [ 2009.030777] dmatest: Started 1 threads using dma1chan7 2020-12-16T15:30:12.342552+00:00 j7-evm kernel: [ 2009.031021] dmatest: dma1chan7-copy0: summary 1 tests, 0 failures 20833.33 iops 0 KB/s (0) 2020-12-16T15:32:02.814506+00:00 j7-evm kernel: [ 2119.500100] dmatest: [dmatest] start channel set 2020-12-16T15:32:02.814534+00:00 j7-evm kernel: [ 2119.501384] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:32:02.814537+00:00 j7-evm kernel: [ 2119.501469] dmatest: Added 1 threads using dma1chan7 2020-12-16T15:32:02.814539+00:00 j7-evm kernel: [ 2119.501501] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:32:02.814541+00:00 j7-evm kernel: [ 2119.501504] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:32:02.814543+00:00 j7-evm kernel: [ 2119.501506] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:32:02.814545+00:00 j7-evm kernel: [ 2119.501508] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:32:23.010512+00:00 j7-evm kernel: [ 2139.696072] dmatest: [dmatest] start dmatest_run_set 2020-12-16T15:32:23.010535+00:00 j7-evm kernel: [ 2139.696086] dmatest: Started 1 threads using dma1chan7 2020-12-16T15:32:23.010538+00:00 j7-evm kernel: [ 2139.696328] dmatest: dma1chan7-copy0: summary 1 tests, 0 failures 14925.37 iops 208955 KB/s (0) 2020-12-16T15:32:35.710509+00:00 j7-evm kernel: [ 2152.396080] dmatest: [dmatest] start channel set 2020-12-16T15:32:35.710532+00:00 j7-evm kernel: [ 2152.398640] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:32:35.710534+00:00 j7-evm kernel: [ 2152.398732] dmatest: Added 1 threads using dma1chan8 2020-12-16T15:32:35.710537+00:00 j7-evm kernel: [ 2152.398764] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:32:35.710538+00:00 j7-evm kernel: [ 2152.398767] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:32:35.710540+00:00 j7-evm kernel: [ 2152.398769] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:32:35.710541+00:00 j7-evm kernel: [ 2152.398771] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:32:53.054512+00:00 j7-evm kernel: [ 2169.740103] dmatest: [dmatest] start channel set 2020-12-16T15:32:53.054537+00:00 j7-evm kernel: [ 2169.741399] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:32:53.054540+00:00 j7-evm kernel: [ 2169.741482] dmatest: Added 1 threads using dma1chan9 2020-12-16T15:32:53.054542+00:00 j7-evm kernel: [ 2169.741515] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:32:53.054543+00:00 j7-evm kernel: [ 2169.741518] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:32:53.054545+00:00 j7-evm kernel: [ 2169.741520] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:32:53.054546+00:00 j7-evm kernel: [ 2169.741523] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:32:59.010515+00:00 j7-evm kernel: [ 2175.696105] dmatest: [dmatest] start channel set 2020-12-16T15:32:59.010537+00:00 j7-evm kernel: [ 2175.697382] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:32:59.010540+00:00 j7-evm kernel: [ 2175.697475] dmatest: Added 1 threads using dma1chan10 2020-12-16T15:32:59.010542+00:00 j7-evm kernel: [ 2175.697508] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:32:59.010543+00:00 j7-evm kernel: [ 2175.697510] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:32:59.010545+00:00 j7-evm kernel: [ 2175.697513] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:32:59.010547+00:00 j7-evm kernel: [ 2175.697515] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:33:06.374512+00:00 j7-evm kernel: [ 2183.060083] dmatest: [dmatest] start channel set 2020-12-16T15:33:06.374538+00:00 j7-evm kernel: [ 2183.061365] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:33:06.374540+00:00 j7-evm kernel: [ 2183.061460] dmatest: Added 1 threads using dma1chan11 2020-12-16T15:33:06.374542+00:00 j7-evm kernel: [ 2183.061495] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:33:06.374544+00:00 j7-evm kernel: [ 2183.061497] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:33:06.374545+00:00 j7-evm kernel: [ 2183.061499] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:33:06.374547+00:00 j7-evm kernel: [ 2183.061501] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:33:11.346522+00:00 j7-evm kernel: [ 2188.032095] dmatest: [dmatest] start channel set 2020-12-16T15:33:11.346545+00:00 j7-evm kernel: [ 2188.033384] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:33:11.346548+00:00 j7-evm kernel: [ 2188.033460] dmatest: Added 1 threads using dma1chan12 2020-12-16T15:33:11.346549+00:00 j7-evm kernel: [ 2188.033492] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:33:11.346551+00:00 j7-evm kernel: [ 2188.033495] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:33:11.346552+00:00 j7-evm kernel: [ 2188.033497] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:33:11.346553+00:00 j7-evm kernel: [ 2188.033499] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:33:15.738508+00:00 j7-evm kernel: [ 2192.424078] dmatest: [dmatest] start channel set 2020-12-16T15:33:15.738531+00:00 j7-evm kernel: [ 2192.425384] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:33:15.738533+00:00 j7-evm kernel: [ 2192.425647] dmatest: Added 1 threads using dma1chan13 2020-12-16T15:33:15.738535+00:00 j7-evm kernel: [ 2192.425679] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:33:15.738537+00:00 j7-evm kernel: [ 2192.425682] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:33:15.738539+00:00 j7-evm kernel: [ 2192.425684] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:33:15.738540+00:00 j7-evm kernel: [ 2192.425686] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:33:20.878506+00:00 j7-evm kernel: [ 2197.564092] dmatest: [dmatest] start channel set 2020-12-16T15:33:20.878529+00:00 j7-evm kernel: [ 2197.565398] dmatest: [dmatest] request channel success, start add channel, type=0 2020-12-16T15:33:20.878532+00:00 j7-evm kernel: [ 2197.565482] dmatest: Added 1 threads using dma1chan14 2020-12-16T15:33:20.878534+00:00 j7-evm kernel: [ 2197.565512] dmatest: [dmatest] request channel fail, no more channels available, type=0 2020-12-16T15:33:20.878535+00:00 j7-evm kernel: [ 2197.565514] dmatest: [dmatest] request channel fail, no more channels available, type=5 2020-12-16T15:33:20.878537+00:00 j7-evm kernel: [ 2197.565517] dmatest: [dmatest] request channel fail, no more channels available, type=1 2020-12-16T15:33:20.878538+00:00 j7-evm kernel: [ 2197.565519] dmatest: [dmatest] request channel fail, no more channels available, type=2 2020-12-16T15:33:29.522527+00:00 j7-evm kernel: [ 2206.208087] dmatest: [dmatest] start dmatest_run_set 2020-12-16T15:33:29.522551+00:00 j7-evm kernel: [ 2206.208102] dmatest: Started 1 threads using dma1chan8 2020-12-16T15:33:29.522553+00:00 j7-evm kernel: [ 2206.208109] dmatest: Started 1 threads using dma1chan9 2020-12-16T15:33:29.522555+00:00 j7-evm kernel: [ 2206.208115] dmatest: Started 1 threads using dma1chan10 2020-12-16T15:33:29.522556+00:00 j7-evm kernel: [ 2206.208120] dmatest: Started 1 threads using dma1chan11 2020-12-16T15:33:29.522558+00:00 j7-evm kernel: [ 2206.208125] dmatest: Started 1 threads using dma1chan12 2020-12-16T15:33:29.522560+00:00 j7-evm kernel: [ 2206.208130] dmatest: Started 1 threads using dma1chan13 2020-12-16T15:33:29.522561+00:00 j7-evm kernel: [ 2206.208136] dmatest: Started 1 threads using dma1chan14 2020-12-16T15:33:29.522562+00:00 j7-evm kernel: [ 2206.208800] dmatest: dma1chan14-copy: summary 1 tests, 0 failures 3278.68 iops 13114 KB/ 2020-12-16T15:33:29.522564+00:00 j7-evm kernel: [ 2206.208880] dmatest: dma1chan13-copy: summary 1 tests, 0 failures 2087.67 iops 12526 KB/ 2020-12-16T15:33:29.522565+00:00 j7-evm kernel: [ 2206.209020] dmatest: dma1chan11-copy: summary 1 tests, 0 failures 3623.18 iops 3623 KB/s 2020-12-16T15:33:29.522567+00:00 j7-evm kernel: [ 2206.209127] dmatest: dma1chan10-copy: summary 1 tests, 0 failures 2012.07 iops 14084 KB/ 2020-12-16T15:33:29.522568+00:00 j7-evm kernel: [ 2206.209231] dmatest: dma1chan9-copy0: summary 1 tests, 0 failures 2544.52 iops 5089 KB/s 2020-12-16T15:33:29.522570+00:00 j7-evm kernel: [ 2206.209336] dmatest: dma1chan12-copy: summary 1 tests, 0 failures 1236.09 iops 17305 KB/ 2020-12-16T15:33:29.522571+00:00 j7-evm kernel: [ 2206.209448] dmatest: dma1chan8-copy0: summary 1 tests, 0 failures 851.78 iops 1703 KB/s
Hi,
There are limited channels allocated. So if this is for testing purposes can you please disable the cpsw node that takes up some channels.
Ex : Add node disabling like below in: arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
&cpsw0 {
status = "disabled";
};
or
&main_crypto {
status = "disabled";
};
This should free up some channels.
- Keerthy