This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Disable Cache L1 et L2 Armv8

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?

Parents
  • that means if i want to disactivate the L1 cache I can only disable the instruction cache the I bit, and I cannot disable the L1 data cache?
    and to deactivate the L2 cace I deactivate the C bit,
    I who is not clear to me the L1 cache is a separate cache, so how can we not deactivate the L1 data cache?
    and if the C bit also deactivates the L1 data cache, it is worth saying that I cannot deactivate the L2 cache and only activate the L1 cache because from what I understood that if I deactivate the C bit it will disable L1's Data Cache too

Reply
  • that means if i want to disactivate the L1 cache I can only disable the instruction cache the I bit, and I cannot disable the L1 data cache?
    and to deactivate the L2 cace I deactivate the C bit,
    I who is not clear to me the L1 cache is a separate cache, so how can we not deactivate the L1 data cache?
    and if the C bit also deactivates the L1 data cache, it is worth saying that I cannot deactivate the L2 cache and only activate the L1 cache because from what I understood that if I deactivate the C bit it will disable L1's Data Cache too

Children