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

Control access to L2 cache

Hi,

I want to use a dual core with shared L2 cache. On Core0 I want to run Linux and on Core1 I want to run Bare - Metal. Is it possible to control the L2 cache access in case both Cores want to access the L2 cache at the same time. In that case I want Core1 get prior access...

Thanks

Parents
  • Are you talking about quality of service in case of contention?  I.e. prioritizing core0's reads for performance?

    If so I don't believe you can do that.

    If you are talking about functional ordering, ie making sure that core0 has written a value so core1 can consume it, then the answer is yes.  Barriers are your friend here.  There is a lot of detailed information in the ARM ARM appendix K10 or a less complete but easier to understand description in the ARMv8-A Programmer's Guide.

Reply
  • Are you talking about quality of service in case of contention?  I.e. prioritizing core0's reads for performance?

    If so I don't believe you can do that.

    If you are talking about functional ordering, ie making sure that core0 has written a value so core1 can consume it, then the answer is yes.  Barriers are your friend here.  There is a lot of detailed information in the ARM ARM appendix K10 or a less complete but easier to understand description in the ARMv8-A Programmer's Guide.

Children