Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-v4.c124 if (dist->its_vm.vpes) in vgic_v4_init()
129 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
131 if (!dist->its_vm.vpes) in vgic_v4_init()
134 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
137 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
139 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
142 kfree(dist->its_vm.vpes); in vgic_v4_init()
143 dist->its_vm.nr_vpes = 0; in vgic_v4_init()
144 dist->its_vm.vpes = NULL; in vgic_v4_init()
149 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
[all …]
Dvgic-its.c1178 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_cmd_handle_invall()
/Linux-v4.19/include/linux/irqchip/
Darm-gic-v4.h30 struct its_vm { struct
45 struct its_vm *its_vm; argument
78 struct its_vm *vm;
103 int its_alloc_vcpu_irqs(struct its_vm *vm);
104 void its_free_vcpu_irqs(struct its_vm *vm);
/Linux-v4.19/drivers/irqchip/
Dirq-gic-v4.c100 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs()
116 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
140 void its_free_vcpu_irqs(struct its_vm *vm) in its_free_vcpu_irqs()
Dirq-gic-v3-its.c137 struct its_vm *vm;
1000 if (!vpe->its_vm->vlpi_count[its->list_nr]) in its_send_vmovp()
1192 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm()
1226 static void its_unmap_vm(struct its_node *its, struct its_vm *vm) in its_unmap_vm()
2596 val = virt_to_phys(page_address(vpe->its_vm->vprop_page)) & in its_vpe_schedule()
2662 if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) in its_vpe_invall()
2836 struct its_vm *vm = domain->host_data; in its_vpe_irq_domain_free()
2846 BUG_ON(vm != vpe->its_vm); in its_vpe_irq_domain_free()
2862 struct its_vm *vm = args; in its_vpe_irq_domain_alloc()
/Linux-v4.19/include/kvm/
Darm_vgic.h273 struct its_vm its_vm; member
/Linux-v4.19/virt/kvm/arm/hyp/
Dvgic-v3-sr.c316 cpu_if->its_vpe.its_vm) in __vgic_v3_activate_traps()
343 cpu_if->its_vpe.its_vm) in __vgic_v3_deactivate_traps()