Searched refs:cpu (Results 1 – 7 of 7) sorted by relevance
/trusty/kernel/app/smptest/ |
D | smptest.c | 58 uint cpu = arch_curr_cpu_num(); in smptest_thread_func() local 59 if (cpu != expected_cpu) { in smptest_thread_func() 61 printf("%s: thread %d started on wrong cpu: %d\n", __func__, i, cpu); in smptest_thread_func() 70 cpu = arch_curr_cpu_num(); in smptest_thread_func() 71 if (cpu != expected_cpu) { in smptest_thread_func() 73 printf("%s: thread %d ran on wrong cpu: %d\n", __func__, i, cpu); in smptest_thread_func() 172 for (uint cpu = 0; cpu < SMP_MAX_CPUS; cpu++) { in TEST() local 173 const struct smptest_thread* const smpt = &smptest_thread[cpu]; in TEST() 191 EXPECT_EQ(unblock_count, j, "cpu %d FAILED block count\n", cpu); in TEST() 192 EXPECT_EQ(error_count, 0, "cpu %d FAILED error count\n", cpu); in TEST() [all …]
|
/trusty/kernel/lib/sm/ |
D | sm.c | 174 uint cpu = arch_curr_cpu_num(); in sm_queue_stdcall() local 183 cpu, stdcallstate.restart_count); in sm_queue_stdcall() 186 dprintf(CRITICAL, "%s: cpu %d, std call busy\n", __func__, cpu); in sm_queue_stdcall() 199 LTRACEF("cpu %d, queue std call 0x%x\n", cpu, args->smc_nr); in sm_queue_stdcall() 200 stdcallstate.initial_cpu = cpu; in sm_queue_stdcall() 207 stdcallstate.active_cpu = cpu; in sm_queue_stdcall() 237 static void sm_return_and_wait_for_next_stdcall(long ret, int cpu) { in sm_return_and_wait_for_next_stdcall() argument 251 LTRACEF_LEVEL(3, "cpu %d, got nop\n", cpu); in sm_return_and_wait_for_next_stdcall() 262 int cpu; in sm_irq_return_ns() local 264 cpu = arch_curr_cpu_num(); in sm_irq_return_ns() [all …]
|
/trusty/device/arm/generic-arm64/project/hafnium/ |
D | tos_fw_config.dts | 22 cpu@0 { 26 device_type = "cpu"; 32 cpu@3 { 36 device_type = "cpu"; 38 cpu@2 { 42 device_type = "cpu"; 44 cpu@1 { 48 device_type = "cpu";
|
/trusty/kernel/app/fptest/ |
D | fptest.c | 54 int cpu = 0; /* test only on cpu for now */ in fptest_init() local 59 snprintf(thread_name, sizeof(thread_name), "fptest-%d-%d", cpu, i); in fptest_init() 62 thread->pinned_cpu = cpu; in fptest_init()
|
/trusty/kernel/app/busytest/ |
D | busytest.c | 133 uint cpu = arch_curr_cpu_num(); in busy_test_cpu_init() local 134 snprintf(thread_name, sizeof(thread_name), "busy-test-%d", cpu); in busy_test_cpu_init() 138 thread->pinned_cpu = cpu; in busy_test_cpu_init()
|
/trusty/device/arm/generic-arm64/project/qemu/ |
D | run-qemu-helper | 25 -cpu cortex-a57
|
/trusty/kernel/include/shared/lk/ |
D | trusty_benchmark.h | 231 const int cpu = bench_state.cur_param_idx / trusty_cur_bench_nb_params; in trusty_bench_multi_cpus_setup() local 233 if (cpu < SMP_MAX_CPUS && mp_is_cpu_active(cpu)) { in trusty_bench_multi_cpus_setup() 234 thread_set_pinned_cpu(get_current_thread(), cpu); in trusty_bench_multi_cpus_setup()
|