/linux/arch/arm64/kvm/ |
A D | Makefile | 18 vgic-sys-reg-v3.o fpsimd.o pmu.o \ 20 vgic/vgic.o vgic/vgic-init.o \ 21 vgic/vgic-irqfd.o vgic/vgic-v2.o \ 22 vgic/vgic-v3.o vgic/vgic-v4.o \ 23 vgic/vgic-mmio.o vgic/vgic-mmio-v2.o \ 24 vgic/vgic-mmio-v3.o vgic/vgic-kvm-device.o \ 25 vgic/vgic-its.o vgic/vgic-debug.o
|
A D | built-in.a | 28 vgic/vgic.o/ 29 vgic/vgic-init.o/ 30 vgic/vgic-irqfd.o/ 31 vgic/vgic-v2.o/ 32 vgic/vgic-v3.o/ 33 vgic/vgic-v4.o/ 34 vgic/vgic-mmio.o/ 35 vgic/vgic-mmio-v2.o/ 36 vgic/vgic-mmio-v3.o/ 38 vgic/vgic-its.o/ [all …]
|
A D | .built-in.a.cmd | 1 …vgic-sys-reg-v3.o arch/arm64/kvm/fpsimd.o arch/arm64/kvm/pmu.o arch/arm64/kvm/arch_timer.o arch/ar…
|
/linux/arch/arm64/ |
A D | built-in.a | 116 kvm/vgic/vgic.o/ 117 kvm/vgic/vgic-init.o/ 118 kvm/vgic/vgic-irqfd.o/ 119 kvm/vgic/vgic-v2.o/ 120 kvm/vgic/vgic-v3.o/ 121 kvm/vgic/vgic-v4.o/ 122 kvm/vgic/vgic-mmio.o/ 123 kvm/vgic/vgic-mmio-v2.o/ 124 kvm/vgic/vgic-mmio-v3.o/ 126 kvm/vgic/vgic-its.o/ [all …]
|
/linux/arch/arm64/kvm/vgic/ |
A D | vgic-init.c | 54 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_early_init() 109 kvm->arch.vgic.in_kernel = true; in kvm_vgic_create() 110 kvm->arch.vgic.vgic_model = type; in kvm_vgic_create() 112 kvm->arch.vgic.vgic_dist_base = VGIC_ADDR_UNDEF; in kvm_vgic_create() 115 kvm->arch.vgic.vgic_cpu_base = VGIC_ADDR_UNDEF; in kvm_vgic_create() 117 INIT_LIST_HEAD(&kvm->arch.vgic.rd_regions); in kvm_vgic_create() 133 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_dist_init() 188 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in kvm_vgic_vcpu_init() 256 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_init() 329 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_dist_destroy() [all …]
|
A D | vgic-debug.c | 63 iter->nr_spis = kvm->arch.vgic.nr_spis; in iter_init() 64 if (kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) { in iter_init() 89 iter = kvm->arch.vgic.iter; in vgic_debug_start() 102 kvm->arch.vgic.iter = iter; in vgic_debug_start() 114 struct vgic_state_iter *iter = kvm->arch.vgic.iter; in vgic_debug_next() 136 iter = kvm->arch.vgic.iter; in vgic_debug_stop() 139 kvm->arch.vgic.iter = NULL; in vgic_debug_stop() 239 print_dist_state(s, &kvm->arch.vgic); in vgic_debug_show() 243 if (!kvm->arch.vgic.initialized) in vgic_debug_show()
|
A D | vgic-mmio-v3.c | 43 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_has_its() 67 struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; in vgic_mmio_read_v3_misc() local 72 if (vgic->enabled) in vgic_mmio_read_v3_misc() 75 if (vgic->nassgireq) in vgic_mmio_read_v3_misc() 79 value = vgic->nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_mmio_read_v3_misc() 108 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_v3_misc() 157 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_uaccess_write_v3_misc() 256 struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; in vgic_mmio_vcpu_rdist_is_last() local 471 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_read_propbase() 700 struct vgic_dist *vgic = &kvm->arch.vgic; in vgic_register_redist_iodev() local [all …]
|
A D | vgic-kvm-device.c | 38 if (kvm->arch.vgic.vgic_model != type_needed) in vgic_check_type() 63 struct vgic_dist *vgic = &kvm->arch.vgic; in kvm_vgic_addr() local 71 addr_ptr = &vgic->vgic_dist_base; in kvm_vgic_addr() 77 addr_ptr = &vgic->vgic_cpu_base; in kvm_vgic_addr() 83 addr_ptr = &vgic->vgic_dist_base; in kvm_vgic_addr() 97 rdreg = list_first_entry_or_null(&vgic->rd_regions, in kvm_vgic_addr() 200 if (vgic_ready(dev->kvm) || dev->kvm->arch.vgic.nr_spis) in vgic_set_common_attr() 203 dev->kvm->arch.vgic.nr_spis = in vgic_set_common_attr() 250 r = put_user(dev->kvm->arch.vgic.nr_spis + in vgic_get_common_attr()
|
A D | vgic-v3.c | 38 u32 model = vcpu->kvm->arch.vgic.vgic_model; in vgic_v3_fold_lr_state() 108 u32 model = vcpu->kvm->arch.vgic.vgic_model; in vgic_v3_populate_lr() 196 u32 model = vcpu->kvm->arch.vgic.vgic_model; in vgic_v3_set_vmcr() 226 u32 model = vcpu->kvm->arch.vgic.vgic_model; in vgic_v3_get_vmcr() 276 if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) { in vgic_v3_enable() 381 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v3_save_pending_tables() 464 struct vgic_dist *d = &kvm->arch.vgic; in vgic_v3_rdist_overlap() 481 struct vgic_dist *d = &kvm->arch.vgic; in vgic_v3_check_base() 529 struct list_head *rd_regions = &kvm->arch.vgic.rd_regions; in vgic_v3_rdist_region_from_index() 542 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v3_map_resources()
|
A D | vgic-mmio-v2.c | 28 struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; in vgic_mmio_read_v2_misc() local 33 value = vgic->enabled ? GICD_ENABLE : 0; in vgic_mmio_read_v2_misc() 36 value = vgic->nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_mmio_read_v2_misc() 42 (vgic->implementation_rev << GICD_IIDR_REVISION_SHIFT) | in vgic_mmio_read_v2_misc() 56 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_v2_misc() 90 vcpu->kvm->arch.vgic.v2_groups_user_writable = true; in vgic_mmio_uaccess_write_v2_misc() 102 if (vcpu->kvm->arch.vgic.v2_groups_user_writable) in vgic_mmio_uaccess_write_v2_group()
|
A D | vgic-v4.c | 190 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_configure_vsgis() 236 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_init() 312 struct its_vm *its_vm = &kvm->arch.vgic.its_vm; in vgic_v4_teardown() 360 err = its_make_vpe_resident(vpe, false, vcpu->kvm->arch.vgic.enabled); in vgic_v4_load() 436 .vm = &kvm->arch.vgic.its_vm, in kvm_vgic_v4_set_forwarding()
|
A D | vgic.c | 60 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_get_lpi() 100 if (intid < (kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS)) { in vgic_get_irq() 101 intid = array_index_nospec(intid, kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS); in vgic_get_irq() 102 return &kvm->arch.vgic.spis[intid - VGIC_NR_PRIVATE_IRQS]; in vgic_get_irq() 126 struct vgic_dist *dist = &kvm->arch.vgic; in __vgic_put_lpi_locked() 139 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_put_irq() 230 !irq->target_vcpu->kvm->arch.vgic.enabled)) in vgic_target_oracle() 964 if (!vcpu->kvm->arch.vgic.enabled) in kvm_vgic_vcpu_pending_irq()
|
A D | .vgic.o.cmd | 1 …vgic/vgic.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bi… 3 source_arch/arm64/kvm/vgic/vgic.o := arch/arm64/kvm/vgic/vgic.c 5 deps_arch/arm64/kvm/vgic/vgic.o := \ 1029 include/linux/irqchip/arm-vgic-info.h \ 1276 arch/arm64/kvm/vgic/vgic.h \ 1277 arch/arm64/kvm/vgic/trace.h \ 1282 include/trace/../../arch/arm64/kvm/vgic/trace.h \ 1284 arch/arm64/kvm/vgic/vgic.o: $(deps_arch/arm64/kvm/vgic/vgic.o) 1286 $(deps_arch/arm64/kvm/vgic/vgic.o):
|
A D | .vgic-its.o.cmd | 1 …vgic/vgic-its.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch6… 3 source_arch/arm64/kvm/vgic/vgic-its.o := arch/arm64/kvm/vgic/vgic-its.c 5 deps_arch/arm64/kvm/vgic/vgic-its.o := \ 1108 include/linux/irqchip/arm-vgic-info.h \ 1288 arch/arm64/kvm/vgic/vgic.h \ 1289 arch/arm64/kvm/vgic/vgic-mmio.h \ 1291 arch/arm64/kvm/vgic/vgic-its.o: $(deps_arch/arm64/kvm/vgic/vgic-its.o) 1293 $(deps_arch/arm64/kvm/vgic/vgic-its.o):
|
A D | .vgic-mmio-v2.o.cmd | 1 …vgic/vgic-mmio-v2.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aa… 3 source_arch/arm64/kvm/vgic/vgic-mmio-v2.o := arch/arm64/kvm/vgic/vgic-mmio-v2.c 5 deps_arch/arm64/kvm/vgic/vgic-mmio-v2.o := \ 1038 include/linux/irqchip/arm-vgic-info.h \ 1277 arch/arm64/kvm/vgic/vgic.h \ 1278 arch/arm64/kvm/vgic/vgic-mmio.h \ 1280 arch/arm64/kvm/vgic/vgic-mmio-v2.o: $(deps_arch/arm64/kvm/vgic/vgic-mmio-v2.o) 1282 $(deps_arch/arm64/kvm/vgic/vgic-mmio-v2.o):
|
A D | .vgic-mmio-v3.o.cmd | 1 …vgic/vgic-mmio-v3.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aa… 3 source_arch/arm64/kvm/vgic/vgic-mmio-v3.o := arch/arm64/kvm/vgic/vgic-mmio-v3.c 5 deps_arch/arm64/kvm/vgic/vgic-mmio-v3.o := \ 95 include/linux/irqchip/arm-vgic-info.h \ 1287 arch/arm64/kvm/vgic/vgic.h \ 1288 arch/arm64/kvm/vgic/vgic-mmio.h \ 1290 arch/arm64/kvm/vgic/vgic-mmio-v3.o: $(deps_arch/arm64/kvm/vgic/vgic-mmio-v3.o) 1292 $(deps_arch/arm64/kvm/vgic/vgic-mmio-v3.o):
|
A D | .vgic-mmio.o.cmd | 1 …vgic/vgic-mmio.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch… 3 source_arch/arm64/kvm/vgic/vgic-mmio.o := arch/arm64/kvm/vgic/vgic-mmio.c 5 deps_arch/arm64/kvm/vgic/vgic-mmio.o := \ 1030 include/linux/irqchip/arm-vgic-info.h \ 1275 arch/arm64/kvm/vgic/vgic.h \ 1276 arch/arm64/kvm/vgic/vgic-mmio.h \ 1278 arch/arm64/kvm/vgic/vgic-mmio.o: $(deps_arch/arm64/kvm/vgic/vgic-mmio.o) 1280 $(deps_arch/arm64/kvm/vgic/vgic-mmio.o):
|
A D | vgic-mmio.c | 267 vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V2); in is_vgic_v2_sgi() 453 if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3 || in vgic_access_active_prepare() 461 if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3 || in vgic_access_active_finish() 542 u32 model = vcpu->kvm->arch.vgic.vgic_model; in vgic_mmio_change_active() 748 int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_read_irq_line_level_info() 770 int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_write_irq_line_level_info() 900 int flags, nr_irqs = kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in check_region() 1061 struct vgic_io_device *io_device = &kvm->arch.vgic.dist_iodev; in vgic_register_dist_iodev()
|
/linux/arch/arm64/kvm/hyp/ |
A D | vgic-v2-cpuif-proxy.c | 40 struct vgic_dist *vgic = &kvm->arch.vgic; in __vgic_v2_perform_cpuif_access() local 50 if (fault_ipa < vgic->vgic_cpu_base || in __vgic_v2_perform_cpuif_access() 51 fault_ipa >= (vgic->vgic_cpu_base + KVM_VGIC_V2_CPU_SIZE)) in __vgic_v2_perform_cpuif_access() 68 addr += fault_ipa - vgic->vgic_cpu_base; in __vgic_v2_perform_cpuif_access()
|
A D | built-in.a | 8 vgic-v3-sr.o/ 10 vgic-v2-cpuif-proxy.o/
|
/linux/Documentation/virt/kvm/devices/ |
A D | index.rst | 10 arm-vgic-its 11 arm-vgic 12 arm-vgic-v3
|
/linux/arch/arm64/kvm/hyp/vhe/ |
A D | built-in.a | 8 ../vgic-v3-sr.o/ 10 ../vgic-v2-cpuif-proxy.o/
|
A D | Makefile | 10 obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
|
A D | .built-in.a.cmd | 1 …/vhe/tlb.o arch/arm64/kvm/hyp/vhe/../vgic-v3-sr.o arch/arm64/kvm/hyp/vhe/../aarch32.o arch/arm64/k…
|
/linux/include/kvm/ |
A D | arm_vgic.h | 384 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) 385 #define vgic_initialized(k) ((k)->arch.vgic.initialized) 386 #define vgic_ready(k) ((k)->arch.vgic.ready) 388 ((i) < (k)->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS))
|