Home
last modified time | relevance | path

Searched refs:its_vm (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-v4.c113 if (dist->its_vm.vpes) in vgic_v4_init()
118 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
120 if (!dist->its_vm.vpes) in vgic_v4_init()
123 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
126 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
128 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
131 kfree(dist->its_vm.vpes); in vgic_v4_init()
132 dist->its_vm.nr_vpes = 0; in vgic_v4_init()
133 dist->its_vm.vpes = NULL; in vgic_v4_init()
138 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
[all …]
Dvgic-its.c1324 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_cmd_handle_invall()
/Linux-v5.4/include/linux/irqchip/
Darm-gic-v4.h19 struct its_vm { struct
34 struct its_vm *its_vm; argument
67 struct its_vm *vm;
92 int its_alloc_vcpu_irqs(struct its_vm *vm);
93 void its_free_vcpu_irqs(struct its_vm *vm);
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v4.c89 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs()
105 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
129 void its_free_vcpu_irqs(struct its_vm *vm) in its_free_vcpu_irqs()
Dirq-gic-v3-its.c134 struct its_vm *vm;
178 static u16 get_its_list(struct its_vm *vm) in get_its_list()
1020 desc.its_vmovp_cmd.its_list = get_its_list(vpe->its_vm); in its_send_vmovp()
1027 if (!vpe->its_vm->vlpi_count[its->list_nr]) in its_send_vmovp()
1219 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm()
1253 static void its_unmap_vm(struct its_node *its, struct its_vm *vm) in its_unmap_vm()
2824 val = virt_to_phys(page_address(vpe->its_vm->vprop_page)) & in its_vpe_schedule()
2875 if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) in its_vpe_invall()
3049 struct its_vm *vm = domain->host_data; in its_vpe_irq_domain_free()
3059 BUG_ON(vm != vpe->its_vm); in its_vpe_irq_domain_free()
[all …]
/Linux-v5.4/include/kvm/
Darm_vgic.h265 struct its_vm its_vm; member
/Linux-v5.4/virt/kvm/arm/hyp/
Dvgic-v3-sr.c214 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()
305 cpu_if->its_vpe.its_vm) in __vgic_v3_activate_traps()
332 cpu_if->its_vpe.its_vm) in __vgic_v3_deactivate_traps()