Searched full:vpes (Results 1 – 16 of 16) sorted by relevance
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-v4.c | 251 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() 297 * Trick: adjust the number of vpes so we know 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() [all …]
|
H A D | vgic-v3.c | 375 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes() 385 dist->its_vm.vpes[i]->irq)); in map_all_vpes()
|
H A D | vgic-mmio-v3.c | 55 * indirectly allowing userspace to control whether or not vPEs are in vgic_supports_direct_msis() 565 * vPEs (which we don't support for obvious reasons). in vgic_mmio_write_invlpi()
|
H A D | vgic-init.c | 398 * Ensure vPEs are allocated if direct IRQ injection (e.g. vSGIs, in vgic_init()
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v4.c | 174 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs() 175 vm->vpes[i]->idai = true; in its_alloc_vcpu_irqs() 185 vm->vpes[i]->irq = vpe_base_irq + i; in its_alloc_vcpu_irqs() 186 ret = its_alloc_vcpu_sgis(vm->vpes[i], i); in its_alloc_vcpu_irqs() 210 unsigned int irq = irq_find_mapping(vm->vpes[i]->sgi_domain, 0); in its_free_sgi_irqs() 216 irq_domain_remove(vm->vpes[i]->sgi_domain); in its_free_sgi_irqs() 217 irq_domain_free_fwnode(vm->vpes[i]->fwnode); in its_free_sgi_irqs() 224 irq_domain_free_irqs(vm->vpes[0]->irq, vm->nr_vpes); in its_free_vcpu_irqs()
|
H A D | irq-gic-v3-its.c | 184 struct its_vpe **vpes; member 1856 * (a) Either we have a GICv4.1, and all vPEs have to be mapped at all times 1860 * and we're better off mapping all VPEs always 1862 * If neither (a) nor (b) is true, then we map vPEs on demand. 1881 * If the VM wasn't mapped yet, iterate over the vpes and get in its_map_vm() 1890 struct its_vpe *vpe = vm->vpes[i]; in its_map_vm() 1912 guard(raw_spinlock)(&vm->vpes[i]->vpe_lock); in its_unmap_vm() 1913 its_send_vmapp(its, vm->vpes[i], false); in its_unmap_vm() 1947 /* Ensure all the VPEs are mapped on this ITS */ in its_vlpi_map() 3809 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked() [all …]
|
H A D | irq-mips-cpu.c | 99 /* We can only send IPIs to VPEs within the local core */ in mips_mt_send_ipi()
|
H A D | irq-econet-en751221.c | 6 * designed for the MIPS 34Kc MT SMP processor with 2 VPEs. Each interrupt can
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | mti,gic.yaml | 14 The MIPS GIC routes external interrupts to individual VPEs and IRQ pins. 58 allocate the last (2 * number of VPEs in the system).
|
H A D | econet,en751221-intc.yaml | 14 designed for the MIPS 34Kc MT SMP processor with 2 VPEs. Each interrupt can
|
/linux/arch/mips/include/asm/ |
H A D | mips_mt.h | 12 * How many VPEs and TCs is Linux allowed to use? 0 means no limit.
|
/linux/arch/mips/kernel/ |
H A D | vpe-mt.c | 22 /* The number of TCs and VPEs physically available on the core */ 339 pr_warn("No VPEs reserved for AP/SP, not initialize VPE loader\n" in vpe_module_init()
|
H A D | mips-mt-fpaff.c | 21 * CPU mask used to set process affinity for MT VPEs/TCs with FPUs
|
H A D | smp-cps.c | 236 /* Use the number of VPEs in cluster 0 core 0 for smp_num_siblings */ in cps_smp_setup()
|
/linux/include/linux/irqchip/ |
H A D | arm-gic-v4.h | 23 struct its_vpe **vpes; member
|
/linux/arch/mips/ |
H A D | Kconfig | 2229 on cores with the MT ASE and uses the available VPEs to implement
|