]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: kernel: {ftrace,kgdb}: Set correct address limit for cache flushes
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Mon, 16 Dec 2013 12:06:55 +0000 (12:06 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:18 +0000 (23:09 +0100)
commit5fd2ebfc61304ebb2f8b31c32a2fcdd18b56e1d5
tree88a32637a7ad46a690692a3603b369c4f9485515
parentc945597543018f4d470461453f222ba0e4ef60d4
MIPS: kernel: {ftrace,kgdb}: Set correct address limit for cache flushes

When flushing the icache, make sure the address limit is correct
so the appropriate 'cache' instruction will be used. This has no
impact on cores operating in non-eva mode. However, when EVA is
enabled, we ensure that 'cache' will be used instead of 'cachee'.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/ftrace.c
arch/mips/kernel/kgdb.c