Re: [PATCH v3 4/6] powerpc/powernv: replace the hard coded boundary with gate

2015-08-16 Thread Wei Yang
On Sat, Aug 15, 2015 at 08:27:04PM +1000, Alexey Kardashevskiy wrote: On 08/14/2015 12:11 AM, Wei Yang wrote: At the moment 64bit-prefetchable window can be maximum 64GB, which is currently got from device tree. This means that in shared mode the maximum supported VF BAR size is 64GB/256=256MB.

Re: [PATCH v3 4/6] powerpc/powernv: replace the hard coded boundary with gate

2015-08-15 Thread Alexey Kardashevskiy
On 08/14/2015 12:11 AM, Wei Yang wrote: At the moment 64bit-prefetchable window can be maximum 64GB, which is currently got from device tree. This means that in shared mode the maximum supported VF BAR size is 64GB/256=256MB. While this size could exhaust the whole 64bit-prefetchable window.

[PATCH v3 4/6] powerpc/powernv: replace the hard coded boundary with gate

2015-08-13 Thread Wei Yang
At the moment 64bit-prefetchable window can be maximum 64GB, which is currently got from device tree. This means that in shared mode the maximum supported VF BAR size is 64GB/256=256MB. While this size could exhaust the whole 64bit-prefetchable window. This is a design decision to set a boundary

Re: [PATCH v3 4/6] powerpc/powernv: replace the hard coded boundary with gate

2015-08-13 Thread Gavin Shan
On Thu, Aug 13, 2015 at 10:11:09PM +0800, Wei Yang wrote: At the moment 64bit-prefetchable window can be maximum 64GB, which is currently got from device tree. This means that in shared mode the maximum supported VF BAR size is 64GB/256=256MB. While this size could exhaust the whole