Interrupt ID number on mpc8347

Liu Dave-R63238 DaveLiu at freescale.com
Sat Apr 4 02:00:16 EST 2009


> It's because the irqs are remapped by the kernel, the number in the
> device tree is a hardware irq number. The number you're printing out is
> a virtual irq number.

> of_irq_to_resource() is doing the remapping for you.

> You can turn on CONFIG_VIRQ_DEBUG and you'll get a file in debugfs that
> shows the mapping between hardware numbers and virtual numbers.

Guys,

I notice many people happened same issue to use the interrupt in powerpc
with DTS.
Could somebody write one documentation for interrupt system on powerpc arch,
 - how to remap irq
 - what is the virq? h/w irq.
 - show the mapping virt->h/w..
etc..
I think if have this docs, it will be helpful.

Thanks, Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090403/942bc7ec/attachment.htm>


More information about the Linuxppc-dev mailing list