]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: c-r4k: Local flush_icache_range cache op override
authorJames Hogan <james.hogan@imgtec.com>
Wed, 13 Jul 2016 13:12:54 +0000 (14:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Jul 2016 08:19:30 +0000 (10:19 +0200)
commitd73f1750443490d49398f704a5010684d24b5d49
treeb566ba26a3dca0450ab582a9ed295f53a8b0d800
parentc3e67bd1cfaee1d310a5e06e51237447775049fd
MIPS: c-r4k: Local flush_icache_range cache op override

Allow the permitted cache op types used by
local_r4k_flush_icache_range_ipi() to be overridden by the SMP caller.
This will allow SMP calls to be avoided under certain circumstances,
falling back to a single CPU performing globalized hit cache ops only.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13803/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c