Thread (4 messages) flat view 4 messages, 4 authors, 2000-06-06

Re: [patch] VRAM detection in controlfb

From: Timothy A. Seufert <hidden>
Date: 2000-06-06 05:15:55

At 4:15 PM +0200 6/5/00, Geert Uytterhoeven wrote:
On Mon, 5 Jun 2000, Michel Lanners wrote:
quoted
 So I guess the optimum would be to mark the VRAM cacheable, but in
a way that
 writes don't go into the cache. Would that be write-through?
That's indeed write-through. Note that writes will still be cached in such a
way that a consecutive read from the same location will return the cached
value.  But writes will immediately be sent to the host bridge.
Unfortunately a side effect of write-through mode is that it prevents
burst writes.  Memory must be cacheable in copy-back mode for
existing PowerPC CPUs to perform burst writes.

Many Intel CPUs implement write combining for precisely this region.
In a memory region marked as OK for write combining, the CPU is free
to wait and collect data from several writes to perform a burst write
rather than performing a write immediately.

   Tim Seufert

** Sent via the linuxppc-dev 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