kernel_optimize_test/arch/csky/mm
Guo Ren b6a41435c8 csky: syscache: Fixup duplicate cache flush
[ Upstream commit 6ea42c84f33368eb3fe1ec1bff8d7cb1a5c7b07a ]

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: 0679d29d3e23 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:52 +02:00
..
asid.c
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
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 mm/csky: use general page fault accounting 2020-08-12 10:58:03 -07:00
highmem.c csky: Fixup warning by EXPORT_SYMBOL(kmap) 2020-07-31 01:54:38 +00:00
init.c csky: replace definitions of __pXd_offset() with pXd_index() 2020-06-09 09:39:13 -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-14 16:56:52 +02:00
tcm.c csky: Tightly-Coupled Memory or Sram support 2020-02-21 15:43:24 +08:00
tlb.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00