]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: 52xx: nop out unsupported critical IRQs
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 10 Oct 2012 23:19:15 +0000 (23:19 +0000)
committerAnatolij Gustschin <agust@denx.de>
Sat, 20 Oct 2012 11:38:32 +0000 (13:38 +0200)
commitc1be1718a9244e3abf74816c88de1eda2d88f55d
treee73b8e9bc4f7139bb0a3c4829d37db79ab2d8671
parentef4fbbb0e8fd8c1515c7362125a2bd805f707ea4
powerpc: 52xx: nop out unsupported critical IRQs

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@pengutronix.de>
Cc: John Bonesio <bones@secretlab.ca>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/52xx/mpc52xx_pic.c