[PATCH v6 02/11] irqchip: mmp: support irqchip

Daniel Drake dsd at laptop.org
Mon Aug 12 18:53:48 EDT 2013


On Fri, Jul 26, 2013 at 4:05 AM, Haojian Zhuang
<haojian.zhuang at gmail.com> wrote:
> Support IRQCHIP on irq-mmp driver.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at gmail.com>
> ---
>  arch/arm/mach-mmp/mmp-dt.c  |   8 +-
>  arch/arm/mach-mmp/mmp2-dt.c |   8 +-
>  drivers/irqchip/irq-mmp.c   | 238 +++++++++++++++++++++++---------------------
>  3 files changed, 126 insertions(+), 128 deletions(-)

This patch causes boot to fail, tested on OLPC XO-1.75 (MMP2).

Calibrating delay loop... irq 13, desc: db804740, depth: 1, count: 0,
unhandled: 0
->handle_irq():  c00704f4, handle_bad_irq+0x0/0x214
->irq_data.chip(): c05aa2e8, 0xc05aa2e8
->action():   (null)
   IRQ_NOPROBE set
 IRQ_NOREQUEST set
irq 13, desc: db804740, depth: 1, count: 0, unhandled: 0
->handle_irq():  c00704f4, handle_bad_irq+0x0/0x214
->irq_data.chip(): c05aa2e8, 0xc05aa2e8
->action():   (null)
   IRQ_NOPROBE set
 IRQ_NOREQUEST set
irq 13, desc: db804740, depth: 1, count: 0, unhandled: 0
->handle_irq():  c00704f4, handle_bad_irq+0x0/0x214
->irq_data.chip(): c05aa2e8, 0xc05aa2e8
->action():   (null)
   IRQ_NOPROBE set
 IRQ_NOREQUEST set

continues as infinite loop.

I had a poke, trying to figure out what would have caused this,
without much luck. I tried to go back to irq_domain_add_legacy() and
sprinkled some icu_mask_irq() calls around, nothing changed. Any
ideas?

Thanks
Daniel



More information about the linux-arm-kernel mailing list