Re: [RFC PATCH v7 1/2] riscv: cpu: Add callback to init each core

2021-05-01 Thread Green Wan
Thanks for the review. Will fix the issues and remove the RFC. - Green Bin Meng 於 2021年5月1日 週六,下午7:55寫道: > Hi Green, > > On Thu, Apr 22, 2021 at 5:18 PM Green Wan wrote: > > > > Add a callback harts_early_init() to start.S to allow different riscv > > hart perform setup code for each hart as

Re: [RFC PATCH v7 1/2] riscv: cpu: Add callback to init each core

2021-05-01 Thread Bin Meng
Hi Green, On Thu, Apr 22, 2021 at 5:18 PM Green Wan wrote: > > Add a callback harts_early_init() to start.S to allow different riscv > hart perform setup code for each hart as early as possible. Since all > the harts enter the callback, they must be able to run the same > setup. > >

[RFC PATCH v7 1/2] riscv: cpu: Add callback to init each core

2021-04-22 Thread Green Wan
Add a callback harts_early_init() to start.S to allow different riscv hart perform setup code for each hart as early as possible. Since all the harts enter the callback, they must be able to run the same setup. Signed-off-by: Green Wan Reviewed-by: Rick Chen --- arch/riscv/cpu/cpu.c | 11