commit | 995df527f3990d91fe8f3d7d1917a7adc3938320 | [log] [tgz] |
---|---|---|
author | Wei Yang <weiyang@linux.vnet.ibm.com> | Wed Mar 25 16:23:49 2015 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Mar 31 13:02:36 2015 +1100 |
tree | b79901f58f1ca5dbf776d31eab4d227e6f73f856 | |
parent | b07579c0924eee1543eb6cd2c19544d15a4b5236 [diff] |
PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable() 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 <weiyang@linux.vnet.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>