Home
last modified time | relevance | path

Searched refs:vpes (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/arm64/kvm/vgic/
Dvgic-v4.c224 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()
237 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
242 kfree(dist->its_vm.vpes); 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()
296 if (!its_vm->vpes) in vgic_v4_teardown()
301 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown()
308 kfree(its_vm->vpes); in vgic_v4_teardown()
[all …]
/Linux-v5.10/drivers/irqchip/
Dirq-gic-v4.c152 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
153 vm->vpes[i]->idai = true; in its_alloc_vcpu_irqs()
164 vm->vpes[i]->irq = vpe_base_irq + i; in its_alloc_vcpu_irqs()
165 ret = its_alloc_vcpu_sgis(vm->vpes[i], i); in its_alloc_vcpu_irqs()
189 unsigned int irq = irq_find_mapping(vm->vpes[i]->sgi_domain, 0); in its_free_sgi_irqs()
195 irq_domain_remove(vm->vpes[i]->sgi_domain); in its_free_sgi_irqs()
196 irq_domain_free_fwnode(vm->vpes[i]->fwnode); in its_free_sgi_irqs()
203 irq_domain_free_irqs(vm->vpes[0]->irq, vm->nr_vpes); in its_free_vcpu_irqs()
Dirq-gic-v3-its.c172 struct its_vpe **vpes; member
1766 struct its_vpe *vpe = vm->vpes[i]; in its_map_vm()
1794 its_send_vmapp(its, vm->vpes[i], false); in its_unmap_vm()
3672 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked()
3681 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_unmap_locked()
3713 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_map_locked()
3714 its_vpe_db_proxy_unmap_locked(vpe_proxy.vpes[vpe_proxy.next_victim]); in its_vpe_db_proxy_map_locked()
3717 vpe_proxy.vpes[vpe_proxy.next_victim] = vpe; in its_vpe_db_proxy_map_locked()
4477 vm->vpes[i]->vpe_db_lpi = base + i; in its_vpe_irq_domain_alloc()
4478 err = its_vpe_init(vm->vpes[i]); in its_vpe_irq_domain_alloc()
[all …]
/Linux-v5.10/include/linux/irqchip/
Darm-gic-v4.h23 struct its_vpe **vpes; member