Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-04 Thread Nicolas Saenz Julienne
On Thu, 2019-10-03 at 16:47 -0700, Florian Fainelli wrote: > On 10/3/19 12:39 PM, Nicolas Saenz Julienne wrote: > > On Thu, 2019-10-03 at 11:08 -0700, Florian Fainelli wrote: > > > On 10/2/19 4:45 AM, Nicolas Saenz Julienne wrote: > > > > Currently, in arm_dt_init_cpu_maps(), the hwid of the boot

Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-03 Thread Florian Fainelli
On 10/3/19 12:39 PM, Nicolas Saenz Julienne wrote: > On Thu, 2019-10-03 at 11:08 -0700, Florian Fainelli wrote: >> On 10/2/19 4:45 AM, Nicolas Saenz Julienne wrote: >>> Currently, in arm_dt_init_cpu_maps(), the hwid of the boot CPU is read >>> from MPIDR on SMP devices and set to 0 for non SMP.

Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-03 Thread Nicolas Saenz Julienne
On Thu, 2019-10-03 at 11:08 -0700, Florian Fainelli wrote: > On 10/2/19 4:45 AM, Nicolas Saenz Julienne wrote: > > Currently, in arm_dt_init_cpu_maps(), the hwid of the boot CPU is read > > from MPIDR on SMP devices and set to 0 for non SMP. This value is then > > matched with the DT cpu nodes'

Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-03 Thread Florian Fainelli
On 10/2/19 4:45 AM, Nicolas Saenz Julienne wrote: > Currently, in arm_dt_init_cpu_maps(), the hwid of the boot CPU is read > from MPIDR on SMP devices and set to 0 for non SMP. This value is then > matched with the DT cpu nodes' reg property in order to find the boot > CPU in DT. The code you

Re: [PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-03 Thread Stefan Wahren
Am 02.10.19 um 13:45 schrieb Nicolas Saenz Julienne: > Currently, in arm_dt_init_cpu_maps(), the hwid of the boot CPU is read > from MPIDR on SMP devices and set to 0 for non SMP. This value is then > matched with the DT cpu nodes' reg property in order to find the boot > CPU in DT. > > On MP

[PATCH] ARM: dt: check MPIDR on MP devices built without SMP

2019-10-02 Thread Nicolas Saenz Julienne
Currently, in arm_dt_init_cpu_maps(), the hwid of the boot CPU is read from MPIDR on SMP devices and set to 0 for non SMP. This value is then matched with the DT cpu nodes' reg property in order to find the boot CPU in DT. On MP devices build without SMP the cpu DT node contains the expected