All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Foale, Jeff" <j-foale@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: OMAP2430: MUSB: Ethernet Gadget Issue
Date: Thu, 29 Nov 2007 13:07:50 -0800	[thread overview]
Message-ID: <200711291307.50717.david-b@pacbell.net> (raw)
In-Reply-To: <F3AC19E99E5D024AB9E6FB2A01683D8A02C381EE@dlee10.ent.ti.com>

On Thursday 29 November 2007, Foale, Jeff wrote:
> We discovered the root cause is that on the OMAP TX side, a DMA transfer
> is initiated but never completes due to the completion interrupt never
> happening.
> 
> We still do not know why the interrupt doesn't happen.

Curious.  On DaVinci I observed similar problems ... at best,
documentation on the synchronization between DMA and rest of
the chip is incomplete, and in some cases the behavior seemed
more than a little bit confused.

Does that INVENTRA_DMA logic *really* need to be so different
from support for the two other DMA engines?  Seeing three very
different chunks of DMA logic has always made me suspicious.
I don't want to believe that the DMA integration is so wildly
unconstrained that each silicon team *needed* incompatibility.

- Dave



> -----Original Message-----
> From: linux-omap-open-source-bounces@linux.omap.com
> [mailto:linux-omap-open-source-bounces@linux.omap.com] On Behalf Of
> David Brownell
> Sent: Friday, November 23, 2007 2:27 PM
> To: linux-omap-open-source@linux.omap.com
> Subject: Re: OMAP2430: MUSB: Ethernet Gadget Issue
> 
> Your test scenario sounds not unlike the "run TTCP in both
> directions" test, except that it uses UDP.  The last time
> I ran that test with the MUSB code was with DaVinci ... at
> that time, it worked OK.  That's older RTL than found in
> the OMAP chips, and thus "different bugs".
> 
> Not entirely for kicks, it would be good to know whether
> the use of TTCP vs your test program matters.  TCP does
> have some flow control, afster all!
> 
> 
> On Wednesday 21 November 2007, Hunter, Jon wrote:
> >	 
> > When I run the applications one at a time, they will run all night and
> > all is well. However, when I run them at the same time the transfer
> will
> > stop after anywhere from a few secs to a few minutes. When the
> transfers
> > stop I observe the the MUSB driver is no longer generating interrupts
> > (viewing the /proc/interrupts). It appears to be some short of race
> > condition but I have not been able to track down exactly when things
> > stop.
> 
> A "cat /proc/driver/musb_hdrc" to see various state should
> be informative.
> 
> - Dave
> 
> 

  reply	other threads:[~2007-11-29 21:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21 17:08 OMAP2430: MUSB: Ethernet Gadget Issue Hunter, Jon
2007-11-23 20:26 ` David Brownell
2007-11-29 20:03   ` Foale, Jeff
2007-11-29 21:07     ` David Brownell [this message]
2007-12-07 20:55     ` Hunter, Jon
2007-12-07 20:38   ` Hunter, Jon
2007-12-10  5:34     ` David Brownell
2007-12-12 20:55       ` Hunter, Jon
2007-12-12 23:22         ` Hunter, Jon
2007-12-18  0:00       ` Hunter, Jon
2007-12-18  1:05         ` Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2007-12-05 22:10 Foale, Jeff
2007-12-06 16:17 ` David Brownell
2007-12-07 20:55   ` Hunter, Jon

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=200711291307.50717.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=j-foale@ti.com \
    --cc=linux-omap-open-source@linux.omap.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.