Re: [PATCH V14 10/21] PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable()

2015-03-19 Thread Gavin Shan
On Fri, Mar 20, 2015 at 11:06:26AM +0800, Wei Yang wrote: >VFs are dynamically created when a driver enables them. On some platforms, >like PowerNV, special resources are necessary to enable VFs. > >Add platform hooks for enabling and disabling VFs. > >Signed-off-by: Wei Yang >--- > drivers/pci/i

[PATCH V14 10/21] PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable()

2015-03-19 Thread Wei Yang
VFs are dynamically created when a driver enables them. On some platforms, like PowerNV, special resources are necessary to enable VFs. Add platform hooks for enabling and disabling VFs. Signed-off-by: Wei Yang --- drivers/pci/iov.c | 19 +++ 1 file changed, 19 insertions(+)