genirq/msi: Limit level-triggered MSI to platform devices
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 8 May 2018 12:14:31 +0000 (13:14 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 13 May 2018 13:58:59 +0000 (15:58 +0200)
commit6988e0e0d28328467e218f59589b2770675a9ebd
tree823e5cb928612d0bf2186f1600c0191124156eb8
parent0be8153cbc2af9a96e9ab8631fc3ba23bb52dbe3
genirq/msi: Limit level-triggered MSI to platform devices

Nobody would be insane enough to try and use level triggered
MSIs on PCI, but let's make sure it doesn't happen. Also,
let's mandate that the irqchip backing the platform MSI domain
is providing the IRQCHIP_SUPPORTS_LEVEL_MSI flag.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <robh@kernel.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lkml.kernel.org/r/20180508121438.11301-3-marc.zyngier@arm.com
drivers/base/platform-msi.c
drivers/bus/fsl-mc/fsl-mc-msi.c
drivers/pci/msi.c
include/linux/irq.h