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

MMU: force identity mapping without pages?

hi,

on a cortex a53, I would like to get the best of both worlds. Having dcache enabled but no page walk in case of a miss.

I want no memory protection because we manage the whole system ( kind of baremetal processes)

Is there a way to tell the mmu controller that we are in identity mapping for the whole memory available, so that a page walk is not triggered?

thanks

Parents
  • The main problem is the table walk and performance hit involved. I try to find a way around that since everything that will be running will be under control.

    Sooner or later we will access an address that won't fit in the TLB because there are memory spread over many pages. The 512 entries won't be enough.

    So when the address won't be in the cache, boom, table walk. That is why talking to the TLB might be preferable but apparently impossible. I need a way to tell the system that a table walk is unnecessary. 

    Apologies if my point was not clear enough, I really try to work around that problem

Reply
  • The main problem is the table walk and performance hit involved. I try to find a way around that since everything that will be running will be under control.

    Sooner or later we will access an address that won't fit in the TLB because there are memory spread over many pages. The 512 entries won't be enough.

    So when the address won't be in the cache, boom, table walk. That is why talking to the TLB might be preferable but apparently impossible. I need a way to tell the system that a table walk is unnecessary. 

    Apologies if my point was not clear enough, I really try to work around that problem

Children