Re: [PATCH] arc: use hardware ARCNUM in smp_processor_id()

2016-12-07 Thread Vineet Gupta
On 12/07/2016 07:36 AM, Alexey Brodkin wrote: > We used to think that ARC cores in SMP SoC start > consequentially, i.e. core0 -> core1 -> core2 -> core4. > > Moreover we treat core0 as a master core which does some > low-level initialization before allowing other cores to > start doing real stuff.

Re: [PATCH] arc: use hardware ARCNUM in smp_processor_id()

2016-12-07 Thread Vineet Gupta
+CC PeterZ, Andy On 12/07/2016 07:36 AM, Alexey Brodkin wrote: > We used to think that ARC cores in SMP SoC start > consequentially, i.e. core0 -> core1 -> core2 -> core4. > > Moreover we treat core0 as a master core which does some > low-level initialization before allowing other cores to > start

[PATCH] arc: use hardware ARCNUM in smp_processor_id()

2016-12-07 Thread Alexey Brodkin
We used to think that ARC cores in SMP SoC start consequentially, i.e. core0 -> core1 -> core2 -> core4. Moreover we treat core0 as a master core which does some low-level initialization before allowing other cores to start doing real stuff. In that case everything works as expected - smp_process