Home
last modified time | relevance | path

Searched refs:SKIP_IF_MSG (Results 1 – 20 of 20) sorted by relevance

/linux/tools/testing/selftests/powerpc/papr_sysparm/
H A Dpapr_sysparm.c17 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 Dpapr_vpd.c20 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 Dmma.c26 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 Ddexcr_test.c56 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 Dhashchk_test.c23 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 Dptrace-tm-gpr.c115 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 Dptrace-tm-spd-gpr.c121 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 Dptrace-tm-spd-tar.c131 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 Dptrace-tm-tar.c119 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 Dptrace-tm-spr.c116 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 Dptrace-tm-vsx.c115 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 Dptrace-tm-spd-vsx.c131 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 Dchild.h56 SKIP_IF_MSG(1, msg); \
H A Dptrace-tar.c82 SKIP_IF_MSG(!have_hwcap2(PPC_FEATURE2_ARCH_2_07), "TAR requires ISA 2.07 compatible hardware"); in ptrace_tar()
H A Dptrace-vsx.c64 SKIP_IF_MSG(!have_hwcap(PPC_FEATURE_HAS_VSX), "Don't have VSX"); in ptrace_vsx()
H A Dptrace-perf-hwbreak.c180 SKIP_IF_MSG(dbginfo.num_data_bps <= 1, "Not enough data watchpoints (need at least 2)"); in check_watchpoints()
H A Dcore-pkey.c355 SKIP_IF_MSG(err == -EPERM, "Try with root privileges"); in write_core_pattern()
H A Dptrace-hwbreak.c606 SKIP_IF_MSG(dbginfo.num_data_bps == 0, "No data breakpoints present"); in ptrace_hwbreak()
H A Dperf-hwbreak.c887 SKIP_IF_MSG(!perf_breakpoint_supported(), "Perf breakpoints not supported"); in perf_hwbreak()
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h169 #define SKIP_IF_MSG(x, msg) \ macro