Query about arm Dcache/Icache ?

Jamie Lokier jamie at shareable.org
Thu Mar 4 12:15:38 EST 2010


rocky wrote:
> 
>    Hi allJ
> 
>          >From ARM920T, cache is split into Icache and Dcache.
> 
>    Question: How does hardware know which part of binary program in
>    memory should loaded into Icache/Dcache?

It loads code into Icache when executing it, and it loads data into
Dcache when accessed by memory instructions.  Not very complicated :-)

(Some later ARMs can also load both speculatively,
which is a bit of a pain for DMA.)

-- Jamie



More information about the linux-arm-kernel mailing list