1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * include/linux/irqchip/arm-vgic-info.h
5 * Copyright (C) 2016 ARM Limited, All Rights Reserved.
7 #ifndef __LINUX_IRQCHIP_ARM_VGIC_INFO_H
8 #define __LINUX_IRQCHIP_ARM_VGIC_INFO_H
10 #include <linux/types.h>
11 #include <linux/ioport.h>
16 /* Full GICv3, optionally with v2 compat */
23 /* Virtual CPU interface */
25 /* Interrupt number */
26 unsigned int maint_irq;
27 /* No interrupt mask, no need to use the above field */
28 bool no_maint_irq_mask;
29 /* Virtual control interface */
30 struct resource vctrl;
35 /* Deactivation impared, subpar stuff */
36 bool no_hw_deactivation;
40 void vgic_set_kvm_info(const struct gic_kvm_info *info);
42 static inline void vgic_set_kvm_info(const struct gic_kvm_info *info) {}