Re: [PATCH V8 06/10] powerpc/eeh: Create PE for VFs

2015-07-16 Thread Bjorn Helgaas
On Thu, Jun 18, 2015 at 04:06:41PM +0800, Wei Yang wrote: > Current EEH recovery code works with the assumption: the PE has primary > bus. Unfortunately, that's not true for VF PEs, which generally contains > one or multiple VFs (for VF group case). > > The patch introduces a weak function pcibios

[PATCH V8 06/10] powerpc/eeh: Create PE for VFs

2015-06-18 Thread Wei Yang
Current EEH recovery code works with the assumption: the PE has primary bus. Unfortunately, that's not true for VF PEs, which generally contains one or multiple VFs (for VF group case). The patch introduces a weak function pcibios_bus_add_device() which is called by pci_bus_add_device(). In this f