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

2021-04-16 Thread Sean Anderson
Meng; U-Boot Mailing List; Paul Walmsley; Pragnesh Patel; Simon Glass; Atish Patra; Leo Yu-Chi Liang(梁育齊); Brad Kim Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core Hi Bin and Sean, While we keep the consistency of cache control discussion going, later today I'd

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

2021-04-13 Thread Rick Chen
10:33 AM > >>>> To: Sean Anderson > >>>> Cc: Rick Chen; Rick Jian-Zhi Chen(陳建志); Bin Meng; U-Boot Mailing List; > >>>> Paul Walmsley; Pragnesh Patel; Simon Glass; Atish Patra; Leo Yu-Chi > >>>> Liang(梁育齊); Brad Kim > >>>

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

2021-04-13 Thread Green Wan
.com] > >>>> Sent: Monday, April 12, 2021 10:33 AM > >>>> To: Sean Anderson > >>>> Cc: Rick Chen; Rick Jian-Zhi Chen(陳建志); Bin Meng; U-Boot Mailing List; > >>>> Paul Walmsley; Pragnesh Patel; Simon Glass; Atish Patra; Leo Yu-Chi > >>&

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

2021-04-13 Thread Green Wan
PM > > Cc: Green Wan; Rick Jian-Zhi Chen(陳建志); Paul Walmsley; Pragnesh Patel; Sean > > Anderson; Bin Meng; Simon Glass; Atish Patra; Leo Yu-Chi Liang(梁育齊); Brad > > Kim; u-boot@lists.denx.de > > Subject: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core

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

2021-04-12 Thread Sean Anderson
Patel; Simon Glass; Atish Patra; Leo Yu-Chi Liang(梁育齊); Brad Kim Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core Hi Bin and Sean, While we keep the consistency of cache control discussion going, later today I'd like to send the v5 patch which is not directly

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

2021-04-12 Thread Rick Chen
t Mailing List; > >> Paul Walmsley; Pragnesh Patel; Simon Glass; Atish Patra; Leo Yu-Chi > >> Liang(梁育齊); Brad Kim > >> Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init > >> each core > >> > >> Hi Bin and Sean, > >&

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

2021-04-12 Thread Rick Chen
> Subject: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core > > Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/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

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

2021-04-12 Thread Sean Anderson
Liang(梁育齊); Brad Kim Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core Hi Bin and Sean, While we keep the consistency of cache control discussion going, later today I'd like to send the v5 patch which is not directly relevant to cache control. I will prefer not to mix

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

2021-04-12 Thread Green Wan
t; > Walmsley; Pragnesh Patel; Simon Glass; Atish Patra; Leo Yu-Chi Liang(梁育齊); > > Brad Kim > > Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each > > core > > > > Hi Bin and Sean, > > > > While we keep the consistency of ca

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

2021-04-12 Thread Rick Chen
Brad Kim > Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each > core > > Hi Bin and Sean, > > While we keep the consistency of cache control discussion going, later > today I'd like to send the v5 patch which is not directly relevant to > cache contro

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

2021-04-11 Thread Green Wan
son wrote: > >> > >> On 4/9/21 4:16 AM, Rick Chen wrote: > >>> Hi Sean ,Bin > >>> > >>>> From: Bin Meng [mailto:bmeng...@gmail.com] > >>>> Sent: Tuesday, April 06, 2021 5:16 PM > >>>> To: Sean Anderson > &g

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

2021-04-11 Thread Sean Anderson
Wan; Rick Jian-Zhi Chen(陳建志); Paul Walmsley; Pragnesh Patel; Bin Meng; Simon Glass; Atish Patra; Leo Yu-Chi Liang(梁育齊); Brad Kim; U-Boot Mailing List Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core On Sat, Apr 3, 2021 at 6:53 AM Sean Anderson wrote: On 3/30/21

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

2021-04-09 Thread Green Wan
ent: Tuesday, April 06, 2021 5:16 PM > >> To: Sean Anderson > >> Cc: Green Wan; Rick Jian-Zhi Chen(陳建志); Paul Walmsley; Pragnesh Patel; Bin > >> Meng; Simon Glass; Atish Patra; Leo Yu-Chi Liang(梁育齊); Brad Kim; U-Boot > >> Mailing List > >> Subject: Re: [RFC PATC

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

2021-04-09 Thread Sean Anderson
-Boot Mailing List Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each core On Sat, Apr 3, 2021 at 6:53 AM Sean Anderson wrote: On 3/30/21 1:26 AM, Green Wan wrote: Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/start.S to allow different riscv hart perform

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

2021-04-09 Thread Rick Chen
ing List > Subject: Re: [RFC PATCH v4 1/2] arch: riscv: cpu: Add callback to init each > core > > On Sat, Apr 3, 2021 at 6:53 AM Sean Anderson wrote: > > > > On 3/30/21 1:26 AM, Green Wan wrote: > > > Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/start.

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

2021-04-06 Thread Bin Meng
On Sat, Apr 3, 2021 at 6:53 AM Sean Anderson wrote: > > On 3/30/21 1:26 AM, Green Wan wrote: > > Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/start.S to > > allow different riscv hart perform setup code for each hart as early > > as possible. Since all the harts enter the callback,

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

2021-04-02 Thread Sean Anderson
On 3/30/21 1:26 AM, Green Wan wrote: Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/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

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

2021-03-29 Thread Green Wan
Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/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 --- arch/riscv/cpu/cpu.c | 15