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
Hi Rick, Sorry for the late reply. My working environment got problems. Just recovered from it. See my reply below. On Tue, Apr 13, 2021 at 11:33 AM Rick Chen wrote: > > Hi Green, > > > From: Green Wan [mailto:green@sifive.com] > > Sent: Tuesday, March 30, 2021 1:27 PM > > Cc: Green Wan;

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
Hi Green, > From: Green Wan [mailto:green@sifive.com] > Sent: Tuesday, March 30, 2021 1:27 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

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