aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irqchip/arm-gic-common.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-06-25 14:10:46 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2017-08-31 15:31:42 +0100
commit4bdf502517288662d883fbaa915874790f51a2cd (patch)
treed27a0e72dc5d68d6a97b73b52db9e75b879e55e8 /include/linux/irqchip/arm-gic-common.h
parentirqchip/gic-v4: Enable low-level GICv4 operations (diff)
downloadlinux-dev-4bdf502517288662d883fbaa915874790f51a2cd.tar.xz
linux-dev-4bdf502517288662d883fbaa915874790f51a2cd.zip
irqchip/gic-v3: Advertise GICv4 support to KVM
As KVM needs to know about the availability of GICv4 to enable direct injection of interrupts, let's advertise the feature in the gic_kvm_info structure. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic-common.h b/include/linux/irqchip/arm-gic-common.h
index c647b0547bcd..0a83b4379f34 100644
--- a/include/linux/irqchip/arm-gic-common.h
+++ b/include/linux/irqchip/arm-gic-common.h
@@ -27,6 +27,8 @@ struct gic_kvm_info {
unsigned int maint_irq;
/* Virtual control interface */
struct resource vctrl;
+ /* vlpi support */
+ bool has_v4;
};
const struct gic_kvm_info *gic_get_kvm_info(void);