linux/arch/csky
Guo Ren cc1f6563a9 csky: Optimize abiv2 copy_to_user_page with VM_EXEC
Only when vma is for VM_EXEC, we need sync dcache & icache. eg:
 - gdb ptrace modify user space instruction code area.

Add VM_EXEC condition to reduce unnecessary cache flush.

The abiv1 cpus' cache are all VIPT, so we still need to deal with
dcache aliasing problem. But there is optimized way to use cache
color, just like what's done in arch/csky/abiv1/inc/abi/page.h.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
2020-02-21 15:43:24 +08:00
..
abiv1 csky: Remove unnecessary flush_icache_* implementation 2020-02-21 15:43:24 +08:00
abiv2 csky: Optimize abiv2 copy_to_user_page with VM_EXEC 2020-02-21 15:43:24 +08:00
boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
configs
include csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
kernel csky/smp: Fixup boot failed when CONFIG_SMP 2020-02-21 15:43:24 +08:00
lib treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mm csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
Kconfig csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.platforms csky/Kconfig: Add Kconfig.platforms to support some drivers 2020-02-21 15:43:24 +08:00
Makefile kconfig: make arch/*/configs/defconfig the default of KBUILD_DEFCONFIG 2019-06-09 15:08:18 +09:00