Re: [PATCH 05/11] riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()

2023-01-30 Thread Yu-Chien Peter Lin
Hi Leo, On Tue, Jan 31, 2023 at 07:07:02AM +, Leo Liang wrote: > Hi Peter, > On Thu, Jan 19, 2023 at 03:05:38PM +0800, Yu Chien Peter Lin wrote: > > This patch improves the cache enabling operation in harts_early_init(), > > also moves the CSR definition to include/asm/arch-andes/csr.h and dro

Re: [PATCH 05/11] riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()

2023-01-30 Thread Leo Liang
Hi Peter, On Thu, Jan 19, 2023 at 03:05:38PM +0800, Yu Chien Peter Lin wrote: > This patch improves the cache enabling operation in harts_early_init(), > also moves the CSR definition to include/asm/arch-andes/csr.h and drops > unnecessary i/d-cache disable functions from cleanup_before_linux(). >

[PATCH 05/11] riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()

2023-01-18 Thread Yu Chien Peter Lin
This patch improves the cache enabling operation in harts_early_init(), also moves the CSR definition to include/asm/arch-andes/csr.h and drops unnecessary i/d-cache disable functions from cleanup_before_linux(). Signed-off-by: Yu Chien Peter Lin --- arch/riscv/cpu/ax25/cpu.c | 46