linux-stable/arch/csky/mm
Guo Ren 6ea42c84f3 csky: syscache: Fixup duplicate cache flush
The current csky logic of sys_cacheflush is wrong, it'll cause
icache flush call dcache flush again. Now fixup it with a
conditional "break & fallthrough".

Fixes: 997153b9a7 ("csky: Add flush_icache_mm to defer flush icache all")
Fixes: 0679d29d3e ("csky: fix syscache.c fallthrough warning")
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Co-Developed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Arnd Bergmann <arnd@arndb.de>
2021-07-04 17:39:54 +08:00
..
asid.c csky: Add new asid lib code from arm 2019-07-19 14:21:36 +08:00
cachev1.c csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
cachev2.c csky/ftrace: Fixup ftrace_modify_code deadlock without CPU_HAS_ICACHE_INS 2020-03-31 22:15:42 +08:00
context.c csky: Use generic asid algorithm to implement switch_mm 2019-07-19 14:21:36 +08:00
dma-mapping.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
fault.c csky: uaccess.h: Coding convention with asm generic 2021-04-28 23:02:23 +08:00
highmem.c csky/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:56 +01:00
init.c mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ioremap.c csky: use generic ioremap 2019-11-12 11:37:52 +01:00
Makefile csky: Fixup ftrace modify panic 2020-02-21 15:43:24 +08:00
syscache.c csky: syscache: Fixup duplicate cache flush 2021-07-04 17:39:54 +08:00
tcm.c csky: Tightly-Coupled Memory or Sram support 2020-02-21 15:43:24 +08:00
tlb.c csky: Fix TLB maintenance synchronization problem 2021-01-12 09:52:41 +08:00