fsldma: lockup fixes
Hi Ira,
I've tried your patches with linux-2.6.38-rc6 on P2020RDB. DMA test fails with the following errors if threads_per_chan != 1
dma0chan0-copy1: terminating after 1 tests, 1 failures (status 0)
dma0chan0-copy2: #0: test timed out
I've run the test like this:
modprobe dmatest threads_per_chan=2 iterations=1
Felix.
Quoted 5 lines · Felix Radensky
Hi Ira,
I've tried your patches with linux-2.6.38-rc6 on P2020RDB. DMA test fails with the following errors if
threads_per_chan!= 1
Quoted 7 lines
dma0chan0-copy1: terminating after 1 tests, 1 failures (status 0)
dma0chan0-copy2: #0: test timed outI've run the test like this:
modprobe dmatest threads_per_chan=2 iterations=1
Thanks Felix. This works fine on the 83xx DMA controller. When you have a chance, can you add "#define DEBUG 1" as the first line of drivers/dma/fsldma.c and then rerun your test with:
modprobe dmatest threads_per_chan=2 iterations=1 max_channels=1
And send me the dmesg output.
I don't quite understand the difference between links and lists in the 85xx controller yet. I'll work my way through the datasheet this morning and send out a fixed patch.
Thanks very much for running the tests!
Ira