lkml.org 
[lkml]   [2006]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.17-rc5-mm1
From
Date
 > then i guess a quick solution would be to do:
>
> if (!irq_desc[irq].irq_handler)
> __do_IRQ(irq, regs);
> else
> generic_handle_irq(irq, regs);
>
> in arch/x86_64/kernel/irq.c [and in arch/i386/kernel/irq.c], and
> __do_IRQ() should handle the old-style irq-type MSI code just fine.

Indeed (fixing ".irq_handler" to be ".handle_irq"), with that change
MSI-X works fine with ib_mthca on my system. The only slightly funny
quirk is that the IRQ type is shown as "PCI-MSI-X-<NULL>", I guess
because it's printing handle_irq_name(NULL).

However (as BenH pointed out) there's definitely some work to do to
untangle MSI...

- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-31 01:34    [W:0.199 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site