Re: [PATCH v7 23/50] powerpc/powernv: Use PE instead of number during setup and release

2015-11-22 Thread Gavin Shan
On Wed, Nov 18, 2015 at 11:13:55AM +1100, Alexey Kardashevskiy wrote: >On 11/17/2015 08:03 PM, Gavin Shan wrote: >>On Tue, Nov 17, 2015 at 04:08:30PM +1100, Alexey Kardashevskiy wrote: >>>On 11/05/2015 12:12 AM, Gavin Shan wrote: In current implementation, the PEs that are allocated or picked >

Re: [PATCH v7 23/50] powerpc/powernv: Use PE instead of number during setup and release

2015-11-17 Thread Alexey Kardashevskiy
On 11/17/2015 08:03 PM, Gavin Shan wrote: On Tue, Nov 17, 2015 at 04:08:30PM +1100, Alexey Kardashevskiy wrote: On 11/05/2015 12:12 AM, Gavin Shan wrote: In current implementation, the PEs that are allocated or picked >from the reserved list are identified by PE number. The PE instance has to

Re: [PATCH v7 23/50] powerpc/powernv: Use PE instead of number during setup and release

2015-11-17 Thread Gavin Shan
On Tue, Nov 17, 2015 at 04:08:30PM +1100, Alexey Kardashevskiy wrote: >On 11/05/2015 12:12 AM, Gavin Shan wrote: >>In current implementation, the PEs that are allocated or picked >>from the reserved list are identified by PE number. The PE instance >>has to be picked according to the PE number even

Re: [PATCH v7 23/50] powerpc/powernv: Use PE instead of number during setup and release

2015-11-16 Thread Alexey Kardashevskiy
On 11/05/2015 12:12 AM, Gavin Shan wrote: In current implementation, the PEs that are allocated or picked from the reserved list are identified by PE number. The PE instance has to be picked according to the PE number eventually. We have same issue when PE is released. For pnv_ioda_pick_m64_pe()

[PATCH v7 23/50] powerpc/powernv: Use PE instead of number during setup and release

2015-11-04 Thread Gavin Shan
In current implementation, the PEs that are allocated or picked from the reserved list are identified by PE number. The PE instance has to be picked according to the PE number eventually. We have same issue when PE is released. For pnv_ioda_pick_m64_pe() and pnv_ioda_alloc_pe(), this returns PE in