Home
last modified time | relevance | path

Searched full:vpes (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-4.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()
137 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
142 kfree(dist->its_vm.vpes); 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()
164 * Trick: adjust the number of vpes so we know in vgic_v4_init()
189 if (!its_vm->vpes) in vgic_v4_teardown()
194 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown()
[all …]
/kernel/linux/linux-5.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()
271 * Trick: adjust the number of vpes so we know 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()
[all …]
/kernel/linux/linux-5.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
1730 * (a) Either we have a GICv4.1, and all vPEs have to be mapped at all times
1734 * and we're better off mapping all VPEs always
1736 * If neither (a) nor (b) is true, then we map vPEs on demand.
1757 * If the VM wasn't mapped yet, iterate over the vpes and get in its_map_vm()
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()
1835 /* Ensure all the VPEs are mapped on this ITS */ in its_vlpi_map()
3672 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked()
3679 * effect... Let's just hope VPEs don't migrate too often. in its_vpe_db_proxy_unmap_locked()
[all …]
Dirq-mips-cpu.c99 /* We can only send IPIs to VPEs within the local core */ in mips_mt_send_ipi()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dpm-cps.c26 * @online: the count of online coupled VPEs
34 * returns the number of VPEs that were in the wait state at the point this
51 * Indicates the number of coupled VPEs ready to operate in a non-coherent
127 /* Calculate which coupled CPUs (VPEs) are online */ in cps_pm_enter_state()
180 * it needs to wake up any coupled VPEs still running their wait in cps_pm_enter_state()
182 * coordination between the coupled VPEs & provide the governor with in cps_pm_enter_state()
183 * a chance to reflect on the length of time the VPEs were in the in cps_pm_enter_state()
543 * At this point it is safe for all VPEs to proceed with in cps_gen_entry_code()
545 * to indicate to the other VPEs that they may continue. in cps_gen_entry_code()
552 * VPEs which did not disable coherence will continue in cps_gen_entry_code()
[all …]
Dcps-vec.S171 * Boot any other VPEs within this core that should be online, and
251 /* Retrieve the number of VPEs within the core */
317 /* Calculate this VPEs ID. If the core doesn't support MT use 0 */
332 /* Find the number of VPEs present in the core */
351 1: /* Calculate a pointer to this VPEs struct vpe_boot_config */
431 /* Calculate a pointer to the VPEs struct vpe_boot_config */
Dvpe-mt.c22 /* The number of TCs and VPEs physically available on the core */
342 pr_warn("No VPEs reserved for AP/SP, not initialize VPE loader\n" in vpe_module_init()
Dvpe-cmp.c102 pr_warn("No VPEs reserved for AP/SP, not initialize VPE loader\n" in vpe_module_init()
Dmips-mt-fpaff.c20 * CPU mask used to set process affinity for MT VPEs/TCs with FPUs
/kernel/linux/linux-4.19/arch/mips/kernel/
Dpm-cps.c30 * @online: the count of online coupled VPEs
38 * returns the number of VPEs that were in the wait state at the point this
55 * Indicates the number of coupled VPEs ready to operate in a non-coherent
131 /* Calculate which coupled CPUs (VPEs) are online */ in cps_pm_enter_state()
184 * it needs to wake up any coupled VPEs still running their wait in cps_pm_enter_state()
186 * coordination between the coupled VPEs & provide the governor with in cps_pm_enter_state()
187 * a chance to reflect on the length of time the VPEs were in the in cps_pm_enter_state()
547 * At this point it is safe for all VPEs to proceed with in cps_gen_entry_code()
549 * to indicate to the other VPEs that they may continue. in cps_gen_entry_code()
556 * VPEs which did not disable coherence will continue in cps_gen_entry_code()
[all …]
Dcps-vec.S175 * Boot any other VPEs within this core that should be online, and
255 /* Retrieve the number of VPEs within the core */
321 /* Calculate this VPEs ID. If the core doesn't support MT use 0 */
336 /* Find the number of VPEs present in the core */
355 1: /* Calculate a pointer to this VPEs struct vpe_boot_config */
435 /* Calculate a pointer to the VPEs struct vpe_boot_config */
Dvpe-mt.c22 /* The number of TCs and VPEs physically available on the core */
342 pr_warn("No VPEs reserved for AP/SP, not initialize VPE loader\n" in vpe_module_init()
Dvpe-cmp.c102 pr_warn("No VPEs reserved for AP/SP, not initialize VPE loader\n" in vpe_module_init()
Dmips-mt-fpaff.c20 * CPU mask used to set process affinity for MT VPEs/TCs with FPUs
/kernel/linux/linux-4.19/drivers/irqchip/
Dirq-gic-v4.c116 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
117 vm->vpes[i]->idai = true; in its_alloc_vcpu_irqs()
127 vm->vpes[i]->irq = vpe_base_irq + i; in its_alloc_vcpu_irqs()
142 irq_domain_free_irqs(vm->vpes[0]->irq, vm->nr_vpes); in its_free_vcpu_irqs()
Dirq-gic-v3-its.c166 struct its_vpe **vpes; member
1237 * If the VM wasn't mapped yet, iterate over the vpes and get in its_map_vm()
1246 struct its_vpe *vpe = vm->vpes[i]; in its_map_vm()
1274 its_send_vmapp(its, vm->vpes[i], false); in its_unmap_vm()
1315 /* Ensure all the VPEs are mapped on this ITS */ in its_vlpi_map()
2596 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked()
2603 * effect... Let's just hope VPEs don't migrate too often. in its_vpe_db_proxy_unmap_locked()
2605 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_unmap_locked()
2629 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_map_locked()
2630 its_vpe_db_proxy_unmap_locked(vpe_proxy.vpes[vpe_proxy.next_victim]); in its_vpe_db_proxy_map_locked()
[all …]
Dirq-mips-cpu.c103 /* We can only send IPIs to VPEs within the local core */ in mips_mt_send_ipi()
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/
Dmips-gic.txt3 The MIPS GIC routes external interrupts to individual VPEs and IRQ pins.
30 If not specified, the driver will allocate the last 2 * number of VPEs in the
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dmti,gic.yaml14 The MIPS GIC routes external interrupts to individual VPEs and IRQ pins.
58 allocate the last (2 * number of VPEs in the system).
/kernel/linux/linux-4.19/arch/mips/include/asm/
Dmips_mt.h12 * How many VPEs and TCs is Linux allowed to use? 0 means no limit.
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dmips_mt.h12 * How many VPEs and TCs is Linux allowed to use? 0 means no limit.
/kernel/linux/linux-4.19/include/linux/irqchip/
Darm-gic-v4.h34 struct its_vpe **vpes; member
/kernel/linux/linux-5.10/include/linux/irqchip/
Darm-gic-v4.h23 struct its_vpe **vpes; member
/kernel/linux/linux-4.19/arch/mips/oprofile/
Dop_model_mipsxx.c47 * number of VPEs used by Linux and in the 34K this number is fixed to two

12