Re: [PATCH V7 03/10] powerpc/pci: Remove VFs prior to PF

2015-06-01 Thread Wei Yang
On Mon, Jun 01, 2015 at 06:20:05PM -0500, Bjorn Helgaas wrote: >On Tue, May 19, 2015 at 06:50:05PM +0800, Wei Yang wrote: >> As commit ac205b7b ("PCI: make sriov work with hotplug remove") indicates, > >The conventional reference is: > > ac205b7bb72f ("PCI: make sriov work with hotplug remove") >

Re: [PATCH V7 03/10] powerpc/pci: Remove VFs prior to PF

2015-06-01 Thread Bjorn Helgaas
On Tue, May 19, 2015 at 06:50:05PM +0800, Wei Yang wrote: > As commit ac205b7b ("PCI: make sriov work with hotplug remove") indicates, The conventional reference is: ac205b7bb72f ("PCI: make sriov work with hotplug remove") > VFs, which might be hooked to same PCI bus as their PF should be rem

[PATCH V7 03/10] powerpc/pci: Remove VFs prior to PF

2015-05-19 Thread Wei Yang
As commit ac205b7b ("PCI: make sriov work with hotplug remove") indicates, VFs, which might be hooked to same PCI bus as their PF should be removed before the PF. Otherwise, the PCI hot unplugging on the PCI bus would cause kernel crash. The patch applies the above pattern to PowerPC PCI hotplug p