Files
linux/arch/arm/include/asm
Rob Herring f37a53cc5d ARM: gic: fix irq_alloc_descs handling for sparse irq
Commit "ARM: gic: add irq_domain support" (b49b6ff) breaks SPARSE_IRQ
on platforms with GIC. When SPARSE_IRQ is enabled, all NR_IRQS or
mach_desc->nr_irqs will be allocated by arch_probe_nr_irqs(). This caused
irq_alloc_descs to allocate irq_descs after the pre-allocated space.

Make irq_alloc_descs search for an exact irq range and assume it has
been pre-allocated on failure. For DT probing dynamic allocation is used.
DT enabled platforms should set their nr_irqs to NR_IRQ_LEGACY and have all
irq_chips allocate their irq_descs with irq_alloc_descs if SPARSE_IRQ is
enabled.

gic_init irq_start param is changed to be signed with negative meaning do
dynamic Linux irq assigment.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2011-10-31 14:03:27 +01:00
..
…
…
…
…
2011-03-16 23:35:26 +00:00
…
…
…
…
…
2011-07-18 15:30:57 -04:00
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-16 23:35:26 +00:00
2011-03-31 11:26:23 -03:00
…
2011-10-23 13:32:29 +01:00
…
…
…
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
…
2010-10-29 13:14:40 -05:00
…
…
…
2010-06-09 11:12:36 +02:00
…
…
2010-10-27 21:41:39 +01:00
…
…
…
…
…
…
2011-07-12 11:19:29 -05:00
…
2011-08-31 10:50:13 +01:00
…
2011-09-20 23:33:44 +01:00
2011-03-16 23:35:25 +00:00
2010-10-01 22:32:18 -04:00
…
…
…
…
…
…
2011-04-16 12:52:18 +01:00
2011-10-23 13:32:29 +01:00
…
…
…
…
…
…
2010-10-01 22:32:18 -04:00
…
2011-05-25 08:39:14 -07:00
2011-03-23 19:47:18 -07:00
2011-03-31 11:26:23 -03:00
…
…
2011-07-12 11:19:29 -05:00
…