Re: [PATCH v2] powerpc/pci: Improve device hotplug initialization

2013-06-23 Thread Guenter Roeck
On Mon, Jun 24, 2013 at 11:49:49AM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2013-06-21 at 09:54 -0700, Guenter Roeck wrote: > > > > v2: Ensure that PCI bus fixup code has been executed before calling > > > device setup code. > > > > > Hi Ben, > > > > any comments/feedback on this appro

Re: [PATCH v2] powerpc/pci: Improve device hotplug initialization

2013-06-23 Thread Benjamin Herrenschmidt
On Fri, 2013-06-21 at 09:54 -0700, Guenter Roeck wrote: > > v2: Ensure that PCI bus fixup code has been executed before calling > > device setup code. > > > Hi Ben, > > any comments/feedback on this approach ? > > It is much less invasive than before and should address your concerns. And a

Re: [PATCH v2] powerpc/pci: Improve device hotplug initialization

2013-06-21 Thread Guenter Roeck
On Mon, Jun 10, 2013 at 10:18:08AM -0700, Guenter Roeck wrote: > Commit 37f02195b (powerpc/pci: fix PCI-e devices rescan issue on powerpc > platform) fixes a problem with interrupt and DMA initialization on hot > plugged devices. With this commit, interrupt and DMA initialization for > hot plugged

[PATCH v2] powerpc/pci: Improve device hotplug initialization

2013-06-10 Thread Guenter Roeck
Commit 37f02195b (powerpc/pci: fix PCI-e devices rescan issue on powerpc platform) fixes a problem with interrupt and DMA initialization on hot plugged devices. With this commit, interrupt and DMA initialization for hot plugged devices is handled in the pci device enable function. This approach ha