From: "Allen Curtis" <acurtis@onz.com>
To: "Mark A. Greer" <mgreer@mvista.com>,
"Curtis, Allen" <Allen.Curtis@Thales-IFS.com>
Cc: <linuxppc-embedded@lists.linuxppc.org>
Subject: RE: 64260/PCI accesses cached by CPU?
Date: Fri, 16 May 2003 21:06:53 -0700 [thread overview]
Message-ID: <NCBBIINEHIPFGJPLBEIFGEPBEFAA.acurtis@onz.com> (raw)
In-Reply-To: <3EC57172.9060504@mvista.com>
> If PCI I/O or MEM space was being cached, your PCI drivers wouldn't work
> at all...or at least not for very long.
Only as long as it takes to kick things out of cache. When you are running
md5sum operations of the whole disk drive, this doesn't take very long.
(what was done to generate lots of SCSI I/O) I am sure there are other ways
I could force cache reuse/flushing.
> I also mentioned that the
> GT64260 is very slow when cache coherency is enabled.
Cache coherency is not enabled. It is only enabled if snooping is enabled on
both PCI buses. This isn't the condition with the last Artesyn LSP.
> I don't know what your problem is but I think your "PCI
> I/O and/or MEM being cached" theory is wrong. My $0.02.
Well, an interesting test would be to run the MPT driver in I/O mode instead
of Memory mode. (the default) There are other interesting things to look at
in the LSP. For instance, the virtual address for the PCI I/O space for each
PCI bus is stored in the "hose" structure. However io.h, uses a constant,
_IO_BASE, for all its in/out() instructions. Each PCI bus I/O space is
ioremap() separately so a single constant offset probably will not work.
> Also, PCI mem space is mapped by the driver. That's why you don't see
> it mapped by any of the gt64260-specific code.
The MPT driver which uses Memory mapped PCI space works fine. The Ethernet
drivers that use I/O space are not so good.
Hopefully I will have more information next week.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-05-17 4:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-16 21:48 64260/PCI accesses cached by CPU? Curtis, Allen
2003-05-16 23:17 ` Mark A. Greer
2003-05-17 4:06 ` Allen Curtis [this message]
2003-05-19 19:24 ` Mark A. Greer
-- strict thread matches above, loose matches on Subject: below --
2003-05-19 19:36 Johnson, Stephen
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=NCBBIINEHIPFGJPLBEIFGEPBEFAA.acurtis@onz.com \
--to=acurtis@onz.com \
--cc=Allen.Curtis@Thales-IFS.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=mgreer@mvista.com \
/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;
as well as URLs for NNTP newsgroup(s).