[PATCH 6/9] MPIC MSI allocator

Segher Boessenkool segher at kernel.crashing.org
Fri Dec 15 13:58:57 EST 2006


>>> If we are going to be pedantic, it should be msi-available- 
>>> sources :-)
>>
>> But a) it's not really MSI-only, and b) they're not source
>> numbers, but delivery vector numbers (yeah, those are almost
>> the same on U3/U4, but hey).
>
> Actually, they aren't vector numbers, those are what you program in  
> the
> MPIC itself to be emited. Thus they are source numbers according to  
> the
> last time I read the docs :-) Not that it matters anyway :-)

Yeah, my bad.

So how about:

"available-interrupts" denotes the input numbers to an
interrupt controller that the OS can freely assign.  This
naming fits in well with the other interrupt property names,
and the semantics are nicely generic.

"msi-ranges", if present, denotes the ranges of input
interrupt numbers that can be used for MSIs (does this
fit what you need well, Olof?)


Segher




More information about the Linuxppc-dev mailing list