Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-07 Thread Laurentiu Tudor
nxp.com>; gre...@linuxfoundation.org; >> cakt...@gmail.com; bretth...@gmail.com; a...@arndb.de >> Cc: linux-ker...@vger.kernel.org; de...@driverdev.osuosl.org >> Subject: Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC >> objects >> >> Hi N

RE: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-07 Thread Nipun Gupta
com; a...@arndb.de > Cc: linux-ker...@vger.kernel.org; de...@driverdev.osuosl.org > Subject: Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC > objects > > Hi Nipun, > > Can you polish a bit this commit message? It doesn't seem to explain why > this is

Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-06 Thread Laurentiu Tudor
> Bhushan <bharat.bhus...@nxp.com>; gre...@linuxfoundation.org; >> cakt...@gmail.com; bretth...@gmail.com; a...@arndb.de >> Cc: linux-ker...@vger.kernel.org; de...@driverdev.osuosl.org >> Subject: Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC >> objects &g

RE: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-06 Thread Bharat Bhushan
gmail.com; bretth...@gmail.com; a...@arndb.de > Cc: linux-ker...@vger.kernel.org; de...@driverdev.osuosl.org > Subject: Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC > objects > > Hi Nipun, > > Can you polish a bit this commit message? It doesn't seem to explai

Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-06 Thread Laurentiu Tudor
Hi Nipun, Can you polish a bit this commit message? It doesn't seem to explain why this is needed. On 12/06/2017 06:18 PM, Nipun Gupta wrote: > When DPRC probing is deferred (such as where IOMMU is not probed > before the fsl-mc bus), all the devices in the DPRC containers gets > initialized

[PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-06 Thread Nipun Gupta
When DPRC probing is deferred (such as where IOMMU is not probed before the fsl-mc bus), all the devices in the DPRC containers gets initialized one after another. As IRQ's were allocated only once the DPRC scanning is completed, the devices like DPIO which uses these IRQ's at initalization fails.