Home
last modified time | relevance | path

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

/Linux-v6.6/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()
261 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
266 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
269 kfree(dist->its_vm.vpes); in vgic_v4_init()
270 dist->its_vm.nr_vpes = 0; 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()
[all …]
Dvgic-v3.c359 for (i = 0; i < dist->its_vm.nr_vpes; i++) in unmap_all_vpes()
360 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes()
368 for (i = 0; i < dist->its_vm.nr_vpes; i++) in map_all_vpes()
370 dist->its_vm.vpes[i]->irq)); in map_all_vpes()
Dvgic-its.c1360 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_invall()
/Linux-v6.6/include/linux/irqchip/
Darm-gic-v4.h19 struct its_vm { struct
34 struct its_vm *its_vm; argument
95 struct its_vm *vm;
131 int its_alloc_vcpu_irqs(struct its_vm *vm);
132 void its_free_vcpu_irqs(struct its_vm *vm);
/Linux-v6.6/drivers/irqchip/
Dirq-gic-v4.c157 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs()
173 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
201 static void its_free_sgi_irqs(struct its_vm *vm) in its_free_sgi_irqs()
220 void its_free_vcpu_irqs(struct its_vm *vm) in its_free_vcpu_irqs()
Dirq-gic-v3-its.c150 struct its_vm *vm;
205 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp()
210 static u16 get_its_list(struct its_vm *vm) in get_its_list()
811 vconf_addr = virt_to_phys(page_address(desc->its_vmapp_cmd.vpe->its_vm->vprop_page)); in its_build_vmapp_cmd()
1332 desc.its_vmovp_cmd.its_list = get_its_list(vpe->its_vm); in its_send_vmovp()
1339 if (!require_its_list_vmovp(vpe->its_vm, its)) in its_send_vmovp()
1781 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm()
1814 static void its_unmap_vm(struct its_node *its, struct its_vm *vm) in its_unmap_vm()
3876 val = virt_to_phys(page_address(vpe->its_vm->vprop_page)) & in its_vpe_schedule()
3921 if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) in its_vpe_invall()
[all …]
/Linux-v6.6/include/kvm/
Darm_vgic.h294 struct its_vm its_vm; member
/Linux-v6.6/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c215 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()
303 cpu_if->its_vpe.its_vm) in __vgic_v3_activate_traps()
329 cpu_if->its_vpe.its_vm) in __vgic_v3_deactivate_traps()