Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xtensa: mmu: Flush cache when altering pages
When the target has a cache way size (cache size / cache wasy) bigger than the page size we have cache aliasing, since the number of bits required by the cache index is bigger than the number of bits in the page offset. To avoid this problem we flush the whole cache on context switch or when the current page table is changed. Signed-off-by: Flavio Ceolin <[email protected]>
- Loading branch information