[PATCH v2] powerpc: 52xx: nop out unsupported critical IRQs

Anatolij Gustschin agust at denx.de
Sat Oct 20 22:59:55 EST 2012


Hi,

On Thu, 11 Oct 2012 11:19:15 +0200
Wolfram Sang <w.sang at pengutronix.de> wrote:

> Currently, when booting MPC52xx based platforms, we get:
> 
>         mpc52xx_irqhost_map: invalid irq: virq=16, l1=0, l2=3
>         irq: irq-16==>hwirq-0x3 mapping failed: -22
>         [WARNing skipped]
> 
> The warning is wrong since the mapping itself is valid. However, there is no
> support for that type of IRQ currently. Print a proper warning and bind the irq
> to a no_irq chip.
> 
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> Cc: John Bonesio <bones at secretlab.ca>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> ---
> 
> Change since V1: drop the default state since all possibilities for l1 are now
> 		 covered in the switch-statement.
> 
>  arch/powerpc/platforms/52xx/mpc52xx_pic.c |    9 +++++----

applied, thanks!

Anatolij


More information about the Linuxppc-dev mailing list