Setting I&D cache enable in the same mtspr instruction

Mark A. Greer mgreer at mvista.com
Wed May 31 04:27:46 EST 2006


On Mon, May 29, 2006 at 02:15:14PM +0200, Roger Larsson wrote:
> Is the patch reversed?

Sure looks like it.

> diff -Naur old new > patch
> 
> And what about comments, are they all still valid?
> "enable and invalidate caches" is now only Data cache...
> 
> In cases when I am writing code like this I try to
> include the reason why it is not "optimized" together
> in one write... (or soon someone will do that optimization).

Good point.

> /RogerL

Also, please send the patches *inline*.

Mark



More information about the Linuxppc-embedded mailing list