android_kernel_xiaomi_sm8350/arch/mips/mm
Ralf Baechle b868868ae0 [MIPS] Fix aliasing bug in copy_user_highpage.
Copy_user_highpage was written assuming it was only being called for
breaking COW pages in which case the source page isn't cached as in
marked cachable under it kernel virtual address.  If it is called anyway
the aliasing avoidance strategy implemented by kmap_coherent will fail.
Avoid the use of kmap_coherent for pages marked dirty and to avoid
another instance of this sort of bug, place a BUG_ON in kmap_coherent.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-09-11 19:03:26 +01:00
..
c-r3k.c [MIPS] R3000: local_flush_data_cache_page take a pointer argument. 2007-03-24 17:01:50 +00:00
c-r4k.c [MIPS] Replace use of stext with _stext. 2007-07-31 21:35:28 +01:00
c-sb1.c [MIPS] Replace __attribute_used__ with __used 2007-07-24 16:02:47 +01:00
c-tx39.c [MIPS] TX39: Remove redundant tx39_blast_icache() calls 2007-03-07 00:07:16 +00:00
cache.c [MIPS] Hook for platforms to define cachability of /dev/mem regions 2007-07-10 17:32:56 +01:00
cerr-sb1.c [MIPS] SB1: Fix pile of gcc's bogus format string warnings. 2007-03-24 17:01:50 +00:00
cex-gen.S
cex-sb1.S
dma-default.c [MIPS] R10000: Fix wrong test in dma-default.c 2007-09-11 19:03:25 +01:00
extable.c
fault.c mm: fault feedback #2 2007-07-19 10:04:41 -07:00
highmem.c [MIPS] Remove LIMITED_DMA support 2007-05-11 14:28:31 +01:00
init.c [MIPS] Fix aliasing bug in copy_user_highpage. 2007-09-11 19:03:26 +01:00
ioremap.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
Makefile [MIPS] Use -Werror on subdirectories which build cleanly. 2007-07-31 21:35:33 +01:00
pg-r4k.c
pg-sb1.c [MIPS] SB1250: Fix bugs/warnings by creative use of volatile. 2007-03-24 17:01:50 +00:00
pgtable-32.c
pgtable-64.c
pgtable.c
sc-ip22.c
sc-mips.c
sc-r5k.c
sc-rm7k.c
tlb-r3k.c
tlb-r4k.c [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
tlb-r8k.c
tlbex-fault.S
tlbex.c [MIPS] TLB: Fix instruction bitmasks 2007-09-11 19:03:26 +01:00