On Tue, Nov 28, 2023 at 10:38:41AM -0500, Frank Li wrote: > On Tue, Nov 28, 2023 at 12:43:59PM +0800, wangxiaolei wrote: > > Hi > > > > When I executed the following command to do dmatest on the imx8qm platform, > > > > I found that the timeout occurred on the current mainline kernel: > > > > > > modprobe dmatest run=1 iterations=42 > > > > dmatest use mem to mem transfer. It seldom used at actual system. Let me > check it. > > Frank > > > > > I found that the completion interrupt was not received in > > fsl_edma3_tx_handler(). I test at imx93, it works. I supposed it is the same as 8qm. echo dma0chan0 > /sys/module/dmatest/parameters/channel echo 2000 > /sys/module/dmatest/parameters/timeout echo 1 > /sys/module/dmatest/parameters/iterations echo 1 > /sys/module/dmatest/parameters/run I add debug message: [ 154.090765] fsl_edma_tx_chan_handler [ 154.094711] fsl_edma_prep_memcpy 8d842340 8d839280 7104 [ 154.100063] fsl_edma_tx_chan_handler [ 154.103949] fsl_edma_prep_memcpy 8d8419c0 8d838580 4288 [ 154.109265] fsl_edma_tx_chan_handler [ 154.113235] fsl_edma_prep_memcpy 8d840ec0 8d838340 6016 [ 154.118573] fsl_edma_tx_chan_handler [ 154.122508] fsl_edma_prep_memcpy 8d841c00 8d83a8c0 1920 [ 154.127791] fsl_edma_tx_chan_handler [ 154.131738] fsl_edma_prep_memcpy 8d840040 8d838200 14784 [ 154.137272] fsl_edma_tx_chan_handler [ 154.141171] fsl_edma_prep_memcpy 8d840280 8d838080 15616 [ 154.146716] fsl_edma_tx_chan_handler [ 154.150598] fsl_edma_prep_memcpy 8d840e00 8d838f40 4928 [ 154.155915] fsl_edma_tx_chan_handler [ 154.159858] fsl_edma_prep_memcpy 8d8419c0 8d838040 7424 [ 154.165203] fsl_edma_tx_chan_handler [ 154.169140] fsl_edma_prep_memcpy 8d841700 8d839380 2560 Frank > > > > I didn't find any special configuration from the manual. Can anyone give > > some suggestions? > > > > > > thanks > > > > xiaolei > >