MIPS: mm: Use the TLBINVF instruction to flush the VTLB
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Thu, 14 Nov 2013 16:12:30 +0000 (16:12 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jan 2014 19:19:00 +0000 (20:19 +0100)
commit601cfa7b6fb657cff9e8f77bbcce79f75dd7ab74
tree6468ffe9a1b589e715e9157cf21629c4e78b109c
parent198bb4cef13525dd9391623c514557123cc6cc31
MIPS: mm: Use the TLBINVF instruction to flush the VTLB

The TLBINVF instruction can be used to flush the entire VTLB.
This eliminates the need for the TLBWI loop and improves performance.

Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6138/
arch/mips/mm/tlb-r4k.c