Lines Matching full:cpu

30 	{ SIGP_STOP,                  "stop with invalid CPU address" },
31 { SIGP_START, "start with invalid CPU address" },
32 { SIGP_CPU_RESET, "reset with invalid CPU address" },
33 { SIGP_COND_EMERGENCY_SIGNAL, "conditional emcall with invalid CPU address" },
34 { SIGP_EMERGENCY_SIGNAL, "emcall with invalid CPU address" },
35 { SIGP_EXTERNAL_CALL, "ecall with invalid CPU address" },
36 { INVALID_ORDER_CODE, "invalid order code and CPU address" },
37 { SIGP_SENSE, "sense with invalid CPU address" },
38 { SIGP_STOP_AND_STORE_STATUS, "stop and store status with invalid CPU address" },
112 struct cpu *cpu = smp_cpu_from_idx(1); in test_restart() local
113 struct lowcore *lc = cpu->lowcore; in test_restart()
121 /* Make sure cpu is stopped */ in test_restart()
126 report(!smp_cpu_stopped(1), "cpu started"); in test_restart()
134 * Wait until cpu 1 has set the flag because it executed the in test_restart()
140 report(!smp_cpu_stopped(1), "cpu started"); in test_restart()
156 report(smp_cpu_stopped(1), "cpu stopped"); in test_stop()
158 report_prefix_push("stop stopped CPU"); in test_stop()
161 report(smp_cpu_stopped(1), "cpu stopped"); in test_stop()
169 struct cpu *cpu = smp_cpu_from_idx(1); in test_stop_store_status() local
178 report(smp_cpu_stopped(1), "cpu stopped"); in test_stop_store_status()
179 report(lowcore.prefix_sa == (uint32_t)(uintptr_t)cpu->lowcore, "prefix"); in test_stop_store_status()
188 report(smp_cpu_stopped(1), "cpu stopped"); in test_stop_store_status()
189 report(lowcore.prefix_sa == (uint32_t)(uintptr_t)cpu->lowcore, "prefix"); in test_stop_store_status()
205 report_prefix_push("invalid CPU address"); in test_store_status()
252 struct cpu *cpu1 = smp_cpu_from_idx(1); in test_set_prefix()
274 * If the prefix of the other CPU was changed it will enter an endless in test_set_prefix()
285 report_prefix_push("invalid CPU address"); in test_set_prefix()
393 /* Let the secondary CPU setup the external mask and the external interrupt cleanup function */ in test_calls_in_wait()
402 * To avoid races, we need to know that the secondary CPU has entered wait, in test_calls_in_wait()
403 * but the architecture provides no way to check whether the secondary CPU in test_calls_in_wait()
406 * But since a waiting CPU is considered operating, simply stop the CPU, set in test_calls_in_wait()
408 * wait until the CPU becomes operating (done by smp_cpu_start). in test_calls_in_wait()
442 /* stop the target CPU (CPU1) to speed up the not running case */ in test_sense_running()
450 /* Used to dirty registers of cpu #1 before it is reset */
477 report(!status->cputm, "cpu timer"); in test_reset_initial()
490 report(smp_cpu_stopped(1), "cpu stopped"); in test_reset_initial()
506 report_prefix_push("cpu reset"); in test_reset()
512 report(smp_cpu_stopped(1), "cpu stopped"); in test_reset()
530 /* Setting up the cpu to give it a stack and lowcore */ in main()