Re: [PATCH V11 03/17] PCI: Add weak pcibios_iov_resource_alignment() interface

2015-02-09 Thread Wei Yang
On Tue, Feb 10, 2015 at 11:32:59AM +1100, Benjamin Herrenschmidt wrote: On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: The alignment of PF's IOV BAR is designed to be the individual size of a VF's BAR size. This works fine for many platforms, but on PowerNV platform it needs some change.

Re: [PATCH V11 03/17] PCI: Add weak pcibios_iov_resource_alignment() interface

2015-02-09 Thread Benjamin Herrenschmidt
On Thu, 2015-01-15 at 10:27 +0800, Wei Yang wrote: The alignment of PF's IOV BAR is designed to be the individual size of a VF's BAR size. This works fine for many platforms, but on PowerNV platform it needs some change. The original alignment works, since at sizing and assigning stage the

[PATCH V11 03/17] PCI: Add weak pcibios_iov_resource_alignment() interface

2015-01-14 Thread Wei Yang
The alignment of PF's IOV BAR is designed to be the individual size of a VF's BAR size. This works fine for many platforms, but on PowerNV platform it needs some change. The original alignment works, since at sizing and assigning stage the requirement is from an individual VF's BAR size instead