c9febb2a0c3e28509a237da00a151b865fd66373
[firefly-linux-kernel-4.4.55.git] / Documentation / virtual / kvm / devices / arm-vgic.txt
1 ARM Virtual Generic Interrupt Controller (VGIC)
2 ===============================================
3
4 Device types supported:
5   KVM_DEV_TYPE_ARM_VGIC_V2     ARM Generic Interrupt Controller v2.0
6
7 Only one VGIC instance may be instantiated through either this API or the
8 legacy KVM_CREATE_IRQCHIP api.  The created VGIC will act as the VM interrupt
9 controller, requiring emulated user-space devices to inject interrupts to the
10 VGIC instead of directly to CPUs.
11
12 Groups:
13   KVM_DEV_ARM_VGIC_GRP_ADDR
14   Attributes:
15     KVM_VGIC_V2_ADDR_TYPE_DIST (rw, 64-bit)
16       Base address in the guest physical address space of the GIC distributor
17       register mappings.
18
19     KVM_VGIC_V2_ADDR_TYPE_CPU (rw, 64-bit)
20       Base address in the guest physical address space of the GIC virtual cpu
21       interface register mappings.