summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-gic-common.h
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@arm.com>2016-04-11 18:32:54 +0300
committerChristoffer Dall <christoffer.dall@linaro.org>2016-05-03 13:54:21 +0300
commit502d6df11ae394301470703fa6e485a0dc133401 (patch)
tree996904d7b5ddca66ea74ec31e3c9f29cb1ead7a1 /drivers/irqchip/irq-gic-common.h
parentbafa9193d00c7bfff4c4aea0d48cd2b55a6378c2 (diff)
downloadlinux-502d6df11ae394301470703fa6e485a0dc133401.tar.xz
irqchip/gic-v2: Parse and export virtual GIC information
For now, the firmware tables are parsed 2 times: once in the GIC drivers, the other timer when initializing the vGIC. It means code duplication and make more tedious to add the support for another firmware table (like ACPI). Introduce a new structure and set of helpers to get/set the virtual GIC information. Also fill up the structure for GICv2. Signed-off-by: Julien Grall <julien.grall@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'drivers/irqchip/irq-gic-common.h')
-rw-r--r--drivers/irqchip/irq-gic-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-gic-common.h b/drivers/irqchip/irq-gic-common.h
index fff697db8e22..205e5fddf6da 100644
--- a/drivers/irqchip/irq-gic-common.h
+++ b/drivers/irqchip/irq-gic-common.h
@@ -19,6 +19,7 @@
#include <linux/of.h>
#include <linux/irqdomain.h>
+#include <linux/irqchip/arm-gic-common.h>
struct gic_quirk {
const char *desc;
@@ -35,4 +36,6 @@ void gic_cpu_config(void __iomem *base, void (*sync_access)(void));
void gic_enable_quirks(u32 iidr, const struct gic_quirk *quirks,
void *data);
+void gic_set_kvm_info(const struct gic_kvm_info *info);
+
#endif /* _IRQ_GIC_COMMON_H */