Re: [PATCH v7 19/50] powerpc/powernv: Track DMA32 segment consumption

2015-11-16 Thread Gavin Shan
On Tue, Nov 17, 2015 at 11:28:20AM +1100, Daniel Axtens wrote: >Gavin Shan writes: > >> Similar to the mechanism tracking consumed IO/M32/M64 segments, >> this introduces an array for each PHB to track the consumed DMA32 >> segments, which are going to be released on PCI unplugging time. >> The in

Re: [PATCH v7 19/50] powerpc/powernv: Track DMA32 segment consumption

2015-11-16 Thread Daniel Axtens
Gavin Shan writes: > Similar to the mechanism tracking consumed IO/M32/M64 segments, > this introduces an array for each PHB to track the consumed DMA32 > segments, which are going to be released on PCI unplugging time. > The index of the array is the DMA32 segment number while the value > stored

[PATCH v7 19/50] powerpc/powernv: Track DMA32 segment consumption

2015-11-04 Thread Gavin Shan
Similar to the mechanism tracking consumed IO/M32/M64 segments, this introduces an array for each PHB to track the consumed DMA32 segments, which are going to be released on PCI unplugging time. The index of the array is the DMA32 segment number while the value stored in the element is the assigned