Improved copy_page() function, about 30% speed up for mpc860!

Dan Malek dan at
Thu Mar 6 04:15:56 EST 2003

Tom Rini wrote:

> .... It's known
> to be horribly broken in some cases, but not admited to by Motorola, and
> distinguishing between 8xx's at runtime is not trivial.

Well, to be fair, Motorola will admit to the errata.  I don't understand
their testing process and it is very difficult to uncover the problem.
I was able to get very early silicon many years ago when this was
discovered.  I would tell them the sequence of events that would cause
it, but when tested in newer silicon it wouldn't always be found, but
there was a different sequence that would uncover similar problems.
Certain combinations of TLB exception, cache line status, and instruction
stream would trigger failures.  The worst failure was the dcbz instruction
didn't really cause the proper effect, or affected the wrong cache line.
These took forever to discover.  So, the easiest solution was to just
not use it.  The kernel may still be littered with some workarounds
that aren't necessary once we decided to stop using the instruction.


	-- Dan

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

More information about the Linuxppc-dev mailing list