lkml.org 
[lkml]   [2008]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Multiple MSI
> In most cases that I can see the conversion from irq number to irq_desc
> is done in the genirq code, so I don't see why you couldn't just put a
> remapping in there from irq numbers to descs that doesn't use an array.
> But maybe I'm missing something.

There are a pile of drivers you would also need to fix up that use NR_IRQ
sized tables. There is also the performance concern. The irq->desc
conversion has to be very fast.

It would be better (IMHO) if dev->irq and irq in general was a pointer
whose number for end users was irq->num or similar.


\
 
 \ /
  Last update: 2008-07-04 10:31    [from the cache]
©2003-2011 Jasper Spaans