diff options
author | Zeev Zilberman <zeev@amazon.com> | 2019-06-10 13:52:01 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-06-11 14:14:35 +0300 |
commit | 90b4c55586155cf13bbafbd4e55327f89681859d (patch) | |
tree | fb1093057d515ae1e24ab38f104f00f5131af1f0 /include/linux/irqchip/arm-gic-common.h | |
parent | 4770533f71de8d1891795d92b55633d82a80f882 (diff) | |
download | linux-90b4c55586155cf13bbafbd4e55327f89681859d.tar.xz |
irqchip/gic-v2m: Add support for Amazon Graviton variant of GICv3+GICv2m
Add support for Amazon Graviton custom variant of GICv2m, where the message
is encoded using the MSI message address, as opposed to standard
GICv2m, where the SPI number is encoded in the MSI message data.
In addition, the Graviton flavor of GICv2m is used along GICv3 (and not
GICv2).
Co-developed-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Zeev Zilberman <zeev@amazon.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/linux/irqchip/arm-gic-common.h')
-rw-r--r-- | include/linux/irqchip/arm-gic-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic-common.h b/include/linux/irqchip/arm-gic-common.h index 9a1a479a2bf4..62a882104790 100644 --- a/include/linux/irqchip/arm-gic-common.h +++ b/include/linux/irqchip/arm-gic-common.h @@ -39,4 +39,9 @@ struct gic_kvm_info { const struct gic_kvm_info *gic_get_kvm_info(void); +struct irq_domain; +struct fwnode_handle; +int gicv2m_init(struct fwnode_handle *parent_handle, + struct irq_domain *parent); + #endif /* __LINUX_IRQCHIP_ARM_GIC_COMMON_H */ |