ARCH=powerpc: IRQ numbers change mysteriously

Li Yang-r58472 LeoLi at freescale.com
Tue Oct 24 17:20:30 EST 2006


The irq number on powerpc ARCH is now a virtual number.  This change was
introduced by Ben's irq mapping change in early 2.6.18-rc.

- Leo

> -----Original Message-----
> From: linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org
> [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org] On
Behalf Of
> Fredrik Roubert
> Sent: Tuesday, October 24, 2006 12:41 AM
> To: linuxppc-embedded at ozlabs.org
> Subject: ARCH=powerpc: IRQ numbers change mysteriously
> 
> Hi!
> 
> On my MPC8439 based board, running Linux 2.6.18 with ARCH=powerpc, the
> IRQ's for the I2C behave in a for me mysterious way.
> 
> In my DTS file, I have the following:
> 
> 
> i2c at 3000 {
> 	device_type = "i2c";
> 	compatible = "fsl-i2c";
> 	reg = <3000 100>;
> 	interrupts = <e 8>;
> 	interrupt-parent = <&/soc8349 at ff400000/pic at 700>;
> 	dfsrr;
> };
> 
> i2c at 3100 {
> 	device_type = "i2c";
> 	compatible = "fsl-i2c";
> 	reg = <3000 100>;
> 	interrupts = <f 8>;
> 	interrupt-parent = <&/soc8349 at ff400000/pic at 700>;
> 	dfsrr;
> };
> 
> 
> But when I boot the system and cat /proc/interrupts, the output says:
> 
> 
> 18:         61   IPIC   Level     i2c-mpc
> 19:          0   IPIC   Level     i2c-mpc
> 
> 
> This doesn't make sense to me. Why are the IRQ numbers changed? They
are
> still adjacent, so it seems to be some logic to the change. Does
anyone
> know what this is?
> 
> Cheers // Fredrik Roubert
> 
> --
> Barco Medical Imaging          |  +32 56 233549
> http://www.barco.com/medical/  |  fredrik.roubert at barco.com
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded



More information about the Linuxppc-embedded mailing list