Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: filip.zyzniewski@gmail.com (Filip Zyzniewski)
To: linux-arm-kernel@lists.infradead.org
Subject: DMA/cache problems on SA1110/SA1111 (Was: Re: USB Host on a SA1111)
Date: Tue, 22 Dec 2009 17:33:30 +0100	[thread overview]
Message-ID: <de2dcbb80912220833mdc1788cq6f60dd5522e7ab0@mail.gmail.com> (raw)

On Thu, Dec 17, 2009 at 10:13 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:

>> Russell you got any clues on this? From my point of view it really should
>> just work. But Ive never done this myself.
>
> I've never really been that much involved with USB stuff, so can't really
> comment.
>

There was some discussion about this at linux-usb mailing list.
The interesting part is here:
http://thread.gmane.org/gmane.linux.usb.general/25732

Especially the last post by Alan Stern:

> I looked at one of these logs. ?Apparently there's a problem with the
> memory caching and DMA. ?With some of the commands, the debugging
> message shows incorrect data in the buffer. ?But later on, when the
> data gets used, it obviously is correct.
> This implies that something is wrong with the implementation of
> dma_map_single() or dma_unmap_unsingle(). ?And it might explain why
> changing the system's cache settings affects the behavior.

I don't know architecture handling details, could somebody more
knowledgeable give me
some clues about where to begin fixing this? What could be broken?

regards,
Filip Zyzniewski

             reply	other threads:[~2009-12-22 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 16:33 Filip Zyzniewski [this message]
2009-12-22 16:59 ` DMA/cache problems on SA1110/SA1111 (Was: Re: USB Host on a SA1111) Russell King - ARM Linux
2009-12-26 14:18   ` Filip Zyzniewski
2009-12-26 15:55     ` Filip Zyzniewski
2009-12-26 15:59     ` Russell King - ARM Linux

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=de2dcbb80912220833mdc1788cq6f60dd5522e7ab0@mail.gmail.com \
    --to=filip.zyzniewski@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox