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

2010-04-18 Thread Li Yang
On Mon, Apr 19, 2010 at 10:46 AM, Michael Ellerman wrote: > On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote: >> From: Zhao Chenhui >> >> 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

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 > > 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 it's bitmap? > S

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

2010-04-15 Thread Li Yang
From: Zhao Chenhui 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 Signed-off-by: Li Yang --- arch/powerpc/sysdev/fsl_msi.c | 29 ++--- arch/powerpc/sysdev/fsl_msi.h |