Re: [PATCHv2 2/2] arm64: topology: add MPIDR-based detection

2014-04-25 Thread Lorenzo Pieralisi
On Fri, Apr 25, 2014 at 04:18:42AM +0100, Zi Shen Lim wrote: Create cpu topology based on MPIDR. When hardware sets MPIDR to sane values, this method will always work. Therefore it should also work well as the fallback method. [1] It has to be implemented as fallback, so you have to rebase

Re: [PATCHv2 2/2] arm64: topology: add MPIDR-based detection

2014-04-25 Thread Zi Shen Lim
Hi Lorenzo, On Fri, Apr 25, 2014 at 12:18:43PM +0100, Lorenzo Pieralisi wrote: On Fri, Apr 25, 2014 at 04:18:42AM +0100, Zi Shen Lim wrote: Create cpu topology based on MPIDR. When hardware sets MPIDR to sane values, this method will always work. Therefore it should also work well as the

[PATCHv2 2/2] arm64: topology: add MPIDR-based detection

2014-04-24 Thread Zi Shen Lim
Create cpu topology based on MPIDR. When hardware sets MPIDR to sane values, this method will always work. Therefore it should also work well as the fallback method. [1] When we have multiple processing elements in the system, we create the cpu topology by mapping each affinity level (from lowest