arm: iop13xx: Use sparse irqs for MSI
authorThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2014 15:44:04 +0000 (15:44 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 May 2014 12:05:18 +0000 (14:05 +0200)
commit37ebbcff78375bfa69eb69748ef00f577b7c1c6c
tree6881b33163a27f0cd233178af737590edaf76378
parent67bb90fd743ecf637f2e36eb9a39afcad08ef523
arm: iop13xx: Use sparse irqs for MSI

No need for a private allocator. The core code handles it
already.

Allocate the non MSI irqs right at boot time via machine_desc->nr_irqs
and let the sparse core handle the MSI space.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20140507154333.809210026@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arm/Kconfig
arch/arm/mach-iop13xx/include/mach/irqs.h
arch/arm/mach-iop13xx/include/mach/time.h
arch/arm/mach-iop13xx/iq81340mc.c
arch/arm/mach-iop13xx/iq81340sc.c
arch/arm/mach-iop13xx/msi.c
arch/arm/mach-iop13xx/setup.c
arch/arm/mach-iop13xx/tpmi.c