Thread (5 messages) 5 messages, 3 authors, 2012-02-28
DORMANTno replies

[PATCH] ARM: OMAP: irqs: Fix NR_IRQS value to handle PRCM interrupts

From: tony@atomide.com (Tony Lindgren)
Date: 2012-02-28 23:55:28
Also in: linux-omap

* Cousson, Benoit [off-list ref] [120228 04:38]:
The following commit: 2f31b51659c2d8315ea2888ba5b93076febe672b
Author: Tero Kristo [off-list ref]
Date:   Fri Dec 16 14:37:00 2011 -0700

    ARM: OMAP4: PRM: use PRCM interrupt handler

introduced the PRCM interrupt handler and thus the need
for 64 more interrupts. Since SPARSE_IRQ is still not fully
functional on OMAP, the NR_IRQS needs to be updated to avoid
the failure that happen during irq_alloc_descs call inside
the PRCM driver:

[    0.208221] PRCM: failed to allocate irq descs: -12

Later the mux framework is then unable to request an IRQ from
the PRCM interrupt handler.

[    1.802795] mux: Failed to setup hwmod io irq -22

Fix that by adding 64 more interrupts for OMAP2PLUS config.

Signed-off-by: Benoit Cousson <redacted>
Cc: Tero Kristo <redacted>
---
Tony,

This patch should probably go for the next -rc if possible.
Thanks applying into fixes as it seems like the only available
fix right now.

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help