Searched refs:its_vm (Results 1 – 8 of 8) sorted by relevance
251 if (dist->its_vm.vpes) in vgic_v4_init()256 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()258 if (!dist->its_vm.vpes) in vgic_v4_init()261 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()266 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()269 kfree(dist->its_vm.vpes); in vgic_v4_init()270 dist->its_vm.nr_vpes = 0; in vgic_v4_init()271 dist->its_vm.vpes = NULL; in vgic_v4_init()276 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()[all …]
359 for (i = 0; i < dist->its_vm.nr_vpes; i++) in unmap_all_vpes()360 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes()368 for (i = 0; i < dist->its_vm.nr_vpes; i++) in map_all_vpes()370 dist->its_vm.vpes[i]->irq)); in map_all_vpes()
1360 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_invall()
19 struct its_vm { struct34 struct its_vm *its_vm; argument95 struct its_vm *vm;131 int its_alloc_vcpu_irqs(struct its_vm *vm);132 void its_free_vcpu_irqs(struct its_vm *vm);
157 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs()173 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()201 static void its_free_sgi_irqs(struct its_vm *vm) in its_free_sgi_irqs()220 void its_free_vcpu_irqs(struct its_vm *vm) in its_free_vcpu_irqs()
150 struct its_vm *vm;205 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp()210 static u16 get_its_list(struct its_vm *vm) in get_its_list()811 vconf_addr = virt_to_phys(page_address(desc->its_vmapp_cmd.vpe->its_vm->vprop_page)); in its_build_vmapp_cmd()1332 desc.its_vmovp_cmd.its_list = get_its_list(vpe->its_vm); in its_send_vmovp()1339 if (!require_its_list_vmovp(vpe->its_vm, its)) in its_send_vmovp()1781 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm()1814 static void its_unmap_vm(struct its_node *its, struct its_vm *vm) in its_unmap_vm()3876 val = virt_to_phys(page_address(vpe->its_vm->vprop_page)) & in its_vpe_schedule()3921 if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) in its_vpe_invall()[all …]
294 struct its_vm its_vm; member
215 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state()239 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_restore_state()303 cpu_if->its_vpe.its_vm) in __vgic_v3_activate_traps()329 cpu_if->its_vpe.its_vm) in __vgic_v3_deactivate_traps()