From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on
Date: Thu, 15 May 2008 12:14:14 +0200 [thread overview]
Message-ID: <200805151214.14518.matthias.fuchs@esd-electronics.com> (raw)
In-Reply-To: <87fxskezf3.fsf@denx.de>
On Thursday 15 May 2008 10:37:04 Markus Klotzb?cher wrote:
> > Could you suggest me how to solve the problem?
> > Is there any specific part of USB driver that requires cache handling?
>
> None that I'm aware of, but I could imagine that enabling caches might
> cause some kind of problems.
With U-Boot's current OHCI implementation you will run into trouble at least
with cache incoherent CPUs like the 4xx PowerPCs. The 4xx_enet driver
has been modified to deal with this stuff when data caches are enabled.
The USB OHCI driver will also need that kind of fixing (making the code very
ugly). An other approach would be to put the USB DMA accessable memory into
some non-cached memory. Perhaps this is much more simple.
I am not very familiar with MIPS64. But I bet that this is Ryan's problem.
Matthias
next prev parent reply other threads:[~2008-05-15 10:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 4:33 [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on Ryan CHEN
2008-05-15 8:37 ` Markus Klotzbücher
2008-05-15 10:14 ` Matthias Fuchs [this message]
2008-05-16 16:24 ` Markus Klotzbücher
2008-05-19 1:47 ` Ryan CHEN
2008-05-15 8:46 ` Matthias Fuchs
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=200805151214.14518.matthias.fuchs@esd-electronics.com \
--to=matthias.fuchs@esd-electronics.com \
--cc=u-boot@lists.denx.de \
/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