MPC860 reorder and invalidate dcache

Dan Malek dan at
Sun Aug 18 02:19:52 EST 2002

Joakim Tjernlund wrote:

> ... The other mapping is used for flash commands and to write data to flash.
> Each time I read I do a invalidate_dcache_range() to pick up updates made from
> the uncached mapping.

Why don't you do a single invalidate after the write to cover the region
you just updated?

> I was just hoping that the 'sync' instruction was an "accident", but now I know
> better.

Those of us that have programmed PowerPC all of these years seldom include
a 'sync' instruction by accident.  We are more likely to not use them and
then discover later they are necessary :-)

	-- Dan

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list