Re: [PATCH v3 0/2] Disable VF's memory space on updating IOV BARs

2016-11-28 Thread Bjorn Helgaas
On Wed, Nov 23, 2016 at 05:49:10PM -0600, Bjorn Helgaas wrote: > On Wed, Oct 26, 2016 at 12:15:34PM +1100, Gavin Shan wrote: > > This moves pcibios_sriov_enable() to the point before VF and VF BARs > > are enabled on PowerNV platform. Also, pci_update_resource() is used > > to update IOV BARs on Po

Re: [PATCH v3 0/2] Disable VF's memory space on updating IOV BARs

2016-11-23 Thread Bjorn Helgaas
On Wed, Oct 26, 2016 at 12:15:34PM +1100, Gavin Shan wrote: > This moves pcibios_sriov_enable() to the point before VF and VF BARs > are enabled on PowerNV platform. Also, pci_update_resource() is used > to update IOV BARs on PowerNV platform, the PF might have been functional > when the function i

[PATCH v3 0/2] Disable VF's memory space on updating IOV BARs

2016-10-25 Thread Gavin Shan
This moves pcibios_sriov_enable() to the point before VF and VF BARs are enabled on PowerNV platform. Also, pci_update_resource() is used to update IOV BARs on PowerNV platform, the PF might have been functional when the function is called. We shouldn't disable PF's memory decoding at that point. I