Re: [PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-05-11 Thread Gavin Shan
On Tue, May 12, 2015 at 10:53:29AM +1000, Alexey Kardashevskiy wrote: >On 05/12/2015 10:03 AM, Gavin Shan wrote: >>On Mon, May 11, 2015 at 05:02:08PM +1000, Alexey Kardashevskiy wrote: >>>On 05/11/2015 04:25 PM, Gavin Shan wrote: On Sat, May 09, 2015 at 10:43:23PM +1000, Alexey Kardashevskiy wr

Re: [PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-05-11 Thread Alexey Kardashevskiy
On 05/12/2015 10:03 AM, Gavin Shan wrote: On Mon, May 11, 2015 at 05:02:08PM +1000, Alexey Kardashevskiy wrote: On 05/11/2015 04:25 PM, Gavin Shan wrote: On Sat, May 09, 2015 at 10:43:23PM +1000, Alexey Kardashevskiy wrote: On 05/01/2015 04:02 PM, Gavin Shan wrote: The original code doesn't s

Re: [PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-05-11 Thread Gavin Shan
On Mon, May 11, 2015 at 05:02:08PM +1000, Alexey Kardashevskiy wrote: >On 05/11/2015 04:25 PM, Gavin Shan wrote: >>On Sat, May 09, 2015 at 10:43:23PM +1000, Alexey Kardashevskiy wrote: >>>On 05/01/2015 04:02 PM, Gavin Shan wrote: The original code doesn't support releasing PEs dynamically, mean

Re: [PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-05-11 Thread Alexey Kardashevskiy
On 05/11/2015 04:25 PM, Gavin Shan wrote: On Sat, May 09, 2015 at 10:43:23PM +1000, Alexey Kardashevskiy wrote: On 05/01/2015 04:02 PM, Gavin Shan wrote: The original code doesn't support releasing PEs dynamically, meaning that PE and the associated resources (IO, M32, M64 and DMA) can't be rel

Re: [PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-05-10 Thread Gavin Shan
On Sat, May 09, 2015 at 10:43:23PM +1000, Alexey Kardashevskiy wrote: >On 05/01/2015 04:02 PM, Gavin Shan wrote: >>The original code doesn't support releasing PEs dynamically, meaning >>that PE and the associated resources (IO, M32, M64 and DMA) can't >>be released when unplugging a PCI adapter fro

Re: [PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-05-09 Thread Alexey Kardashevskiy
On 05/01/2015 04:02 PM, Gavin Shan wrote: The original code doesn't support releasing PEs dynamically, meaning that PE and the associated resources (IO, M32, M64 and DMA) can't be released when unplugging a PCI adapter from one hotpluggable slot. The patch takes object oriented methodology, intr

[PATCH v4 07/21] powerpc/powernv: Release PEs dynamically

2015-04-30 Thread Gavin Shan
The original code doesn't support releasing PEs dynamically, meaning that PE and the associated resources (IO, M32, M64 and DMA) can't be released when unplugging a PCI adapter from one hotpluggable slot. The patch takes object oriented methodology, introducs reference count to PE, which is initia