Lines Matching +full:name +full:- +full:prefix

1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <asm/asm-offsets.h>
15 #include <asm-generic/barrier.h>
23 #define INVALID_CPU_ADDRESS -4711
47 char name[20]; member
71 cc = sigp(INVALID_CPU_ADDRESS, c->order, 0, &status); in test_invalid()
72 report(cc == 3, "%s", c->message); in test_invalid()
77 cc = smp_sigp(1, c->order, 0, &status); in test_invalid()
78 report(cc == 1, "%s", c->message); in test_invalid()
113 struct lowcore *lc = cpu->lowcore; in test_restart()
119 lc->restart_new_psw = PSW_WITH_CUR_MASK(test_func); in test_restart()
179 report(lowcore.prefix_sa == (uint32_t)(uintptr_t)cpu->lowcore, "prefix"); in test_stop_store_status()
189 report(lowcore.prefix_sa == (uint32_t)(uintptr_t)cpu->lowcore, "prefix"); in test_stop_store_status()
222 while (!status->prefix) { mb(); } in test_store_status()
240 " stpx %[prefix]\n" in stpx_and_set_flag()
241 : [prefix] "=Q" (cpu1_prefix) in stpx_and_set_flag()
256 report_prefix_push("set prefix"); in test_set_prefix()
260 memcpy(new_lc, cpu1->lowcore, sizeof(struct lowcore)); in test_set_prefix()
261 new_lc->restart_new_psw.addr = (unsigned long)loop; in test_set_prefix()
274 * If the prefix of the other CPU was changed it will enter an endless in test_set_prefix()
281 report(cpu1_prefix == (uint64_t)cpu1->lowcore, "prefix unchanged"); in test_set_prefix()
301 ctl_set_bit(0, current_sigp_call_case->cr0_bit); in call_received()
308 while (lowcore.ext_int_code != current_sigp_call_case->ext_int_expected_type) in call_received()
312 ctl_clear_bit(0, current_sigp_call_case->cr0_bit); in call_received()
325 report_prefix_push(current_sigp_call_case->name); in test_calls()
326 if (!current_sigp_call_case->supports_pv && uv_os_is_guest()) { in test_calls()
339 smp_sigp(1, current_sigp_call_case->call, 0, NULL); in test_calls()
357 ctl_set_bit(0, current_sigp_call_case->cr0_bit); in call_in_wait_setup()
365 report(lowcore.ext_int_code == current_sigp_call_case->ext_int_expected_type, "received"); in call_in_wait_received()
372 ctl_clear_bit(0, current_sigp_call_case->cr0_bit); in call_in_wait_cleanup()
386 report_prefix_push(current_sigp_call_case->name); in test_calls_in_wait()
387 if (!current_sigp_call_case->supports_pv && uv_os_is_guest()) { in test_calls_in_wait()
413 smp_sigp(1, current_sigp_call_case->call, 0, NULL); in test_calls_in_wait()
474 report(!status->psw.mask && !status->psw.addr, "psw"); in test_reset_initial()
475 report(!status->prefix, "prefix"); in test_reset_initial()
476 report(!status->fpc, "fpc"); in test_reset_initial()
477 report(!status->cputm, "cpu timer"); in test_reset_initial()
478 report(!status->todpr, "todpr"); in test_reset_initial()
480 report(status->crs[i] == 0, "cr%d == 0", i); in test_reset_initial()
482 report(status->crs[15] == 0, "cr15 == 0"); in test_reset_initial()
486 report(status->crs[0] == 0xE0UL, "cr0 == 0xE0"); in test_reset_initial()
487 report(status->crs[14] == 0xC2000000UL, "cr14 == 0xC2000000"); in test_reset_initial()