Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: G5s, PCI cache line size & MWI (Memory Write & Invalidate)



On Sun, 2003-11-16 at 15:42, Benjamin Herrenschmidt wrote:
> Hi !

OOps, looks like the beginning of my message got truncated some
way...

So the question is, what is the meaning/usefulness of the cache
line size register and the MWI bit ...

> ... in PCI command register) in a G5 ? According to HT specs, they don't
> make much sense at all it seems, though I suppose anything hooked
> to the AGP slot and doing PCI cycles to memory may need a 128 bytes
> cache line size if doing MWI, right ?
>
> I'm asking because I had some problems with the GEM (GMAC) chip
> corrupting memory around destination buffers when setting its
> cache line size to 128 bytes (even when MWI bit isn't set), which
> is very weird (in Linux btw ;-), and I noticed OF sets all sort of cache
> lines sizes at boot on devices & HT<->PCI bridges, in a way
> which seem a bit "random" to me (mostly 0x10 though, which means
> 64 bytes, so half of the CPU cache line size)
>
> It may just be a specific problem to that part though, but I felt
> it may be worth clarifying the general requirements may be of interest
> to people doing PCI devices for MacOS X as well, so I'm raising the
> issue on this list.
>
> Regards,
> Ben.
> _______________________________________________
> darwin-drivers mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.

References: 
 >G5s, PCI cache line size & MWI (Memory Write & Invalidate) (From: Benjamin Herrenschmidt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.