MIPS: cache: Provide cache flush operations for XFS
commitd759e6bf49a41edd66de7c6480b34cceb88ee29a
authorRalf Baechle <ralf@linux-mips.org>
Fri, 17 Jun 2011 15:20:28 +0000 (17 16:20 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Jun 2011 13:11:51 +0000 (30 14:11 +0100)
treea2bdb4fcee69bea61cfbf074dc07f196de4358bb
parentf96df3044dfc3b3bc00e54fa0e72ec46cec30c77
MIPS: cache: Provide cache flush operations for XFS

Until now flush_kernel_vmap_range() and invalidate_kernel_vmap_range() did
not exist on MIPS resulting in heavy cache corruption on XFS filesystems.

Left for the post-3.0 time: optimization and make this work with highmem,
too.  Since the combination of highmem + cache aliases atm doesn't work
this isn't a regression.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/2505/
arch/mips/include/asm/cacheflush.h
arch/mips/mm/c-octeon.c
arch/mips/mm/c-r3k.c
arch/mips/mm/c-r4k.c
arch/mips/mm/c-tx39.c
arch/mips/mm/cache.c