Re: [PATCH v6 18/42] powerpc/powernv: Allocate PE# in deasending order

2015-08-12 Thread Gavin Shan
On Tue, Aug 11, 2015 at 12:50:33PM +1000, Alexey Kardashevskiy wrote: >On 08/11/2015 10:43 AM, Gavin Shan wrote: >>On Tue, Aug 11, 2015 at 12:39:02AM +1000, Alexey Kardashevskiy wrote: >>>On 08/06/2015 02:11 PM, Gavin Shan wrote: The available PE#, represented by a bitmap in the PHB, is allocat

Re: [PATCH v6 18/42] powerpc/powernv: Allocate PE# in deasending order

2015-08-10 Thread Alexey Kardashevskiy
On 08/11/2015 10:43 AM, Gavin Shan wrote: On Tue, Aug 11, 2015 at 12:39:02AM +1000, Alexey Kardashevskiy wrote: On 08/06/2015 02:11 PM, Gavin Shan wrote: The available PE#, represented by a bitmap in the PHB, is allocated in ascending order. Available PE# is available exactly because it is no

Re: [PATCH v6 18/42] powerpc/powernv: Allocate PE# in deasending order

2015-08-10 Thread Gavin Shan
On Tue, Aug 11, 2015 at 12:39:02AM +1000, Alexey Kardashevskiy wrote: >On 08/06/2015 02:11 PM, Gavin Shan wrote: >>The available PE#, represented by a bitmap in the PHB, is allocated >>in ascending order. > >Available PE# is available exactly because it is not allocated ;) > Yeah, will correct it.

Re: [PATCH v6 18/42] powerpc/powernv: Allocate PE# in deasending order

2015-08-10 Thread Alexey Kardashevskiy
On 08/06/2015 02:11 PM, Gavin Shan wrote: The available PE#, represented by a bitmap in the PHB, is allocated in ascending order. Available PE# is available exactly because it is not allocated ;) It conflicts with the fact that M64 segments are assigned in same order. In order to avoid the co

[PATCH v6 18/42] powerpc/powernv: Allocate PE# in deasending order

2015-08-05 Thread Gavin Shan
The available PE#, represented by a bitmap in the PHB, is allocated in ascending order. It conflicts with the fact that M64 segments are assigned in same order. In order to avoid the conflict, the patch allocates PE# in descending order. Signed-off-by: Gavin Shan --- arch/powerpc/platforms/power