[MIPS] local_r4k_flush_cache_page fix
If dcache_size != icache_size or dcache_size != scache_size, or set-associative cache, icache/scache does not flushed properly. Make blast_?cache_page_indexed() masks its index value correctly. Also, use physical address for physically indexed pcache/scache. Signed-off-by:Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/mm/c-r4k.c 9 additions, 4 deletionsarch/mips/mm/c-r4k.c
- arch/mips/mm/c-tx39.c 0 additions, 1 deletionarch/mips/mm/c-tx39.c
- include/asm-mips/cpu-features.h 3 additions, 0 deletionsinclude/asm-mips/cpu-features.h
- include/asm-mips/cpu-info.h 1 addition, 0 deletionsinclude/asm-mips/cpu-info.h
- include/asm-mips/r4kcache.h 2 additions, 1 deletioninclude/asm-mips/r4kcache.h
Loading
Please register or sign in to comment