Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-31 Thread Bjorn Helgaas
On Wed, Aug 30, 2017 at 02:02:06PM -0500, Bjorn Helgaas wrote: > On Fri, Aug 11, 2017 at 06:19:33PM +1000, Alexey Kardashevskiy wrote: > > From: Gavin Shan > > > > The PowerNV platform is the only user of pcibios_sriov_disable(). > > The IOV BAR could be shifted by pci_iov_update_resource(). The

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-30 Thread Alexey Kardashevskiy
On 31/08/17 05:02, Bjorn Helgaas wrote: > On Fri, Aug 11, 2017 at 06:19:33PM +1000, Alexey Kardashevskiy wrote: >> From: Gavin Shan >> >> The PowerNV platform is the only user of pcibios_sriov_disable(). >> The IOV BAR could be shifted by pci_iov_update_resource(). The >> warning message in the fu

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-30 Thread Bjorn Helgaas
On Fri, Aug 11, 2017 at 06:19:33PM +1000, Alexey Kardashevskiy wrote: > From: Gavin Shan > > The PowerNV platform is the only user of pcibios_sriov_disable(). > The IOV BAR could be shifted by pci_iov_update_resource(). The > warning message in the function is printed if the IOV capability > is i

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-20 Thread Alexey Kardashevskiy
On 19/08/17 01:27, Bjorn Helgaas wrote: > On Fri, Aug 18, 2017 at 08:05:42AM +1000, Alexey Kardashevskiy wrote: >> On 11/08/17 18:19, Alexey Kardashevskiy wrote: >>> From: Gavin Shan >>> >>> The PowerNV platform is the only user of pcibios_sriov_disable(). >>> The IOV BAR could be shifted by pci_i

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-18 Thread Bjorn Helgaas
On Fri, Aug 18, 2017 at 08:05:42AM +1000, Alexey Kardashevskiy wrote: > On 11/08/17 18:19, Alexey Kardashevskiy wrote: > > From: Gavin Shan > > > > The PowerNV platform is the only user of pcibios_sriov_disable(). > > The IOV BAR could be shifted by pci_iov_update_resource(). The > > warning mess

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-17 Thread Alexey Kardashevskiy
On 11/08/17 18:19, Alexey Kardashevskiy wrote: > From: Gavin Shan > > The PowerNV platform is the only user of pcibios_sriov_disable(). > The IOV BAR could be shifted by pci_iov_update_resource(). The > warning message in the function is printed if the IOV capability > is in enabled (PCI_SRIOV_CT

[PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-11 Thread Alexey Kardashevskiy
From: Gavin Shan The PowerNV platform is the only user of pcibios_sriov_disable(). The IOV BAR could be shifted by pci_iov_update_resource(). The warning message in the function is printed if the IOV capability is in enabled (PCI_SRIOV_CTRL_VFE && PCI_SRIOV_CTRL_MSE) state. This is the backtrace