Re: [PATCH v8 11/45] powerpc/powernv: Track M64 segment consumption

2016-04-19 Thread Gavin Shan
On Wed, Apr 13, 2016 at 05:09:45PM +1000, Alexey Kardashevskiy wrote: >On 02/17/2016 02:43 PM, Gavin Shan wrote: >>When unplugging PCI devices, their parent PEs might be offline. >>The consumed M64 resource by the PEs should be released at that >>time. As we track M32 segment consumption, this

Re: [PATCH v8 11/45] powerpc/powernv: Track M64 segment consumption

2016-04-13 Thread Alexey Kardashevskiy
On 02/17/2016 02:43 PM, Gavin Shan wrote: When unplugging PCI devices, their parent PEs might be offline. The consumed M64 resource by the PEs should be released at that time. As we track M32 segment consumption, this introduces an array to the PHB to track the mapping between M64 segment and PE

[PATCH v8 11/45] powerpc/powernv: Track M64 segment consumption

2016-02-16 Thread Gavin Shan
When unplugging PCI devices, their parent PEs might be offline. The consumed M64 resource by the PEs should be released at that time. As we track M32 segment consumption, this introduces an array to the PHB to track the mapping between M64 segment and PE number. Signed-off-by: Gavin Shan