Searched refs:its_vm (Results 1 – 8 of 8) sorted by relevance
224 if (dist->its_vm.vpes) in vgic_v4_init()229 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()231 if (!dist->its_vm.vpes) in vgic_v4_init()234 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()237 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()239 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()242 kfree(dist->its_vm.vpes); in vgic_v4_init()243 dist->its_vm.nr_vpes = 0; in vgic_v4_init()244 dist->its_vm.vpes = NULL; in vgic_v4_init()249 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()[all …]
1332 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_cmd_handle_invall()
19 struct its_vm { struct34 struct its_vm *its_vm; argument93 struct its_vm *vm;128 int its_alloc_vcpu_irqs(struct its_vm *vm);129 void its_free_vcpu_irqs(struct its_vm *vm);
136 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs()152 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()181 static void its_free_sgi_irqs(struct its_vm *vm) in its_free_sgi_irqs()200 void its_free_vcpu_irqs(struct its_vm *vm) in its_free_vcpu_irqs()
148 struct its_vm *vm;203 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp()208 static u16 get_its_list(struct its_vm *vm) in get_its_list()791 vconf_addr = virt_to_phys(page_address(desc->its_vmapp_cmd.vpe->its_vm->vprop_page)); in its_build_vmapp_cmd()1307 desc.its_vmovp_cmd.its_list = get_its_list(vpe->its_vm); in its_send_vmovp()1314 if (!require_its_list_vmovp(vpe->its_vm, its)) in its_send_vmovp()1747 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm()1780 static void its_unmap_vm(struct its_node *its, struct its_vm *vm) in its_unmap_vm()3820 val = virt_to_phys(page_address(vpe->its_vm->vprop_page)) & in its_vpe_schedule()3867 if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) in its_vpe_invall()[all …]
269 struct its_vm its_vm; member
213 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state()237 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_restore_state()301 cpu_if->its_vpe.its_vm) in __vgic_v3_activate_traps()327 cpu_if->its_vpe.its_vm) in __vgic_v3_deactivate_traps()
1631 @@ -129,6 +132,7 @@ int its_alloc_vcpu_irqs(struct its_vm *vm);1632 void its_free_vcpu_irqs(struct its_vm *vm);