OSDN Git Service

irqchip/gic-v3: Add support for Message Based Interrupts as an MSI controller
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 8 May 2018 12:14:36 +0000 (13:14 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 13 May 2018 13:59:01 +0000 (15:59 +0200)
commit505287525c24d5c78b662fd73721ad9900b91fcc
treeb12a24720a5963ba2b64c2bc169845f6a36c7fec
parentb2425b51bed7437c08c11ce71bb0f308f4516451
irqchip/gic-v3: Add support for Message Based Interrupts as an MSI controller

GICv3 offers the possibility to signal SPIs using a pair of doorbells
(SETPI, CLRSPI) under the name of Message Based Interrupts (MBI).
They can be used as either traditional (edge) MSIs, or the more exotic
level-triggered flavour.

Let's implement support for platform MSI, which is the original intent
for this feature.

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-8-marc.zyngier@arm.com
drivers/irqchip/Makefile
drivers/irqchip/irq-gic-v3-mbi.c [new file with mode: 0644]
drivers/irqchip/irq-gic-v3.c
include/linux/irqchip/arm-gic-v3.h