All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>
To: Ezequiel Garcia
	<ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>,
	Sebastian Andrzej Siewior
	<bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: AM335x USB DMA seems broken on ISOC URBs
Date: Sat, 18 Jan 2014 16:12:24 +0100	[thread overview]
Message-ID: <52DA99D8.8010003@zonque.org> (raw)
In-Reply-To: <20140117162723.GB3843@localhost>

Hi Ezequiel,

On 01/17/2014 05:27 PM, Ezequiel Garcia wrote:
> On Sun, Dec 22, 2013 at 02:59:45AM -0300, Ezequiel Garcia wrote:
>> Hello,
>>
>> While doing some experiments with the stk1160 driver (for "Easycap" TV video
>> capture devices), ran into problems using v3.13-rc4. The problem is that the
>> stk1160 IRQ handler receives no URBs at all.
>>
>> When configuring with CONFIG_MUSB_PIO_ONLY this looks solved, but the
>> bandwidth requirements are too large for PIO (it's a raw video device) and the
>> video can't get captured.
>>
>> Interesting enough, using an old backported for v3.2 stk1160 driver, this same
>> setup works with TI PSP v3.2 kernel. So, I guess it's some software bug in
>> either the cppi41 dmaengine or the musb.
>>
>> I tried to compare the PSP to the mainline drivers but they seems *very*
>> different and really beyond my understanding.
>>
>> Any ideas on how can I help debugging this?
>>
> 
> Ping? It would be good to hunt thig bug down. The TI PSP provided USB driver
> works fine so at least that's a starting point...
> 

Did you try this with a different type of peripheral hardware, a USB
audio device for example? You could also check whether the packets are
actually received by the DMA driver but dropped before the USB subsys
gets to see them for whatever reason.

Let me know if you find anything - I hope to find some time to do
similar tests on AM33xx based hardware.


Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-01-18 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-22  5:59 AM335x USB DMA seems broken on ISOC URBs Ezequiel Garcia
2014-01-17 16:27 ` Ezequiel Garcia
2014-01-18 15:12   ` Daniel Mack [this message]
2014-01-20 11:15     ` Daniel Mack
     [not found]       ` <52DD055C.1090806-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>
2014-01-20 11:25         ` Ezequiel Garcia
2014-01-20 23:26     ` Ezequiel Garcia

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=52DA99D8.8010003@zonque.org \
    --to=daniel-cyrqpvfzoowdnm+yrofe0a@public.gmane.org \
    --cc=balbi-l0cyMroinI0@public.gmane.org \
    --cc=bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
    --cc=ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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.