]> 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)
commitd710950507118dc141dc2ea6e57f107d12862333
treec15c79b04e6b796decfc00c71581e305bb9c23f0
parentb702569a1472ff63789c1d8bec8e9391c8782f6b
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