]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: asm: r4kcache: Add EVA cache flushing functions
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Mon, 16 Dec 2013 11:46:33 +0000 (11:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:18 +0000 (23:09 +0100)
commitc945597543018f4d470461453f222ba0e4ef60d4
treec15c79b04e6b796decfc00c71581e305bb9c23f0
parentde7b697639e2d1e3906e6956cafe161f14eca0c1
MIPS: asm: r4kcache: Add EVA cache flushing functions

Add EVA cache flushing functions similar to non-EVA configurations.
Because the cache may or may not contain user virtual addresses, we
need to use the 'cache' or 'cachee' instruction based on whether we
flush the cache on behalf of kernel or user respectively.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/r4kcache.h