mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Zhang Wei-r63237 <Wei.Zhang@freescale.com>
Cc: "Nelson, Shannon" <shannon.nelson@intel.com>,
	paulus@samba.org, linuxppc-dev@ozlabs.org,
	dan.j.williams@intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.
Date: Tue, 11 Sep 2007 09:20:14 -0500	[thread overview]
Message-ID: <20070911142014.GG1932@ld0162-tx32.am.freescale.net> (raw)
In-Reply-To: <46B96294322F7D458F9648B60E15112C85D61E@zch01exm26.fsl.freescale.net>

On Tue, Sep 11, 2007 at 06:10:53PM +0800, Zhang Wei-r63237 wrote:
> > >+
> > >+	fsl_dma_memcpy_issue_pending(chan);
> > >+	while (fsl_dma_is_complete(chan, cookie, NULL, NULL)
> > >+			!= DMA_SUCCESS);
> > 
> > Again, is it possible to hang your thread here?
> > 
> > [...]
> 
> I'll add msleep here.

I think what was being sought was a timout, causing the test to return
failure.

-Scott

  reply	other threads:[~2007-09-11 14:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 10:54 Zhang Wei
2007-09-07 15:58 ` Randy Dunlap
2007-09-11 10:06   ` Zhang Wei-r63237
2007-09-11 14:20     ` Randy Dunlap
2007-09-07 16:00 ` Nelson, Shannon
2007-09-11 10:10   ` Zhang Wei-r63237
2007-09-11 14:20     ` Scott Wood [this message]
2007-09-11 15:15       ` Nelson, Shannon
2007-09-09 17:53 ` Dan Williams
2007-09-09 21:48   ` Timur Tabi
2007-09-09 22:10     ` Dan Williams
2007-09-11 10:30   ` Zhang Wei-r63237
2007-09-13 17:17     ` Dan Williams
     [not found] ` <20070907223553.GA18599@freescale.com>
2007-09-13 10:13   ` [PATCH 5/5] Add DMA engine driver for Freescale MPC85xxprocessors Zhang Wei-r63237
2007-09-13 14:49     ` Scott Wood
2007-09-13 16:25     ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070911142014.GG1932@ld0162-tx32.am.freescale.net \
    --to=scottwood@freescale.com \
    --cc=Wei.Zhang@freescale.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=shannon.nelson@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®