Skip to content
Commit d936a7e7 authored by Guo Ren's avatar Guo Ren
Browse files

csky: Enable defer flush_dcache_page for abiv2 cpus (807/810/860)



Instead of flushing cache per update_mmu_cache() called, we use
flush_dcache_page to reduce the frequency of flashing the cache.

As abiv2 cpus are all PIPT for icache & dcache, we needn't handle
dcache aliasing problem. But their icache can't snoop dcache, so
we still need sync_icache_dcache in update_mmu_cache().

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
parent a1176734
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment