Re: [PATCH 4/4] ARCv2: smp-boot: MCIP: use Inter-Core-Debug unit to kick start non master cpus

2017-01-17 Thread Vineet Gupta
On 01/17/2017 02:14 PM, Vineet Gupta wrote: >> Has this one passed checkpatch? Above "{" on the same line as function name >> and closing one merged with the previous line look strange. > Nope - I didn't :-( > I will fix it. Thx for spotting this. > Is there some issue with ur mailer - my patch

Re: [PATCH 4/4] ARCv2: smp-boot: MCIP: use Inter-Core-Debug unit to kick start non master cpus

2017-01-17 Thread Vineet Gupta
On 01/17/2017 01:41 PM, Alexey Brodkin wrote: > > Has this one passed checkpatch? Above "{" on the same line as function name > and closing one merged with the previous line look strange. Nope - I didn't :-( I will fix it. Thx for spotting this. >> + */ >> +if (mp.dbg) >> +

Re: [PATCH 2/4] ARC: smp-boot: run-on-reset: add callback to allow non masters to wait

2017-01-17 Thread Vineet Gupta
On 01/17/2017 12:58 PM, Alexey Brodkin wrote: >> >> +static void arc_default_smp_wait_to_boot(int cpu) { >> +while (wake_flag != cpu) >> +; >> + >> +wake_flag = 0; > > Why don't we convert "wake_flag" into bit-field so each core uses its special > bit. > It is IMHO beneficial

RE: [PATCH 4/4] ARCv2: smp-boot: MCIP: use Inter-Core-Debug unit to kick start non master cpus

2017-01-17 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Monday, January 16, 2017 11:58 PM > To: linux-snps-arc@lists.infradead.org; Alexey Brodkin > > Cc: linux-ker...@vger.kernel.org; Vineet Gupta > Subject: [PATCH 4/4] ARCv2: smp-boot:

RE: [PATCH 2/4] ARC: smp-boot: run-on-reset: add callback to allow non masters to wait

2017-01-17 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Monday, January 16, 2017 11:58 PM > To: linux-snps-arc@lists.infradead.org; Alexey Brodkin > > Cc: linux-ker...@vger.kernel.org; Vineet Gupta > Subject: [PATCH 2/4] ARC: smp-boot:

RE: [PATCH 3/4] ARCv2: smp: MCIP: remove debug aid to halt all cores when one halts

2017-01-17 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Monday, January 16, 2017 11:58 PM > To: linux-snps-arc@lists.infradead.org; Alexey Brodkin > > Cc: linux-ker...@vger.kernel.org; Vineet Gupta > Subject: [PATCH 3/4] ARCv2: smp: MCIP: