]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: I6400: Icache fills from dcache
authorJames Hogan <james.hogan@imgtec.com>
Fri, 22 Jan 2016 10:58:26 +0000 (10:58 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:03 +0000 (12:00 +0200)
commit5ef2acf9ec419bb75cafc30936009f9e78c64bd8
treeeeabe668aba9b404d9a0a383ba3461e748a9e1a2
parentc347d0dea3bafd1b24f07a804f8a3d8d5bb4edcc
MIPS: I6400: Icache fills from dcache

Coherence Manager 3 (CM3) as present in I6400 can fill icache lines
effectively from dirty dcaches, so there is no need to flush dirty lines
from dcaches through to L2 prior to icache invalidation.

Set the MIPS_CACHE_IC_F_DC flag such that cpu_has_ic_fills_f_dc
evaluates to true, which avoids those dcache flushes.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12180/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c