vgic 74 arch/arm/include/asm/kvm_host.h struct vgic_dist vgic; vgic 82 arch/arm64/include/asm/kvm_host.h struct vgic_dist vgic; vgic 38 arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c struct vgic_dist *vgic = &kvm->arch.vgic; vgic 48 arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c if (fault_ipa < vgic->vgic_cpu_base || vgic 49 arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c fault_ipa >= (vgic->vgic_cpu_base + KVM_VGIC_V2_CPU_SIZE)) vgic 66 arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c addr += fault_ipa - vgic->vgic_cpu_base; vgic 357 include/kvm/arm_vgic.h #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) vgic 358 include/kvm/arm_vgic.h #define vgic_initialized(k) ((k)->arch.vgic.initialized) vgic 359 include/kvm/arm_vgic.h #define vgic_ready(k) ((k)->arch.vgic.ready) vgic 361 include/kvm/arm_vgic.h ((i) < (k)->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS)) vgic 218 virt/kvm/arm/arm.c r = kvm->arch.vgic.msis_require_devid; vgic 33 virt/kvm/arm/vgic/trace.h #define TRACE_INCLUDE_PATH ../../virt/kvm/arm/vgic vgic 63 virt/kvm/arm/vgic/vgic-debug.c iter->nr_spis = kvm->arch.vgic.nr_spis; vgic 64 virt/kvm/arm/vgic/vgic-debug.c if (kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) { vgic 89 virt/kvm/arm/vgic/vgic-debug.c iter = kvm->arch.vgic.iter; vgic 102 virt/kvm/arm/vgic/vgic-debug.c kvm->arch.vgic.iter = iter; vgic 114 virt/kvm/arm/vgic/vgic-debug.c struct vgic_state_iter *iter = kvm->arch.vgic.iter; vgic 136 virt/kvm/arm/vgic/vgic-debug.c iter = kvm->arch.vgic.iter; vgic 139 virt/kvm/arm/vgic/vgic-debug.c kvm->arch.vgic.iter = NULL; vgic 227 virt/kvm/arm/vgic/vgic-debug.c print_dist_state(s, &kvm->arch.vgic); vgic 231 virt/kvm/arm/vgic/vgic-debug.c if (!kvm->arch.vgic.initialized) vgic 54 virt/kvm/arm/vgic/vgic-init.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 117 virt/kvm/arm/vgic/vgic-init.c kvm->arch.vgic.in_kernel = true; vgic 118 virt/kvm/arm/vgic/vgic-init.c kvm->arch.vgic.vgic_model = type; vgic 120 virt/kvm/arm/vgic/vgic-init.c kvm->arch.vgic.vgic_dist_base = VGIC_ADDR_UNDEF; vgic 123 virt/kvm/arm/vgic/vgic-init.c kvm->arch.vgic.vgic_cpu_base = VGIC_ADDR_UNDEF; vgic 125 virt/kvm/arm/vgic/vgic-init.c INIT_LIST_HEAD(&kvm->arch.vgic.rd_regions); vgic 144 virt/kvm/arm/vgic/vgic-init.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 198 virt/kvm/arm/vgic/vgic-init.c struct vgic_dist *dist = &vcpu->kvm->arch.vgic; vgic 265 virt/kvm/arm/vgic/vgic-init.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 331 virt/kvm/arm/vgic/vgic-init.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 341 virt/kvm/arm/vgic/vgic-init.c if (kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) { vgic 401 virt/kvm/arm/vgic/vgic-init.c if (kvm->arch.vgic.vgic_model != KVM_DEV_TYPE_ARM_VGIC_V2) vgic 424 virt/kvm/arm/vgic/vgic-init.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 124 virt/kvm/arm/vgic/vgic-irqfd.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 42 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 276 virt/kvm/arm/vgic/vgic-its.c u64 propbase = GICR_PROPBASER_ADDRESS(kvm->arch.vgic.propbaser); vgic 314 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 572 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 587 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 638 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 1064 virt/kvm/arm/vgic/vgic-its.c lpi_nr >= max_lpis_propbaser(kvm->arch.vgic.propbaser)) vgic 1829 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 1853 virt/kvm/arm/vgic/vgic-its.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 1905 virt/kvm/arm/vgic/vgic-its.c dev->kvm->arch.vgic.msis_require_devid = true; vgic 1906 virt/kvm/arm/vgic/vgic-its.c dev->kvm->arch.vgic.has_its = true; vgic 1914 virt/kvm/arm/vgic/vgic-its.c dev->kvm->arch.vgic.propbaser = INITIAL_PROPBASER_VALUE; vgic 34 virt/kvm/arm/vgic/vgic-kvm-device.c if (kvm->arch.vgic.vgic_model != type_needed) vgic 59 virt/kvm/arm/vgic/vgic-kvm-device.c struct vgic_dist *vgic = &kvm->arch.vgic; vgic 67 virt/kvm/arm/vgic/vgic-kvm-device.c addr_ptr = &vgic->vgic_dist_base; vgic 72 virt/kvm/arm/vgic/vgic-kvm-device.c addr_ptr = &vgic->vgic_cpu_base; vgic 77 virt/kvm/arm/vgic/vgic-kvm-device.c addr_ptr = &vgic->vgic_dist_base; vgic 90 virt/kvm/arm/vgic/vgic-kvm-device.c rdreg = list_first_entry(&vgic->rd_regions, vgic 193 virt/kvm/arm/vgic/vgic-kvm-device.c if (vgic_ready(dev->kvm) || dev->kvm->arch.vgic.nr_spis) vgic 196 virt/kvm/arm/vgic/vgic-kvm-device.c dev->kvm->arch.vgic.nr_spis = vgic 240 virt/kvm/arm/vgic/vgic-kvm-device.c r = put_user(dev->kvm->arch.vgic.nr_spis + vgic 28 virt/kvm/arm/vgic/vgic-mmio-v2.c struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; vgic 33 virt/kvm/arm/vgic/vgic-mmio-v2.c value = vgic->enabled ? GICD_ENABLE : 0; vgic 36 virt/kvm/arm/vgic/vgic-mmio-v2.c value = vgic->nr_spis + VGIC_NR_PRIVATE_IRQS; vgic 42 virt/kvm/arm/vgic/vgic-mmio-v2.c (vgic->implementation_rev << GICD_IIDR_REVISION_SHIFT) | vgic 56 virt/kvm/arm/vgic/vgic-mmio-v2.c struct vgic_dist *dist = &vcpu->kvm->arch.vgic; vgic 90 virt/kvm/arm/vgic/vgic-mmio-v2.c vcpu->kvm->arch.vgic.v2_groups_user_writable = true; vgic 102 virt/kvm/arm/vgic/vgic-mmio-v2.c if (vcpu->kvm->arch.vgic.v2_groups_user_writable) vgic 41 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 64 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; vgic 69 virt/kvm/arm/vgic/vgic-mmio-v3.c if (vgic->enabled) vgic 74 virt/kvm/arm/vgic/vgic-mmio-v3.c value = vgic->nr_spis + VGIC_NR_PRIVATE_IRQS; vgic 85 virt/kvm/arm/vgic/vgic-mmio-v3.c (vgic->implementation_rev << GICD_IIDR_REVISION_SHIFT) | vgic 99 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *dist = &vcpu->kvm->arch.vgic; vgic 387 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *dist = &vcpu->kvm->arch.vgic; vgic 396 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *dist = &vcpu->kvm->arch.vgic; vgic 608 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *vgic = &kvm->arch.vgic; vgic 624 virt/kvm/arm/vgic/vgic-mmio-v3.c rdreg = vgic_v3_rdist_free_slot(&vgic->rd_regions); vgic 703 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_dist *d = &kvm->arch.vgic; vgic 217 virt/kvm/arm/vgic/vgic-mmio.c vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V2); vgic 321 virt/kvm/arm/vgic/vgic-mmio.c if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3 || vgic 329 virt/kvm/arm/vgic/vgic-mmio.c if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3 || vgic 403 virt/kvm/arm/vgic/vgic-mmio.c u32 model = vcpu->kvm->arch.vgic.vgic_model; vgic 607 virt/kvm/arm/vgic/vgic-mmio.c int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; vgic 629 virt/kvm/arm/vgic/vgic-mmio.c int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; vgic 759 virt/kvm/arm/vgic/vgic-mmio.c int flags, nr_irqs = kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; vgic 922 virt/kvm/arm/vgic/vgic-mmio.c struct vgic_io_device *io_device = &kvm->arch.vgic.dist_iodev; vgic 306 virt/kvm/arm/vgic/vgic-v2.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 35 virt/kvm/arm/vgic/vgic-v3.c u32 model = vcpu->kvm->arch.vgic.vgic_model; vgic 120 virt/kvm/arm/vgic/vgic-v3.c u32 model = vcpu->kvm->arch.vgic.vgic_model; vgic 208 virt/kvm/arm/vgic/vgic-v3.c u32 model = vcpu->kvm->arch.vgic.vgic_model; vgic 238 virt/kvm/arm/vgic/vgic-v3.c u32 model = vcpu->kvm->arch.vgic.vgic_model; vgic 288 virt/kvm/arm/vgic/vgic-v3.c if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) { vgic 365 virt/kvm/arm/vgic/vgic-v3.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 422 virt/kvm/arm/vgic/vgic-v3.c struct vgic_dist *d = &kvm->arch.vgic; vgic 439 virt/kvm/arm/vgic/vgic-v3.c struct vgic_dist *d = &kvm->arch.vgic; vgic 485 virt/kvm/arm/vgic/vgic-v3.c struct list_head *rd_regions = &kvm->arch.vgic.rd_regions; vgic 498 virt/kvm/arm/vgic/vgic-v3.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 106 virt/kvm/arm/vgic/vgic-v4.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 175 virt/kvm/arm/vgic/vgic-v4.c struct its_vm *its_vm = &kvm->arch.vgic.its_vm; vgic 282 virt/kvm/arm/vgic/vgic-v4.c .vm = &kvm->arch.vgic.its_vm, vgic 60 virt/kvm/arm/vgic/vgic.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 100 virt/kvm/arm/vgic/vgic.c if (intid < (kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS)) { vgic 101 virt/kvm/arm/vgic/vgic.c intid = array_index_nospec(intid, kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS); vgic 102 virt/kvm/arm/vgic/vgic.c return &kvm->arch.vgic.spis[intid - VGIC_NR_PRIVATE_IRQS]; vgic 127 virt/kvm/arm/vgic/vgic.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 140 virt/kvm/arm/vgic/vgic.c struct vgic_dist *dist = &kvm->arch.vgic; vgic 231 virt/kvm/arm/vgic/vgic.c !irq->target_vcpu->kvm->arch.vgic.enabled)) vgic 956 virt/kvm/arm/vgic/vgic.c if (!vcpu->kvm->arch.vgic.enabled) vgic 301 virt/kvm/arm/vgic/vgic.h struct vgic_dist *d = &kvm->arch.vgic;