Re: [PATCH v4 16/21] powerpc/pci: Create eeh_dev while creating pci_dn

2015-05-11 Thread Gavin Shan
On Sun, May 10, 2015 at 01:08:28AM +1000, Alexey Kardashevskiy wrote: On 05/01/2015 04:03 PM, Gavin Shan wrote: The eeh_dev is always created based on pci_dn, but with initcall supported by core_initcall_sync(). The patch creates eeh_dev when pci_dn is created, indicating they have same life

Re: [PATCH v4 16/21] powerpc/pci: Create eeh_dev while creating pci_dn

2015-05-09 Thread Alexey Kardashevskiy
On 05/01/2015 04:03 PM, Gavin Shan wrote: The eeh_dev is always created based on pci_dn, but with initcall supported by core_initcall_sync(). The patch creates eeh_dev when pci_dn is created, indicating they have same life cycle. Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com ---

[PATCH v4 16/21] powerpc/pci: Create eeh_dev while creating pci_dn

2015-05-01 Thread Gavin Shan
The eeh_dev is always created based on pci_dn, but with initcall supported by core_initcall_sync(). The patch creates eeh_dev when pci_dn is created, indicating they have same life cycle. Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com --- arch/powerpc/include/asm/eeh.h | 6 --