Lines Matching full:vgic
2 * VGIC: KVM DEVICE API
21 #include "vgic.h"
42 if (kvm->arch.vgic.vgic_model != type_needed) in vgic_check_type()
49 * kvm_vgic_addr - set or get vgic VM base addresses
51 * @type: the VGIC addr type, one of KVM_VGIC_V[23]_ADDR_TYPE_XXX
56 * Set or get the vgic base addresses for the distributor and the virtual CPU
67 struct vgic_dist *vgic = &kvm->arch.vgic; in kvm_vgic_addr() local
75 addr_ptr = &vgic->vgic_dist_base; in kvm_vgic_addr()
80 addr_ptr = &vgic->vgic_cpu_base; in kvm_vgic_addr()
85 addr_ptr = &vgic->vgic_dist_base; in kvm_vgic_addr()
98 rdreg = list_first_entry(&vgic->rd_regions, in kvm_vgic_addr()
201 if (vgic_ready(dev->kvm) || dev->kvm->arch.vgic.nr_spis) in vgic_set_common_attr()
204 dev->kvm->arch.vgic.nr_spis = in vgic_set_common_attr()
248 r = put_user(dev->kvm->arch.vgic.nr_spis + in vgic_get_common_attr()
331 * that no other VCPUs are run and fiddle with the vgic state while we in lock_all_vcpus()
345 * vgic_v2_attr_regs_access - allows user space to access VGIC v2 state
473 .name = "kvm-arm-vgic-v2",
509 * vgic_v3_attr_regs_access - allows user space to access VGIC v3 state
743 .name = "kvm-arm-vgic-v3",