irqchip/gic-v2m: Add support for multiple MSI frames
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 14 Oct 2015 11:27:17 +0000 (12:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Oct 2015 08:18:48 +0000 (10:18 +0200)
commita71225e204f5ba8b41e7bb100ca37c074861d5b1
tree7fd7c9c80f9acef2df9111836d4e7c320e438a07
parentdb8c70ec1f9d45e530383204c57f2971df4bd334
irqchip/gic-v2m: Add support for multiple MSI frames

The GICv2m driver is so far limited to a single MSI frame, but
nothing prevents an implementation from having several of them.

This patch expands the driver to enumerate all frames, keeping
the first one as the canonical identifier for the MSI domains.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: Duc Dang <dhdang@apm.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1444822037-16983-3-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic-v2m.c