[PATCH 2/4] fsl_msi: enable msi allocation in all banks
Li Yang
leoli at freescale.com
Mon Apr 19 16:46:42 EST 2010
On Mon, Apr 19, 2010 at 10:46 AM, Michael Ellerman
<michael at ellerman.id.au> wrote:
> On Fri, 2010-04-16 at 15:34 +0800, Li Yang wrote:
>> From: Zhao Chenhui <b26998 at 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 it's bitmap?
Yes, currently we are. What allocation algorithm do you think is
better? I don't think spreading the allocation evenly should have any
performance benefit. The point of multiple banks should be better
insulation through multiple OS's, IMHO.
- Leo
More information about the Linuxppc-dev
mailing list