From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
To: David Sanchez <david.sanchez@lexbox.fr>,
Linux MIPS Development <linux-mips@linux-mips.org>
Subject: Re: Au1550 system bus masters issue
Date: Mon, 05 Dec 2005 14:36:05 +0300 [thread overview]
Message-ID: <43942625.2070609@ru.mvista.com> (raw)
In-Reply-To: <17AB476A04B7C842887E0EB1F268111E0271B7@xpserver.intra.lexbox.org>
Hello.
David Sanchez wrote:
> I notice the following issue in the specification update (v31420) of the
> au1550:
>
> "System bus masters (USB host, PCI, MAC0, MAC1, DDMA) may receive stale
> data.
>
> Description
> -----------
> System bus masters (USB host controller, PCI controller, MAC0, MAC1,
> DDMA controller), when performing
> coherent reads, may incorrectly receive stale data from memory instead
> of valid modified data from the Au1
> data cache. If the request for data arrives within a 3-clock window
> prior to the cache line castout to memory,
> the cache snoop response is incorrect and stale data is retrieved from
> memory instead of the correct data from
> the cache. The cache line castout then completes, and memory is updated.
> Cache/memory data is not corrupted, but the specific bus read in not
> valid.
>
> Affected Step
> -------------
> AA
>
> Workaround
> ----------
> Do not enable cacheable master reads if the core modifies data in cache.
>
> Status
> ------
> Not Fixed"
>
> Does somebody known if the linux kernel 2.6.10 integrates this
> workaround ?
Mainly as CONFIG_DMA_NONCOHERENT defined. USB OHCI and PCI still have
coherency enabled but as the cache hits prone to errata shouldn't happen due
to the CONFIG_DMA_NONCOHERENT, it's probably not a problem (enabling coherency
in Ethernet driver however makes the kernel non-bootable. USB host controller
(and probably not only it, I'm too lazy to re-check ;-) is still prone to
other errata on stepping AB though, see this thread:
http://www.linux-mips.org/archives/linux-mips/2005-11/msg00137.html
I'm gonna rework the patch and resubmit.
> Thanks
WBR, Sergei
next prev parent reply other threads:[~2005-12-05 11:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-05 8:18 Au1550 system bus masters issue David Sanchez
2005-12-05 8:18 ` David Sanchez
2005-12-05 11:36 ` Sergei Shtylylov [this message]
2005-12-05 11:51 ` Sergei Shtylylov
-- strict thread matches above, loose matches on Subject: below --
2005-12-05 15:11 David Sanchez
2005-12-05 15:11 ` David Sanchez
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=43942625.2070609@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=david.sanchez@lexbox.fr \
--cc=linux-mips@linux-mips.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