/openbmc/linux/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_explicit_test.c | 60 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_explicit_lockstep_test() 138 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_explicit_random_test() 163 if (have_hwcap2(PPC_FEATURE2_DSCR)) in main() 169 if (have_hwcap2(PPC_FEATURE2_DSCR)) in main()
|
H A D | dscr_default_test.c | 47 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_default_lockstep_test() 127 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_default_random_test() 159 if (have_hwcap2(PPC_FEATURE2_DSCR)) in main() 165 if (have_hwcap2(PPC_FEATURE2_DSCR)) in main()
|
H A D | dscr_user_test.c | 39 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_user()
|
H A D | dscr_sysfs_thread_test.c | 59 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_sysfs_thread()
|
/openbmc/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()
|
H A D | vmx_syscall.c | 57 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_2_07)); in test_vmx_syscall()
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm.h | 20 return have_hwcap2(PPC_FEATURE2_HTM); in have_htm() 30 return have_hwcap2(PPC_FEATURE2_HTM_NOSC); in have_htm_nosc()
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | misc.c | 96 if (have_hwcap2(PPC_FEATURE2_ARCH_3_1)) in perf_get_platform_reg_mask() 98 if (have_hwcap2(PPC_FEATURE2_ARCH_3_00)) in perf_get_platform_reg_mask() 139 if (!have_hwcap2(PPC_FEATURE2_EBB) || !have_hwcap2(PPC_FEATURE2_ARCH_3_00)) in platform_check_for_tests() 453 if (!have_hwcap2(PPC_FEATURE2_ARCH_3_1)) in get_thresh_cmp_val()
|
H A D | mmcr0_cc56run_test.c | 26 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcr0_cc56run()
|
H A D | mmcr0_pmccext_test.c | 26 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcr0_pmccext()
|
H A D | mmcra_bhrb_disable_no_branch_test.c | 32 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_disable_no_branch_test()
|
H A D | mmcra_bhrb_ind_call_test.c | 35 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_ind_call_test()
|
H A D | mmcra_bhrb_disable_test.c | 32 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_disable_test()
|
H A D | mmcr3_src_test.c | 30 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcr3_src()
|
H A D | mmcra_bhrb_cond_test.c | 35 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_cond_test()
|
/openbmc/linux/tools/testing/selftests/powerpc/alignment/ |
H A D | alignment_handler.c | 343 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_2_07)); in test_alignment_handler_vsx_207() 360 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_00)); in test_alignment_handler_vsx_300() 391 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in test_alignment_handler_vsx_prefix() 484 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in test_alignment_handler_integer_prefix() 594 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in test_alignment_handler_fp_prefix() 653 prefixes_enabled = have_hwcap2(PPC_FEATURE2_ARCH_3_1); in main()
|
H A D | copy_first_unaligned.c | 52 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_00)); in test_copy_first_unaligned()
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | prot_sao.c | 27 have_hwcap2(PPC_FEATURE2_ARCH_3_1) || in test_prot_sao()
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | group_constraint_radix_scope_qual_test.c | 32 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in group_constraint_radix_scope_qual()
|
H A D | invalid_event_code_test.c | 45 if (have_hwcap2(PPC_FEATURE2_ARCH_3_1)) { in invalid_event_code()
|
H A D | group_constraint_l2l3_sel_test.c | 36 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in group_constraint_l2l3_sel()
|
H A D | group_constraint_unit_test.c | 38 SKIP_IF(have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in group_constraint_unit()
|
/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 91 static inline bool have_hwcap2(unsigned long ftr2) in have_hwcap2() function 96 static inline bool have_hwcap2(unsigned long ftr2) in have_hwcap2() function
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | l3_bank_test.c | 24 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_2_07)); in l3_bank_test()
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | regs_access_pmccext_test.c | 52 if (have_hwcap2(PPC_FEATURE2_ARCH_3_1)) in regs_access_pmccext()
|