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/
Showing
- arch/mips/include/asm/cacheflush.h 24 additions, 0 deletionsarch/mips/include/asm/cacheflush.h
- arch/mips/mm/c-octeon.c 6 additions, 0 deletionsarch/mips/mm/c-octeon.c
- arch/mips/mm/c-r3k.c 7 additions, 0 deletionsarch/mips/mm/c-r3k.c
- arch/mips/mm/c-r4k.c 35 additions, 0 deletionsarch/mips/mm/c-r4k.c
- arch/mips/mm/c-tx39.c 7 additions, 0 deletionsarch/mips/mm/c-tx39.c
- arch/mips/mm/cache.c 5 additions, 0 deletionsarch/mips/mm/cache.c
Loading
Please register or sign in to comment