<!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>&gt; It's because the irqs are remapped by the kernel, the number in the<BR>
&gt; device tree is a hardware irq number. The number you're printing out is<BR>
&gt; a virtual irq number.<BR>
<BR>
&gt; of_irq_to_resource() is doing the remapping for you.<BR>
<BR>
&gt; You can turn on CONFIG_VIRQ_DEBUG and you'll get a file in debugfs that<BR>
&gt; 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>
&nbsp;- how to remap irq<BR>
&nbsp;- what is the virq? h/w irq.<BR>
&nbsp;- show the mapping virt-&gt;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>