Re: [PATCH v2 1/2] pci: Call pcibios_sriov_enable() before IOV BARs are enabled

2016-10-21 Thread Bjorn Helgaas
On Fri, Sep 30, 2016 at 09:47:49AM +1000, Gavin Shan wrote: > In current implementation, pcibios_sriov_enable() is used by PPC > PowerNV platform only. In PowerNV specific pcibios_sriov_enable(), > PF's IOV BARs might be updated (shifted) by pci_update_resource(). > It means the IOV BARs aren't rea

Re: [PATCH v2 1/2] pci: Call pcibios_sriov_enable() before IOV BARs are enabled

2016-10-10 Thread Gavin Shan
On Fri, Sep 30, 2016 at 09:47:49AM +1000, Gavin Shan wrote: >In current implementation, pcibios_sriov_enable() is used by PPC >PowerNV platform only. In PowerNV specific pcibios_sriov_enable(), >PF's IOV BARs might be updated (shifted) by pci_update_resource(). >It means the IOV BARs aren't ready f

[PATCH v2 1/2] pci: Call pcibios_sriov_enable() before IOV BARs are enabled

2016-09-29 Thread Gavin Shan
In current implementation, pcibios_sriov_enable() is used by PPC PowerNV platform only. In PowerNV specific pcibios_sriov_enable(), PF's IOV BARs might be updated (shifted) by pci_update_resource(). It means the IOV BARs aren't ready for decoding incoming memory address until pcibios_sriov_enable()