Hi
I work with the ARMV8 architecture, I want to disactivate L1 cache ,
to disable the L1 cache I found in the user manual"" The SCTLR.I bit enables or disables the L1 instruction cache. ""
my question here is: I did not find in the manual how to disable the L1 data cache, so how I can disable the L1 data cache?
C=0, I = 0 => no cache at all
C=1, I = 0 => L1 data cache is enabled and L2 caches only data.
C=0, I = 1 => only L1 instruction cache is enabled.
C=1, I =1 => L1 data/instruction cache and L2 unified cache enabled.
So do I need to do cache flush or anything else before set the C/I bit? or just set the C/I bit during the initialization of cache?
thanks in advance.