Thread (7 messages) 7 messages, 4 authors, 2002-09-11

Re: Caching in the MPC107

flat view

From: Mark A. Greer <hidden>
Date: 2002-09-10 17:03:48

Adrian Cox wrote:
I think the problem was only visible because the pcnet32 device polls a
descriptor small enough to get cached in the MPC107, and no other PCI
master is active to read this cache. I don't currently have access to a
Sandpoint X3 to test this out on.

The problem seems to be a logical consequence of the documented and
correct behaviour of the MPC107 and the 7450 family: a PCI read causes
the MPC107 to cache the line, and the 7450 to mark the line shared. As
_PAGE_COHERENT is not set, the 7450 does not produce an address only
transaction when it writes to the line and changes it back from shared
to modified. The physical evidence was using the scope to see a PCI read
go into the MPC107, and the MPC107 respond without any cycles on the 60x
bus.
Adrian,

I think I understand what you're saying.  The biggest question that comes to
my mind, though, is whether this is a problem on many of the other
hostbridges?  Most of the newer bridges will buffer a cacheline or two.  Is
this a wider issue than just the 107?

Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help