From: Tim Nordell <tim.nordell@logicpd.com>
To: Tim Nordell
<public-tim.nordell-L+YfUVVR8+RBDgjK7y7TUQ@plane.gmane.org>,
public-linux-usb-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org
Cc: public-linux-omap-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org,
public-balbi-l0cyMroinI0@plane.gmane.org
Subject: Re: DM3730 + MUSB host mode + DMA + USB Ethernet dongle = Fail
Date: Thu, 7 May 2015 16:41:33 -0500 [thread overview]
Message-ID: <554BDC0D.7010401@logicpd.com> (raw)
In-Reply-To: <554BD878.7090907@logicpd.com>
On 05/07/15 16:26, Tim Nordell wrote:
> Hi Felipe -
>
> On 05/07/15 16:21, Bin Liu wrote:
>>> I'm sorry if you are already aware of this information.
>>> Just wanted to share my experience.
>>>
>>> AFAIK, there is a hardware bug with MUSB Host controller.
>>> See ARM_MPU.KERNEL.39 at
>>> http://processors.wiki.ti.com/index.php/Sitara_SDK_6.00.00_Release_Notes
>>> I assume it is common across AM335x and DM3730.
>>
>> No, it is not.
>
> One thing I just found errata advisory 1.81 for the DM37x indicating
> that "USB OTG DMA May Stall Under Specific Configuration". Does the
> MUSB driver account for this advisory? If not, maybe all DMA requests
> for the MUSB port could be queued for the DM37x so that they're
> guaranteed to be one at a time? If double buffering enabled in the
> FIFO, it should permit fast bursts of data in and out of the MUSB driver.
>
Comparing the errata to the code, it appears to be utilizing the
workarounds listed in the errata. It looks like commit c0f1f8e38f
committed the larger burst rates, and it also checks for addresses being
aligned to 4-bytes wide already. So that errata probably isn't
applicable (or at least, the given errata workarounds are definitely in
the current kernel).
I'm going to try another test which limits the TX or RX activity to PIO
mode only just to see what happens if I avoid the trigger listed in that
specific errata (despite the workaround for the errata being present).
- Tim
next prev parent reply other threads:[~2015-05-07 21:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 23:17 DM3730 + MUSB host mode + DMA + USB Ethernet dongle = Fail Tim Nordell
[not found] ` <554AA11B.9040909-L+YfUVVR8+RBDgjK7y7TUQ@public.gmane.org>
2015-05-07 16:06 ` Tony Lindgren
[not found] ` <20150507160606.GB15563-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-05-07 16:16 ` Felipe Balbi
[not found] ` <20150507161656.GB29183-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-05-07 18:17 ` Tim Nordell
[not found] ` <554BAC48.2050406-L+YfUVVR8+RBDgjK7y7TUQ@public.gmane.org>
2015-05-07 21:07 ` Chan-Taek Park
[not found] ` <CAPM0aKVSJfyBj-FzdTDC+PFmHOmch39F26OF_0CzK5a704AVpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-07 21:21 ` Bin Liu
[not found] ` <CADYTM3YGgm9b+vpxH8jJk41Cc9no=-pPydfHQsvR1FehbRCTxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-07 21:26 ` Tim Nordell
2015-05-07 21:41 ` Tim Nordell [this message]
2015-05-07 22:12 ` Tim Nordell
2015-05-08 18:24 ` Tim Nordell
[not found] ` <554CFF6E.9020208-L+YfUVVR8+RBDgjK7y7TUQ@public.gmane.org>
2015-05-08 21:11 ` Ruslan Bilovol
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=554BDC0D.7010401@logicpd.com \
--to=tim.nordell@logicpd.com \
--cc=public-balbi-l0cyMroinI0@plane.gmane.org \
--cc=public-linux-omap-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org \
--cc=public-linux-usb-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org \
--cc=public-tim.nordell-L+YfUVVR8+RBDgjK7y7TUQ@plane.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.