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

L1 data cache and unified cache disabled in AMP mode for Cortex-a7

Hello Guys,

in my system ( multi core cortex- a7 ), I do not want to be in SMP mode that means it is AMP mode and i need to clear the ACTLR.SMP bit to be in AMP mode but the strange thing which i found though cortex-a7 MPCore TRM is that , those L1 data cache and unified caches will be disabled if SMP bit is cleared. that means i can not use L1 data cache and unified cache in AMP mode.

i don't really know if my above understanding is clear or not but different tests which i performed by enabling and disabling SMP bit approves my understanding.

any one out there who can clear this point and help me out.

would like to thanks in advance for the answers..!! 

Regards,

Ashwin.

Parents
  • Hello Bastian,

    thanks for your reply.

    yes i have setup MMU and also enabled M,C and I bits in SCTLR

    i agree with you that disabling "SMP" means, there is no cache coherence between the L1 caches of cores. but the there is a statement in cortex-a7 MPcore TRM which is causing me trouble. statement is there in table "Table 4-52 SCTLR bit assignments" below description of "C" bit which states "The caches are disabled when ACTLR.SMP is set to 0 regardless of the value of the cache enable bit" that means in AMP mode( SMP bit cleared ) caches are disabled. any justification for the above statement mentioned in TRM. would appreciate if you can provide. 

Reply
  • Hello Bastian,

    thanks for your reply.

    yes i have setup MMU and also enabled M,C and I bits in SCTLR

    i agree with you that disabling "SMP" means, there is no cache coherence between the L1 caches of cores. but the there is a statement in cortex-a7 MPcore TRM which is causing me trouble. statement is there in table "Table 4-52 SCTLR bit assignments" below description of "C" bit which states "The caches are disabled when ACTLR.SMP is set to 0 regardless of the value of the cache enable bit" that means in AMP mode( SMP bit cleared ) caches are disabled. any justification for the above statement mentioned in TRM. would appreciate if you can provide. 

Children