]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 11:48:28 +0000 (12:48 +0100)
commit26f46189276789b399ddab4ed791dfdaa2440123
treeda52297116087439688166a6a4e871936193bf74
parente370df16bc2084b79a548479e0ea1265b8352b42
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>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6138/
arch/mips/mm/tlb-r4k.c