[PATCH 2/2] staging: fsl-mc: do not print error in case of defer probe error

2017-12-06 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 409f2b9..10cee00 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc

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

2017-12-06 Thread Nipun Gupta
tion fails. This patch allocates the IRQ resources before scanning all the objects in the DPRC container. Signed-off-by: Nipun Gupta --- drivers/staging/fsl-mc/bus/dprc-driver.c | 49 ++-- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/drivers/staging/

RE: [PATCH 2/2] staging: fsl-mc: do not print error in case of defer probe error

2017-12-06 Thread Nipun Gupta
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Wednesday, December 06, 2017 16:46 > To: Nipun Gupta > Cc: Laurentiu Tudor ; stuyo...@gmail.com; Bharat > Bhushan ; cakt...@gmail.com; > bretth...@gmail.com; a...@arndb.de; de...@driver

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

2017-12-07 Thread Nipun Gupta
> -Original Message- > From: Laurentiu Tudor > Sent: Wednesday, December 06, 2017 19:00 > To: Nipun Gupta ; stuyo...@gmail.com; Bharat > Bhushan ; gre...@linuxfoundation.org; > cakt...@gmail.com; bretth...@gmail.com; a...@arndb.de > Cc: linux-ker..

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

2017-12-11 Thread Nipun Gupta
After this patch following is the flow of execution: FSL_MC Bus probe ---> dprc probe ---> dprc devices scan ---> allocate IRQ's ---> probe of devices in DPRC container. Signed-off-by: Nipun Gupta --- drivers/staging/fsl-mc/bus/dprc-driver.c | 49 ++--

[PATCH 2/2 v2] staging: fsl-mc: do not print error in case of defer probe error

2017-12-11 Thread Nipun Gupta
Devices on MC bus can be deferred because of dependencies on other modules (such as IOMMU). Those are not the actual errors; as probing is again done by the kernel at later stages. So this patch avoids the error print in such case. Signed-off-by: Nipun Gupta --- drivers/staging/fsl-mc/bus/fsl

[RESEND PATCH 2/2 v2] staging: fsl-mc: do not print error in case of defer probe error

2017-12-11 Thread Nipun Gupta
Devices on MC bus can be deferred because of dependencies on other modules (such as IOMMU). Those are not the actual errors; as probing is again done by the kernel at later stages. So this patch avoids the error print in such case. Signed-off-by: Nipun Gupta --- Resending v2 as missed mentioning

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

2017-12-11 Thread Nipun Gupta
After this patch following is the flow of execution: FSL_MC Bus probe ---> dprc probe ---> dprc devices scan ---> allocate IRQ's ---> probe of devices in DPRC container. Signed-off-by: Nipun Gupta --- Resending v2 as missed mentioning the changes in the version Changes in

[PATCH] fsl-mc: add helper macro to determine if a device is of fsl_mc type

2016-06-28 Thread Nipun Gupta
Add a helper macro to return if a device has a bus type of fsl_mc. This makes the bus driver code more readable and provides a way for drivers like the SMMU driver to easily check the bus type. Signed-off-by: Nipun Gupta Signed-off-by: Bharat Bhushan --- drivers/staging/fsl-mc/bus/dprc

[PATCH v2] fsl-mc: add helper macro to determine if a device is of fsl_mc type

2016-06-29 Thread Nipun Gupta
Add a helper macro to return if a device has a bus type of fsl_mc. This makes the bus driver code more readable and provides a way for drivers like the SMMU driver to easily check the bus type. Signed-off-by: Nipun Gupta Signed-off-by: Bharat Bhushan --- drivers/staging/fsl-mc/bus/dprc