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

Why linux set memory as inner shareable in multi-cluster ARMv8 cores?

Hi, 

I have board with two clusters, one has 4*A57 cores, and the other has 4*A53 cores.

The A57 cluster has its own L1 and L2 cache, A53 cluster also has its own L1 and L2 cache. Between the clusters there is a CCI.

There is no L3 cache. So the memory will be the L3.

My question is,  in this situation why linux set memory as inner shareable? (Also I can not find any outer shareable definition in all of the linux codes.)

In my opinion, when you want to make data coherency between clusters, you must set it as outer shareable.

Am I right? Hope to get your help.

BR

Thomas

Parents
  • Hi ,

    Thank you!  I am much clearly now, there is one last question.

    For example, two clusters, one is in inner shareable domain A, the other is in inner shareable domain B, A and B are in the same outer shareable domain.

    As you said, two OSes run in the each domain is the typical usage, and the memory is set to be outer shareable to be data-coherency between the two OSes. So, since the memory is data-coherency between the two OSes or the outer shareable domain, why can not a single OS run on this kind of SOC. Let me put is another way, why a single OS can not run on a SOC with outer shareable domains?

    BR,

    Thomas

Reply
  • Hi ,

    Thank you!  I am much clearly now, there is one last question.

    For example, two clusters, one is in inner shareable domain A, the other is in inner shareable domain B, A and B are in the same outer shareable domain.

    As you said, two OSes run in the each domain is the typical usage, and the memory is set to be outer shareable to be data-coherency between the two OSes. So, since the memory is data-coherency between the two OSes or the outer shareable domain, why can not a single OS run on this kind of SOC. Let me put is another way, why a single OS can not run on a SOC with outer shareable domains?

    BR,

    Thomas

Children