Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-v4.c251 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()
264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
269 kfree(dist->its_vm.vpes); 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()
322 if (!its_vm->vpes) in vgic_v4_teardown()
327 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown()
334 kfree(its_vm->vpes); in vgic_v4_teardown()
[all …]
Dvgic-v3.c360 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes()
370 dist->its_vm.vpes[i]->irq)); in map_all_vpes()
/linux-6.6.21/drivers/irqchip/
Dirq-gic-v4.c173 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
174 vm->vpes[i]->idai = true; in its_alloc_vcpu_irqs()
184 vm->vpes[i]->irq = vpe_base_irq + i; in its_alloc_vcpu_irqs()
185 ret = its_alloc_vcpu_sgis(vm->vpes[i], i); in its_alloc_vcpu_irqs()
209 unsigned int irq = irq_find_mapping(vm->vpes[i]->sgi_domain, 0); in its_free_sgi_irqs()
215 irq_domain_remove(vm->vpes[i]->sgi_domain); in its_free_sgi_irqs()
216 irq_domain_free_fwnode(vm->vpes[i]->fwnode); in its_free_sgi_irqs()
223 irq_domain_free_irqs(vm->vpes[0]->irq, vm->nr_vpes); in its_free_vcpu_irqs()
Dirq-gic-v3-its.c174 struct its_vpe **vpes; member
1805 struct its_vpe *vpe = vm->vpes[i]; in its_map_vm()
1833 its_send_vmapp(its, vm->vpes[i], false); in its_unmap_vm()
3741 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked()
3750 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_unmap_locked()
3782 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_map_locked()
3783 its_vpe_db_proxy_unmap_locked(vpe_proxy.vpes[vpe_proxy.next_victim]); in its_vpe_db_proxy_map_locked()
3786 vpe_proxy.vpes[vpe_proxy.next_victim] = vpe; in its_vpe_db_proxy_map_locked()
4550 vm->vpes[i]->vpe_db_lpi = base + i; in its_vpe_irq_domain_alloc()
4551 err = its_vpe_init(vm->vpes[i]); in its_vpe_irq_domain_alloc()
[all …]
/linux-6.6.21/include/linux/irqchip/
Darm-gic-v4.h23 struct its_vpe **vpes; member