Home
last modified time | relevance | path

Searched refs:target_cpu (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/qemu/target/arm/
H A Darm-powerctl.c83 arm_rebuild_hflags(&target_cpu->env); in arm_set_cpu_on_async_work()
93 target_cpu->power_state = PSCI_ON; in arm_set_cpu_on_async_work()
100 ARMCPU *target_cpu; in arm_set_cpu_on() local
127 target_cpu = ARM_CPU(target_cpu_state); in arm_set_cpu_on()
201 target_cpu->power_state = PSCI_ON; in arm_set_cpu_on_and_reset_async_work()
207 ARMCPU *target_cpu; in arm_set_cpu_on_and_reset() local
218 target_cpu = ARM_CPU(target_cpu_state); in arm_set_cpu_on_and_reset()
252 target_cpu->power_state = PSCI_OFF; in arm_set_cpu_off_async_work()
260 ARMCPU *target_cpu; in arm_set_cpu_off() local
271 target_cpu = ARM_CPU(target_cpu_state); in arm_set_cpu_off()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dpsci_test.c25 static uint64_t psci_cpu_on(uint64_t target_cpu, uint64_t entry_addr, in psci_cpu_on() argument
30 smccc_hvc(PSCI_0_2_FN64_CPU_ON, target_cpu, entry_addr, context_id, in psci_cpu_on()
116 static void guest_test_cpu_on(uint64_t target_cpu) in guest_test_cpu_on() argument
120 GUEST_ASSERT(!psci_cpu_on(target_cpu, CPU_ON_ENTRY_ADDR, CPU_ON_CONTEXT_ID)); in guest_test_cpu_on()
123 target_state = psci_affinity_info(target_cpu, 0); in guest_test_cpu_on()
/openbmc/openbmc-tools/tracing/
H A DREADME.md49 … sh-1866 [000] d.h. 201821.030000: sched_waking: comm=rngd pid=987 prio=120 target_cpu=000
50 … sh-1866 [000] dnh. 201821.030000: sched_wakeup: comm=rngd pid=987 prio=120 target_cpu=000
51 … sh-1866 [000] dn.. 201821.030000: sched_waking: comm=ksoftirqd/0 pid=6 prio=120 target_cpu=000
52 … sh-1866 [000] dn.. 201821.030000: sched_wakeup: comm=ksoftirqd/0 pid=6 prio=120 target_cpu=000
56 …1866 [000] d.h. 201821.030000: sched_waking: comm=phosphor-hwmon- pid=1188 prio=120 target_cpu=000
57 …1866 [000] dnh. 201821.030000: sched_wakeup: comm=phosphor-hwmon- pid=1188 prio=120 target_cpu=000
/openbmc/qemu/hw/intc/
H A Dslavio_intctl.c74 uint32_t target_cpu; member
161 ret = s->target_cpu; in slavio_intctlm_mem_readl()
196 s->target_cpu = val & (MAX_CPUS - 1); in slavio_intctlm_mem_writel()
198 trace_slavio_intctlm_mem_writel_target(s->target_cpu); in slavio_intctlm_mem_writel()
233 (i == s->target_cpu)) { in slavio_check_interrupts()
244 if (i == s->target_cpu) { in slavio_check_interrupts()
295 trace_slavio_set_irq(s->target_cpu, irq, pil, level); in slavio_set_irq()
371 VMSTATE_UINT32(target_cpu, SLAVIO_INTCTLState),
387 s->target_cpu = 0; in slavio_intctl_reset()
/openbmc/openbmc/poky/meta/recipes-bsp/grub/files/
H A D0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch37 …if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$platform" != xemu; …
44 if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ); then
/openbmc/u-boot/arch/arm/mach-stm32mp/
H A Dpsci.c110 int __secure psci_cpu_on(u32 function_id, u32 target_cpu, u32 pc, in psci_cpu_on() argument
113 u32 cpu = target_cpu & MPIDR_AFF0; in psci_cpu_on()
115 if (target_cpu & ~MPIDR_AFF0) in psci_cpu_on()
/openbmc/qemu/target/arm/tcg/
H A Dpsci.c90 ARMCPU *target_cpu; in arm_handle_psci_call() local
109 target_cpu = ARM_CPU(target_cpu_state); in arm_handle_psci_call()
112 ret = target_cpu->power_state; in arm_handle_psci_call()
/openbmc/linux/tools/perf/scripts/perl/
H A Dwakeup-latency.pl55 $comm, $pid, $prio, $success, $target_cpu) = @_;
57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
/openbmc/qemu/hw/misc/
H A Dallwinner-cpucfg.c87 ARMCPU *target_cpu = ARM_CPU(arm_get_cpu_by_id(cpu_id)); in allwinner_cpucfg_cpu_reset() local
88 if (!target_cpu) { in allwinner_cpucfg_cpu_reset()
95 bool target_aa64 = arm_feature(&target_cpu->env, ARM_FEATURE_AARCH64); in allwinner_cpucfg_cpu_reset()
/openbmc/linux/drivers/hv/
H A Dchannel_mgmt.c464 hv_clear_allocated_cpu(channel->target_cpu); in hv_process_channel_removal()
707 if (primary->target_cpu == cpu) in hv_cpuself_used()
711 if (sc != chn && sc->target_cpu == cpu) in hv_cpuself_used()
738 u32 target_cpu; in init_vp_index() local
752 channel->target_cpu = VMBUS_CONNECT_CPU; in init_vp_index()
784 target_cpu = cpumask_first(available_mask); in init_vp_index()
785 cpumask_set_cpu(target_cpu, allocated_mask); in init_vp_index()
788 i > ncpu || !hv_cpuself_used(target_cpu, channel)) in init_vp_index()
792 channel->target_cpu = target_cpu; in init_vp_index()
H A Dvmbus_drv.c503 cur_sc->target_cpu); in channel_vp_mapping_show()
1594 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1599 u32 target_cpu, origin_cpu; in target_cpu_store() local
1605 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store()
1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
1618 if (!cpu_online(target_cpu)) { in target_cpu_store()
1656 origin_cpu = channel->target_cpu; in target_cpu_store()
1657 if (target_cpu == origin_cpu) in target_cpu_store()
1661 hv_cpu_number_to_vp_number(target_cpu))) { in target_cpu_store()
1681 channel->target_cpu = target_cpu; in target_cpu_store()
[all …]
H A Dhyperv_vmbus.h432 if (channel->target_cpu == cpu) in hv_is_allocated_cpu()
435 if (sc->target_cpu == cpu) in hv_is_allocated_cpu()
H A Dhv.c471 if (channel->target_cpu == cpu) { in hv_synic_cleanup()
476 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A Dkexec-x32.patch34 @@ -54,6 +54,15 @@ case $target_cpu in
37 ARCH="$target_cpu"
49 AC_MSG_ERROR([unsupported architecture $target_cpu])
/openbmc/linux/arch/sparc/kernel/
H A Dsun4d_irq.c487 int target_cpu; in sun4d_init_sbi_irq() local
489 target_cpu = boot_cpu_id; in sun4d_init_sbi_irq()
495 set_sbi_tid(devid, target_cpu << 3); in sun4d_init_sbi_irq()
496 board_to_cpu[board] = target_cpu; in sun4d_init_sbi_irq()
/openbmc/linux/tools/perf/scripts/python/
H A Dsched-migration.py355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
359 ts.wake_up(self.timeslices, pid, target_cpu, fork)
433 target_cpu): argument
436 parser.wake_up(headers, comm, pid, success, target_cpu, 1)
441 target_cpu): argument
444 parser.wake_up(headers, comm, pid, success, target_cpu, 0)
/openbmc/linux/drivers/irqchip/
H A Dirq-apple-aic.c244 u32 target_cpu; member
261 .target_cpu = AIC_TARGET_CPU,
268 .target_cpu = AIC_TARGET_CPU,
413 BUG_ON(!ic->info.target_cpu); in aic_irq_set_affinity()
420 aic_ic_write(ic, ic->info.target_cpu + AIC_HWIRQ_IRQ(hwirq) * 4, BIT(cpu)); in aic_irq_set_affinity()
951 off = start_off = irqc->info.target_cpu; in aic_of_ic_init()
1025 if (irqc->info.target_cpu) in aic_of_ic_init()
1027 aic_ic_write(irqc, irqc->info.target_cpu + off + i * 4, 1); in aic_of_ic_init()
/openbmc/linux/drivers/pci/controller/
H A Dpci-xgene-msi.c175 int target_cpu = cpumask_first(mask); in xgene_msi_set_affinity() local
179 if (curr_cpu == target_cpu) in xgene_msi_set_affinity()
183 irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu; in xgene_msi_set_affinity()
H A Dpcie-iproc-msi.c210 int target_cpu = cpumask_first(mask); in iproc_msi_irq_set_affinity() local
215 if (curr_cpu == target_cpu) in iproc_msi_irq_set_affinity()
219 data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu; in iproc_msi_irq_set_affinity()
223 irq_data_update_effective_affinity(data, cpumask_of(target_cpu)); in iproc_msi_irq_set_affinity()
/openbmc/linux/tools/perf/bench/
H A Dnuma.c270 static cpu_set_t *bind_to_cpu(int target_cpu) in bind_to_cpu() argument
290 if (target_cpu == -1) { in bind_to_cpu()
296 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus) in bind_to_cpu()
299 CPU_SET_S(target_cpu, size, mask); in bind_to_cpu()
1278 int target_cpu; in worker_thread() local
1290 target_cpu = g->p.nr_cpus-1; in worker_thread()
1292 target_cpu = 0; in worker_thread()
1294 orig_mask = bind_to_cpu(target_cpu); in worker_thread()
1298 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu); in worker_thread()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dmobility.c493 static void prod_single(unsigned int target_cpu) in prod_single() argument
498 hwid = get_hard_smp_processor_id(target_cpu); in prod_single()
503 target_cpu, hwid, hvrc); in prod_single()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nspr/nspr/
H A Dfix-build-on-x86_64.patch3 When the target_cpu is x86_64, we should assume that the pkg uses 64bit,
/openbmc/linux/kernel/
H A Dpadata.c52 int cpu, target_cpu; in padata_index_to_cpu() local
54 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
58 return target_cpu; in padata_index_to_cpu()
/openbmc/linux/drivers/scsi/
H A Dstorvsc_drv.c623 if (device->channel != channel && device->channel->target_cpu == old) { in storvsc_change_target_cpu()
631 if (cur_chn->target_cpu == old) { in storvsc_change_target_cpu()
706 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
707 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
932 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init()
933 cpumask_set_cpu(device->channel->target_cpu, in storvsc_channel_init()
1460 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/perfetto/files/
H A D0001-Remove-check_build_deps-build-steps.patch64 - target_cpu != host_cpu || target_os != host_os || target_triplet != ""

12