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-10-31 14:03:27 +01:00
2011-09-26 09:36:36 +01:00
2011-03-10 15:16:29 +00:00
2009-12-12 13:08:14 +01:00
2011-07-07 15:31:05 +01:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:46 -07:00
2010-12-05 08:39:36 +00:00
2011-03-16 23:35:26 +00:00
2010-10-04 20:57:09 +01:00
2011-07-19 18:09:45 +02:00
2010-01-10 13:03:52 +00:00
2011-10-17 09:02:43 +01:00
2011-08-22 12:00:10 +00:00
2011-07-18 15:30:57 -04:00
2010-11-04 15:44:31 +00:00
2011-05-14 21:36:55 +01:00
2011-10-23 13:32:29 +01:00
2010-01-15 17:10:14 +09:00
2011-10-17 09:02:44 +01:00
2011-05-26 10:31:06 +01:00
2011-01-27 11:48:58 +00:00
2011-03-31 11:26:23 -03:00
2010-09-02 15:28:43 +01:00
2011-09-26 12:36:47 +01:00
2011-03-31 11:26:23 -03:00
2011-02-12 11:52:21 +00:00
2011-02-12 11:52:21 +00: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
2011-02-23 17:24:17 +00:00
2011-08-31 10:42:48 +01:00
2011-03-29 14:47:57 +02:00
2011-07-07 19:20:51 +01:00
2011-01-31 10:53:42 +00:00
2010-10-22 10:19:59 -07:00
2011-07-12 19:42:40 +08:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2011-03-03 16:26:55 -05:00
2010-10-29 13:14:40 -05:00
2010-05-20 21:04:21 -05:00
2011-07-13 17:32:42 +00:00
2010-06-09 11:12:36 +02:00
2011-10-23 13:32:33 +01:00
2009-12-12 13:08:14 +01:00
2010-10-27 21:41:39 +01:00
2011-10-13 12:53:53 -04:00
2009-12-11 06:34:09 -05:00
2010-10-01 22:35:19 -04:00
2010-11-23 22:46:12 +00:00
2011-08-13 11:26:40 +01:00
2011-03-20 09:32:12 +00:00
2011-05-26 10:23:24 +01:00
2011-07-12 11:19:29 -05:00
2011-07-07 19:20:53 +01:00
2011-02-23 16:19:21 +00:00
2010-03-13 10:48:22 +00:00
2011-09-23 12:05:30 +05:30
2011-08-31 10:50:13 +01:00
2011-09-20 23:33:44 +01:00
2011-03-16 23:35:25 +00:00
2011-07-28 01:32:04 -06:00
2011-07-13 17:32:43 +00:00
2011-06-02 11:16:22 +01:00
2011-01-11 16:23:04 +00:00
2010-10-01 22:32:18 -04:00
2011-07-22 23:08:48 +01:00
2011-04-16 12:52:18 +01:00
2010-10-18 22:34:25 +01:00
2011-02-11 12:29:18 +00:00
2011-10-23 13:32:33 +01:00
2011-10-23 13:32:29 +01:00
2009-10-12 13:26:31 -07:00
2009-12-14 23:55:32 +01:00
2011-05-23 17:19:26 +01:00
2010-06-14 21:31:00 -04:00
2011-09-20 23:33:36 +01:00
2009-10-25 15:59:53 +00:00
2011-10-17 09:02:44 +01:00
2011-07-06 20:49:45 +01:00
2010-08-10 13:47:39 -07:00
2010-10-01 22:32:18 -04:00
2011-04-10 21:13:36 +01:00
2011-05-25 08:39:14 -07:00
2011-07-19 11:44:06 +01:00
2011-02-02 21:23:29 +00:00
2011-10-17 09:02:43 +01:00
2011-07-22 17:19:02 +01:00
2011-03-23 19:47:18 -07:00
2010-11-04 15:44:31 +00:00
2011-03-31 11:26:23 -03:00
2009-09-18 23:30:11 +01:00
2011-09-17 12:50:57 +01:00
2011-03-10 15:16:29 +00:00
2010-07-09 14:41:34 +01:00
2011-07-12 11:19:29 -05:00