linux/arch/csky
Guo Ren 981bbf274b csky: Fixup wrong update_mmu_cache implementation
In our stress test, we found some crash problem caused by:

if (!(vma->vm_flags & VM_EXEC))
	return;

in update_mmu_cache().

Seems current update_mmu_cache implementation is wrong and we retread
to the conservative implementation.

Also the usage of kmap_atomic in update_mmu_cache is risky, page-virtual
may be scheduled out and changed, so we must use preempt_disable &
pagefault_disable which is called by kmap_atomic().

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
2019-04-22 13:44:57 +08:00
..
abiv1 csky: Support dynamic start physical address 2019-04-22 13:44:57 +08:00
abiv2 csky: Fixup wrong update_mmu_cache implementation 2019-04-22 13:44:57 +08:00
boot csky: use common dtb build rules 2018-11-01 10:52:27 +08:00
configs
include csky: Support dynamic start physical address 2019-04-22 13:44:57 +08:00
kernel csky: Support dynamic start physical address 2019-04-22 13:44:57 +08:00
lib Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
mm csky: mm/fault.c: Remove duplicate header 2019-04-22 13:44:57 +08:00
Kconfig csky: Update syscall_trace_enter/exit implementation 2019-04-22 13:44:57 +08:00
Kconfig.debug csky: remove builtin-dtb Kbuild 2018-11-01 10:52:26 +08:00
Makefile csky: Fixup vdsp&fpu issues in kernel 2019-04-22 13:44:57 +08:00