linux_dsm_epyc7002/drivers/sh
Paul Mundt 1026023705 sh: intc: Handle domain association for sparseirq pre-allocated vectors.
Presently it's assumed that the irqdomain code handles the irq_desc
allocation for us, but this isn't necessarily the case when we've
pre-allocated IRQs via sparseirq. Previously we had a -EEXIST check in
the code that attempted to trap these cases and simply update them
in-place, but this behaviour was inadvertently lost in the transition to
irqdomains.

This simply restores the previous behaviour, first attempting to let the
irqdomain core fetch the allocation for us, and falling back to an
in-place domain association in the extant IRQ case. Fixes up regressions
on platforms that pre-allocate legacy IRQs (specifically ARM-based
SH-Mobile platforms, as SH stopped pre-allocating vectors some time ago).

Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-08-09 13:21:05 +09:00
..
clk sh: clkfwk: Consolidate div clk registration helper. 2012-05-25 16:55:05 +09:00
intc sh: intc: Handle domain association for sparseirq pre-allocated vectors. 2012-08-09 13:21:05 +09:00
maple sh: Add module.h to arch/sh specific files as required. 2011-10-31 19:31:04 -04:00
pfc sh: pfc: Fix up init ordering mess. 2012-08-01 16:27:38 +09:00
superhyway sh: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
Kconfig sh: pfc: Shuffle PFC support core. 2012-07-10 11:49:30 +09:00
Makefile sh: pfc: Shuffle PFC support core. 2012-07-10 11:49:30 +09:00
pm_runtime.c drivers: sh: Kill off dead pathname for runtime PM stub. 2011-11-11 15:58:50 +09:00