/linux/tools/testing/selftests/powerpc/papr_sysparm/ |
H A D | papr_sysparm.c | 17 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in open_close() 33 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in get_splpar() 52 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in get_bad_parameter() 75 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in check_efault_common() 106 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in set_hmc0() 113 SKIP_IF_MSG(errno == EOPNOTSUPP, "operation not supported"); in set_hmc0() 128 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in set_with_ro_fd() 135 SKIP_IF_MSG(errno == EOPNOTSUPP, "operation not supported"); in set_with_ro_fd()
|
/linux/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 20 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in dev_papr_vpd_open_close() 36 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in dev_papr_vpd_get_handle_all() 74 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in dev_papr_vpd_get_handle_byte_at_a_time() 115 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in dev_papr_vpd_unterm_loc_code() 140 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in dev_papr_vpd_null_handle() 160 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in papr_vpd_close_handle_without_reading() 183 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in papr_vpd_reread() 266 SKIP_IF_MSG(devfd < 0 && errno == ENOENT, in papr_vpd_system_loc_code() 268 SKIP_IF_MSG(get_system_loc_code(&lc), in papr_vpd_system_loc_code()
|
/linux/tools/testing/selftests/powerpc/math/ |
H A D | mma.c | 26 SKIP_IF_MSG(!have_hwcap2(PPC_FEATURE2_ARCH_3_1), "Need ISAv3.1"); in mma() 27 SKIP_IF_MSG(!have_hwcap2(PPC_FEATURE2_MMA), "Need MMA"); in mma()
|
/linux/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr_test.c | 56 SKIP_IF_MSG(!dexcr_exists(), "DEXCR not supported"); in dexcr_prctl_aspect_test() 57 SKIP_IF_MSG(!pr_dexcr_aspect_supported(which), "DEXCR aspect not supported"); in dexcr_prctl_aspect_test() 58 SKIP_IF_MSG(!pr_dexcr_aspect_editable(which), "DEXCR aspect not editable with prctl"); in dexcr_prctl_aspect_test()
|
H A D | hashchk_test.c | 23 SKIP_IF_MSG(!dexcr_exists(), "DEXCR not supported"); in require_nphie() 30 SKIP_IF_MSG(!(get_dexcr(EFFECTIVE) & DEXCR_PR_NPHIE), in require_nphie()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tm-gpr.c | 115 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_gpr() 116 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_gpr()
|
H A D | ptrace-tm-spd-gpr.c | 121 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_spd_gpr() 122 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_spd_gpr()
|
H A D | ptrace-tm-spd-tar.c | 131 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_spd_tar() 132 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_spd_tar()
|
H A D | ptrace-tm-tar.c | 119 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_tar() 120 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_tar()
|
H A D | ptrace-tm-spr.c | 116 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_spr() 117 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_spr()
|
H A D | ptrace-tm-vsx.c | 115 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_vsx() 116 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_vsx()
|
H A D | ptrace-tm-spd-vsx.c | 131 SKIP_IF_MSG(!have_htm(), "Don't have transactional memory"); in ptrace_tm_spd_vsx() 132 SKIP_IF_MSG(htm_is_synthetic(), "Transactional memory is synthetic"); in ptrace_tm_spd_vsx()
|
H A D | child.h | 56 SKIP_IF_MSG(1, msg); \
|
H A D | ptrace-tar.c | 82 SKIP_IF_MSG(!have_hwcap2(PPC_FEATURE2_ARCH_2_07), "TAR requires ISA 2.07 compatible hardware"); in ptrace_tar()
|
H A D | ptrace-vsx.c | 64 SKIP_IF_MSG(!have_hwcap(PPC_FEATURE_HAS_VSX), "Don't have VSX"); in ptrace_vsx()
|
H A D | ptrace-perf-hwbreak.c | 180 SKIP_IF_MSG(dbginfo.num_data_bps <= 1, "Not enough data watchpoints (need at least 2)"); in check_watchpoints()
|
H A D | core-pkey.c | 355 SKIP_IF_MSG(err == -EPERM, "Try with root privileges"); in write_core_pattern()
|
H A D | ptrace-hwbreak.c | 606 SKIP_IF_MSG(dbginfo.num_data_bps == 0, "No data breakpoints present"); in ptrace_hwbreak()
|
H A D | perf-hwbreak.c | 887 SKIP_IF_MSG(!perf_breakpoint_supported(), "Perf breakpoints not supported"); in perf_hwbreak()
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 169 #define SKIP_IF_MSG(x, msg) \ macro
|