Re: [PATCH V10 03/12] powerpc/pci: Cache VF index in pci_dn

2015-10-29 Thread Wei Yang
On Fri, Oct 30, 2015 at 01:05:43PM +1100, Alexey Kardashevskiy wrote: >On 10/26/2015 02:15 PM, Wei Yang wrote: >>The patch caches the VF index in pci_dn, which can be used to calculate >>VF's bus, device and function number. Those information helps to locate >>the VF's PCI device instance when doin

Re: [PATCH V10 03/12] powerpc/pci: Cache VF index in pci_dn

2015-10-29 Thread Alexey Kardashevskiy
On 10/26/2015 02:15 PM, Wei Yang wrote: The patch caches the VF index in pci_dn, which can be used to calculate VF's bus, device and function number. Those information helps to locate the VF's PCI device instance when doing hotplug during EEH recovery if necessary. The patch itself does not ma

Re: [PATCH V10 03/12] powerpc/pci: Cache VF index in pci_dn

2015-10-27 Thread Wei Yang
On Wed, Oct 28, 2015 at 09:04:34AM +1100, Daniel Axtens wrote: >Hi, > >> >> diff --git a/arch/powerpc/include/asm/pci-bridge.h >> b/arch/powerpc/include/asm/pci-bridge.h >> index b3a226b..3d7e537 100644 >> --- a/arch/powerpc/include/asm/pci-bridge.h >> +++ b/arch/powerpc/include/asm/pci-bridge.h >

Re: [PATCH V10 03/12] powerpc/pci: Cache VF index in pci_dn

2015-10-27 Thread Daniel Axtens
Hi, > > diff --git a/arch/powerpc/include/asm/pci-bridge.h > b/arch/powerpc/include/asm/pci-bridge.h > index b3a226b..3d7e537 100644 > --- a/arch/powerpc/include/asm/pci-bridge.h > +++ b/arch/powerpc/include/asm/pci-bridge.h > @@ -210,6 +210,7 @@ struct pci_dn { > #define IODA_INVALID_PE

Re: [PATCH V10 03/12] powerpc/pci: Cache VF index in pci_dn

2015-10-26 Thread Andrew Donnellan
On 26/10/15 14:15, Wei Yang wrote: The patch caches the VF index in pci_dn, which can be used to calculate VF's bus, device and function number. Those information helps to locate the VF's PCI device instance when doing hotplug during EEH recovery if necessary. Signed-off-by: Wei Yang Acked-by: