]> asedeno.scripts.mit.edu Git - linux.git/commit
irqchip/gic-v3: Add PCI/MSI support to the GICv3 MBI sub-driver
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 8 May 2018 12:14:37 +0000 (13:14 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 13 May 2018 13:59:01 +0000 (15:59 +0200)
commit38985351492b4ef2f63ffe527ef7cdfa66680f94
treea465e53289ea325a6646e3c96e6e69e7bb0efba5
parent505287525c24d5c78b662fd73721ad9900b91fcc
irqchip/gic-v3: Add PCI/MSI support to the GICv3 MBI sub-driver

You would hope that if you have a GICv3 in your system, you'd use the ITS,
as it provides a large interrupt ID space and device isolation. Sadly,
some SoC integrations are less than perfect, and the ITS is not usesable on
those.

The only solution for these systems is to use the MBI interface, and
rely on a very small number of possible vectors.

This patch thus adds minimal support for PCI/MSI on top of the GICv3
MBI driver. Please don't use it if you can avoid it.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lkml.kernel.org/r/20180508121438.11301-9-marc.zyngier@arm.com
drivers/irqchip/irq-gic-v3-mbi.c