Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-19 Thread Kumar Gala
On Apr 18, 2010, at 11:50 PM, Li Yang wrote: On 4/19/2010 10:40 AM, Michael Ellerman wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhuib26...@freescale.com In fsl_of_msi_probe(), the virt_msir's chip_data have been stored the pointer to struct mpic. We add a

Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-19 Thread Li Yang
On Mon, Apr 19, 2010 at 8:19 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Apr 18, 2010, at 11:50 PM, Li Yang wrote: On 4/19/2010 10:40 AM, Michael Ellerman wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhuib26...@freescale.com In fsl_of_msi_probe(), the

Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-18 Thread Michael Ellerman
On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhui b26...@freescale.com In fsl_of_msi_probe(), the virt_msir's chip_data have been stored the pointer to struct mpic. We add a struct fsl_msi_cascade_data to store the pointer to struct fsl_msi and msir_index. Otherwise, the

Re: [PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-18 Thread Li Yang
On 4/19/2010 10:40 AM, Michael Ellerman wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhuib26...@freescale.com In fsl_of_msi_probe(), the virt_msir's chip_data have been stored the pointer to struct mpic. We add a struct fsl_msi_cascade_data to store the pointer to

[PATCH 1/4] fsl_msi: fix the conflict of virt_msir's chip_data

2010-04-16 Thread Li Yang
From: Zhao Chenhui b26...@freescale.com In fsl_of_msi_probe(), the virt_msir's chip_data have been stored the pointer to struct mpic. We add a struct fsl_msi_cascade_data to store the pointer to struct fsl_msi and msir_index. Otherwise, the pointer to struct mpic will be over-written, and will