linux/arch/riscv
Gary Guo 58de77545e
riscv: move flush_icache_{all,mm} to cacheflush.c
Currently, flush_icache_all is macro-expanded into a SBI call, yet no
asm/sbi.h is included in asm/cacheflush.h. This could be moved to
mm/cacheflush.c instead (SBI call will dominate performance-wise and
there is no worry to not have it inlined.

Currently, flush_icache_mm stays in kernel/smp.c, which looks like a
hack to prevent it from being compiled when CONFIG_SMP=n. It should
also be in mm/cacheflush.c.

Signed-off-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-05-16 20:42:12 -07:00
..
boot RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00
configs RISC-V: Add separate defconfig for 32bit systems 2019-04-09 09:42:49 -07:00
include riscv: move flush_icache_{all,mm} to cacheflush.c 2019-05-16 20:42:12 -07:00
kernel riscv: move flush_icache_{all,mm} to cacheflush.c 2019-05-16 20:42:12 -07:00
lib RISC-V: lib: minor asm cleanup 2018-12-21 08:17:02 -08:00
mm riscv: move flush_icache_{all,mm} to cacheflush.c 2019-05-16 20:42:12 -07:00
net bpf, riscv: add BPF JIT for RV64G 2019-02-05 16:56:10 +01:00
Kconfig riscv: remove CONFIG_RISCV_ISA_A 2019-04-25 14:51:10 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Makefile riscv: remove CONFIG_RISCV_ISA_A 2019-04-25 14:51:10 -07:00