Home
last modified time | relevance | path

Searched refs:have_hwcap2 (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_explicit_test.c60 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 Ddscr_default_test.c47 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 Ddscr_user_test.c39 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_user()
H A Ddscr_sysfs_thread_test.c59 SKIP_IF(!have_hwcap2(PPC_FEATURE2_DSCR)); in dscr_sysfs_thread()
/openbmc/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()
H A Dvmx_syscall.c57 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_2_07)); in test_vmx_syscall()
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm.h20 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 Dmisc.c96 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 Dmmcr0_cc56run_test.c26 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcr0_cc56run()
H A Dmmcr0_pmccext_test.c26 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcr0_pmccext()
H A Dmmcra_bhrb_disable_no_branch_test.c32 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_disable_no_branch_test()
H A Dmmcra_bhrb_ind_call_test.c35 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_ind_call_test()
H A Dmmcra_bhrb_disable_test.c32 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_disable_test()
H A Dmmcr3_src_test.c30 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcr3_src()
H A Dmmcra_bhrb_cond_test.c35 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in mmcra_bhrb_cond_test()
/openbmc/linux/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c343 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 Dcopy_first_unaligned.c52 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_00)); in test_copy_first_unaligned()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dprot_sao.c27 have_hwcap2(PPC_FEATURE2_ARCH_3_1) || in test_prot_sao()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgroup_constraint_radix_scope_qual_test.c32 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in group_constraint_radix_scope_qual()
H A Dinvalid_event_code_test.c45 if (have_hwcap2(PPC_FEATURE2_ARCH_3_1)) { in invalid_event_code()
H A Dgroup_constraint_l2l3_sel_test.c36 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in group_constraint_l2l3_sel()
H A Dgroup_constraint_unit_test.c38 SKIP_IF(have_hwcap2(PPC_FEATURE2_ARCH_3_1)); in group_constraint_unit()
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h91 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 Dl3_bank_test.c24 SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_2_07)); in l3_bank_test()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dregs_access_pmccext_test.c52 if (have_hwcap2(PPC_FEATURE2_ARCH_3_1)) in regs_access_pmccext()

12