diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-09-01 17:30:15 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-05 01:31:20 +0200 |
commit | b2ff71718e6025fed33a693a1772e2ed39f25d6c (patch) | |
tree | b615c62ccdf784647b11b71f69c6beb6eaf35cd7 /arch/mips/mm/tlb-r4k.c | |
parent | 24d1a6e63e8f4045551f4dce3d75724f765c5069 (diff) | |
download | linux-b2ff71718e6025fed33a693a1772e2ed39f25d6c.tar.bz2 |
MIPS: c-r4k: Fix flush_icache_range() for EVA
flush_icache_range() flushes icache lines in a protected fashion for
kernel addresses, however this isn't correct with EVA where protected
cache ops only operate on user addresses, making flush_icache_range()
ineffective.
Split the implementations of __flush_icache_user_range() from
flush_icache_range(), changing the normal flush_icache_range() to use
unprotected normal cache ops.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14156/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/tlb-r4k.c')
0 files changed, 0 insertions, 0 deletions