help, trying to invalidate entire icache on 970
Segher Boessenkool
segher at kernel.crashing.org
Wed Apr 6 12:49:33 EST 2005
> IIRC to modify an instruction you need the following sequence to do
> flush the icache correctly:
>
> dcbst
> sync
> icbi
> isync
>
> I can't remember if the 970 actually requires this sequence or not.
It does not, as the DL1 cache is store-through; i.e., the dcbst insn
is superfluous here (the sync is required in general, though!)
Segher
More information about the Linuxppc64-dev
mailing list