I am investigating the cache enable setting of the A53 core.
When I set the System Control Register as shown below, I was able to confirm that the L1 instruction cache was valid, but it seemed that the instructions were not cached in the L2 integrated cache.
Do I have to enable the MMU to cache instructions in the L2 integrated cache?
-- Set value ------
SCTLR (System Control Register)
[12] I: 1 (Instruction caches enabled.)
[02] C: 1 (Enables data and unified caches.)
[00] M: 0 (Disables MMU.)
-------------------
Also, is there a way to use the entire L2 integrated cache as a data cache when the instruction cache is enabled?