<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Re: Interrupt ID number on mpc8347</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>> It's because the irqs are remapped by the kernel, the number in the<BR>
> device tree is a hardware irq number. The number you're printing out is<BR>
> a virtual irq number.<BR>
<BR>
> of_irq_to_resource() is doing the remapping for you.<BR>
<BR>
> You can turn on CONFIG_VIRQ_DEBUG and you'll get a file in debugfs that<BR>
> shows the mapping between hardware numbers and virtual numbers.<BR>
<BR>
Guys,<BR>
<BR>
I notice many people happened same issue to use the interrupt in powerpc<BR>
with DTS.<BR>
Could somebody write one documentation for interrupt system on powerpc arch,<BR>
- how to remap irq<BR>
- what is the virq? h/w irq.<BR>
- show the mapping virt->h/w..<BR>
etc..<BR>
I think if have this docs, it will be helpful.<BR>
<BR>
Thanks, Dave<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>