<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    Hi Ira,<br>
    <br>
    Attached dmesg output.<br>
    <br>
    Felix.<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th>
          <td>Re: [PATCH 0/8] fsldma: lockup fixes</td>
        </tr>
        <tr>
          <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
          <td>Mon, 28 Feb 2011 09:16:24 -0800</td>
        </tr>
        <tr>
          <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
          <td>Ira W. Snyder <a class="moz-txt-link-rfc2396E" href="mailto:iws@ovro.caltech.edu"><iws@ovro.caltech.edu></a></td>
        </tr>
        <tr>
          <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
          <td>Felix Radensky <a class="moz-txt-link-rfc2396E" href="mailto:felix@embedded-sol.com"><felix@embedded-sol.com></a></td>
        </tr>
        <tr>
          <th nowrap="nowrap" valign="BASELINE" align="RIGHT">CC: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:linuxppc-dev@ozlabs.org">linuxppc-dev@ozlabs.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:linuxppc-dev@ozlabs.org"><linuxppc-dev@ozlabs.org></a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>On Mon, Feb 28, 2011 at 01:36:38PM +0200, Felix Radensky wrote:
> 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


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
</pre>
  </body>
</html>