diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2014-01-21 09:48:48 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-26 23:09:19 +0100 |
commit | 4676f9359fa5190ee6f42bbf2c27d28beb14d26a (patch) | |
tree | d509258e6c14b290235e816eecc0e9237163bf7d /arch/mips/kernel | |
parent | 80ca69f40f26fb016e6d863b48fe1a1abdae8840 (diff) | |
download | blackbird-op-linux-4676f9359fa5190ee6f42bbf2c27d28beb14d26a.tar.gz blackbird-op-linux-4676f9359fa5190ee6f42bbf2c27d28beb14d26a.zip |
MIPS: mm: c-r4k: Flush scache to avoid cache aliases
There is a chance for the secondary cache to have memory
aliases. This can happen if the bootloader is in a non-EVA mode
(or even in EVA mode but with different mapping from the kernel)
and the kernel switching to EVA afterwards. It's best to flush
the icache to avoid having the secondary CPUs fetching stale
data from it.
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions