Re: [PATCH 2/4] fsl_msi: enable msi allocation in all banks

2010-04-19 Thread Li Yang
On Mon, Apr 19, 2010 at 10:46 AM, Michael Ellerman mich...@ellerman.id.au wrote: On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhui b26...@freescale.com Put all fsl_msi banks in a linked list. The list of banks then can be traversed when allocating new msi interrupts. So

Re: [PATCH 2/4] fsl_msi: enable msi allocation in all banks

2010-04-18 Thread Michael Ellerman
On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: From: Zhao Chenhui b26...@freescale.com Put all fsl_msi banks in a linked list. The list of banks then can be traversed when allocating new msi interrupts. So there are multiple banks, and you just use the first one that has an empty slot in

[PATCH 2/4] fsl_msi: enable msi allocation in all banks

2010-04-16 Thread Li Yang
From: Zhao Chenhui b26...@freescale.com Put all fsl_msi banks in a linked list. The list of banks then can be traversed when allocating new msi interrupts. Signed-off-by: Zhao Chenhui b26...@freescale.com Signed-off-by: Li Yang le...@freescale.com --- arch/powerpc/sysdev/fsl_msi.c | 29