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

AArch32: 1:1 MMU: context switching needs Cache flushing?

Hello,

My Environment:

  • ARMv8 (A53) 
  • using only AArch32 mode
  • the lightweight Real Time Operating System

I'm running the small RTOS on AArch32. The OS is using 1:1 MMU mapping, i.e,  the virtual addresses are the same to physical addresses. 

According to my understanding of context switch,   RTOS does not need to care about Cache coherency during context switching if it does not use MMU.    

In my condition,  even though MMU is enabled,  all processes are supposed to use unique virtual addressees. so I guess that during context switching, the OS does not need to call Cache flush functions, but I'm not %100 sure about this.

Your comments, suggestion would be greatly appreciated.