Home
last modified time | relevance | path

Searched refs:cpu_has_feature (Results 1 - 25 of 222) sorted by relevance

123456789

/kernel/linux/linux-6.6/arch/powerpc/perf/
H A Disa207-common.c58 if (cpu_has_feature(CPU_FTR_ARCH_31)) in is_event_valid()
60 else if (cpu_has_feature(CPU_FTR_ARCH_300)) in is_event_valid()
76 if (cpu_has_feature(CPU_FTR_ARCH_31)) in sdar_mod_val()
100 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in mmcra_sdar_mode()
128 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in p10_thresh_cmp_val()
151 if (cpu_has_feature(CPU_FTR_ARCH_31)) in thresh_cmp_val()
158 if (cpu_has_feature(CPU_FTR_ARCH_300)) in thresh_cmp_val()
166 if (cpu_has_feature(CPU_FTR_ARCH_300)) in combine_from_event()
174 if (cpu_has_feature(CPU_FTR_ARCH_300)) in combine_shift()
189 if (cpu_has_feature(CPU_FTR_ARCH_3 in is_thresh_cmp_valid()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Disa207-common.c58 if (cpu_has_feature(CPU_FTR_ARCH_31)) in is_event_valid()
60 else if (cpu_has_feature(CPU_FTR_ARCH_300)) in is_event_valid()
76 if (cpu_has_feature(CPU_FTR_ARCH_31)) in sdar_mod_val()
100 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in mmcra_sdar_mode()
113 if (cpu_has_feature(CPU_FTR_ARCH_300)) in thresh_cmp_val()
121 if (cpu_has_feature(CPU_FTR_ARCH_300)) in combine_from_event()
129 if (cpu_has_feature(CPU_FTR_ARCH_300)) in combine_shift()
149 if (cpu_has_feature(CPU_FTR_ARCH_31)) in is_thresh_cmp_valid()
250 if (cpu_has_feature(CPU_FTR_ARCH_31)) in isa207_get_mem_weight()
271 if (cpu_has_feature(CPU_FTR_ARCH_3 in isa207_get_constraint()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c21 if (!cpu_has_feature(CPU_FTR_TM) || tsk != current) in flush_tmregs_to_thread()
60 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_active()
89 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_get()
140 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_set()
201 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_active()
234 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_get()
279 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_set()
313 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_active()
350 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_get()
400 if (!cpu_has_feature(CPU_FTR_T in tm_cvmx_set()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c21 if (!cpu_has_feature(CPU_FTR_TM) || tsk != current) in flush_tmregs_to_thread()
60 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_active()
94 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_get()
141 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_set()
202 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_active()
235 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_get()
280 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_set()
314 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_active()
351 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_get()
401 if (!cpu_has_feature(CPU_FTR_T in tm_cvmx_set()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
H A Dos_types.h66 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { \
69 } else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { \
72 } else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { \
78 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { \
81 } else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { \
84 } else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { \
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Ddc_fpu.c97 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { in dc_fpu_begin()
100 } else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { in dc_fpu_begin()
103 } else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { in dc_fpu_begin()
137 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { in dc_fpu_end()
140 } else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { in dc_fpu_end()
143 } else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { in dc_fpu_end()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dcputhreads.h7 #include <asm/cpu_has_feature.h>
76 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8)) in cpu_first_tlb_thread_sibling()
84 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8)) in cpu_last_tlb_thread_sibling()
92 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8)) in cpu_tlb_thread_sibling_step()
101 if (cpu_has_feature(CPU_FTR_SMT)) in get_tensr()
H A Ddcr-native.h14 #include <asm/cpu_has_feature.h>
58 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
69 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
84 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mfdcri()
101 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mtdcri()
118 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __dcri_clrset()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/
H A Dkexec.h11 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in reset_sprs()
16 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in reset_sprs()
18 if (cpu_has_feature(CPU_FTR_HVMODE)) in reset_sprs()
24 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in reset_sprs()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dcputhreads.h7 #include <asm/cpu_has_feature.h>
109 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8)) in cpu_first_tlb_thread_sibling()
117 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8)) in cpu_last_tlb_thread_sibling()
125 if (cpu_has_feature(CPU_FTR_ARCH_300) && (threads_per_core == 8)) in cpu_tlb_thread_sibling_step()
134 if (cpu_has_feature(CPU_FTR_SMT)) in get_tensr()
H A Ddcr-native.h14 #include <asm/cpu_has_feature.h>
58 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
69 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
84 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mfdcri()
101 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mtdcri()
118 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __dcri_clrset()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsetup_32.c43 #include <asm/cpu_has_feature.h>
104 if (cpu_has_feature(CPU_FTR_L2CR)) { in ppc_setup_l2cr()
117 if (cpu_has_feature(CPU_FTR_L3CR)) { in ppc_setup_l3cr()
204 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in setup_power_save()
205 cpu_has_feature(CPU_FTR_CAN_NAP)) in setup_power_save()
210 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in setup_power_save()
211 cpu_has_feature(CPU_FTR_CAN_NAP)) in setup_power_save()
H A Dsysfs.c73 if (!cpu_has_feature(CPU_FTR_SMT)) in setup_smt_snooze_delay()
219 if (cpu_has_feature(CPU_FTR_DSCR)) { in sysfs_create_dscr_default()
837 if (cpu_has_feature(CPU_FTR_SMT)) in register_cpu_online()
880 if (cpu_has_feature(CPU_FTR_MMCRA)) in register_cpu_online()
883 if (cpu_has_feature(CPU_FTR_ARCH_31)) in register_cpu_online()
887 if (cpu_has_feature(CPU_FTR_PURR)) { in register_cpu_online()
894 if (cpu_has_feature(CPU_FTR_SPURR)) { in register_cpu_online()
899 if (cpu_has_feature(CPU_FTR_DSCR)) in register_cpu_online()
902 if (cpu_has_feature(CPU_FTR_PPCAS_ARCH_V2)) in register_cpu_online()
905 if (cpu_has_feature(CPU_FTR_ARCH_20 in register_cpu_online()
[all...]
H A Dprocess.c62 #include <asm/cpu_has_feature.h>
127 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set()
145 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
161 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
244 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
413 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
415 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
417 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
476 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) { in should_restore_altivec()
495 if (cpu_has_feature(CPU_FTR_VS in should_restore_vsx()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsetup_32.c44 #include <asm/cpu_has_feature.h>
105 if (cpu_has_feature(CPU_FTR_L2CR)) { in ppc_setup_l2cr()
118 if (cpu_has_feature(CPU_FTR_L3CR)) { in ppc_setup_l3cr()
205 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in setup_power_save()
206 cpu_has_feature(CPU_FTR_CAN_NAP)) in setup_power_save()
211 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in setup_power_save()
212 cpu_has_feature(CPU_FTR_CAN_NAP)) in setup_power_save()
H A Dprocess.c60 #include <asm/cpu_has_feature.h>
126 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set()
144 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
160 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu()
243 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec()
412 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available()
414 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available()
416 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available()
475 if (cpu_has_feature(CPU_FTR_ALTIVEC) && (current->thread.load_vec)) { in should_restore_altivec()
494 if (cpu_has_feature(CPU_FTR_VS in should_restore_vsx()
[all...]
H A Dsysfs.c73 if (!cpu_has_feature(CPU_FTR_SMT)) in setup_smt_snooze_delay()
219 if (cpu_has_feature(CPU_FTR_DSCR)) { in sysfs_create_dscr_default()
847 if (cpu_has_feature(CPU_FTR_SMT)) in register_cpu_online()
890 if (cpu_has_feature(CPU_FTR_MMCRA)) in register_cpu_online()
893 if (cpu_has_feature(CPU_FTR_ARCH_31)) in register_cpu_online()
897 if (cpu_has_feature(CPU_FTR_PURR)) { in register_cpu_online()
904 if (cpu_has_feature(CPU_FTR_SPURR)) { in register_cpu_online()
909 if (cpu_has_feature(CPU_FTR_DSCR)) in register_cpu_online()
912 if (cpu_has_feature(CPU_FTR_PPCAS_ARCH_V2)) in register_cpu_online()
915 if (cpu_has_feature(CPU_FTR_ARCH_20 in register_cpu_online()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_p9_entry.c17 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in load_spr_state()
31 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in load_spr_state()
63 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in store_spr_state()
73 if (cpu_has_feature(CPU_FTR_P9_TIDR)) in store_spr_state()
92 if (cpu_has_feature(CPU_FTR_TM) || in load_vcpu_state()
93 cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)) { in load_vcpu_state()
127 if (cpu_has_feature(CPU_FTR_TM) || in store_vcpu_state()
128 cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)) { in store_vcpu_state()
168 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_p9_host_os_sprs()
189 if (cpu_has_feature(CPU_FTR_ALTIVE in restore_p9_host_os_sprs()
[all...]
H A Dbook3s_hv_p9_perf.c14 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in freeze_pmu()
25 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in freeze_pmu()
66 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in switch_pmu_to_guest()
100 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in switch_pmu_to_guest()
154 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in switch_pmu_to_host()
207 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in switch_pmu_to_host()
H A Dbook3s_hv.c192 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_ipi_thread()
200 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in kvmppc_ipi_thread()
297 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_core_start_stolen()
308 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_core_end_stolen()
324 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_vcpu_load_hv()
359 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_vcpu_put_hv()
400 if (cpu_has_feature(CPU_FTR_ARCH_31)) in kvmppc_set_arch_compat()
402 else if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_set_arch_compat()
404 else if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_set_arch_compat()
406 else if (cpu_has_feature(CPU_FTR_ARCH_20 in kvmppc_set_arch_compat()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dppc-dis.c11 #include <asm/cpu_has_feature.h>
128 if (cpu_has_feature(CPU_FTRS_POWER5)) in print_insn_powerpc()
131 if (cpu_has_feature(CPU_FTRS_CELL)) in print_insn_powerpc()
134 if (cpu_has_feature(CPU_FTRS_POWER6)) in print_insn_powerpc()
137 if (cpu_has_feature(CPU_FTRS_POWER7)) in print_insn_powerpc()
141 if (cpu_has_feature(CPU_FTRS_POWER8)) in print_insn_powerpc()
146 if (cpu_has_feature(CPU_FTRS_POWER9)) in print_insn_powerpc()
/kernel/linux/linux-6.6/arch/powerpc/xmon/
H A Dppc-dis.c11 #include <asm/cpu_has_feature.h>
128 if (cpu_has_feature(CPU_FTRS_POWER5)) in print_insn_powerpc()
131 if (cpu_has_feature(CPU_FTRS_CELL)) in print_insn_powerpc()
134 if (cpu_has_feature(CPU_FTRS_POWER6)) in print_insn_powerpc()
137 if (cpu_has_feature(CPU_FTRS_POWER7)) in print_insn_powerpc()
141 if (cpu_has_feature(CPU_FTRS_POWER8)) in print_insn_powerpc()
146 if (cpu_has_feature(CPU_FTRS_POWER9)) in print_insn_powerpc()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Didle.c92 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states()
116 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states()
348 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
377 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
391 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
483 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
642 if (cpu_has_feature(CPU_FTR_P9_TM_XER_SO_BUG)) { in power9_idle_stop()
653 if (!cpu_has_feature(CPU_FTR_POWER9_DD2_1)) { in power9_idle_stop()
719 if (!cpu_has_feature(CPU_FTR_POWER9_DD2_1)) { in power9_idle_stop()
1003 if (cpu_has_feature(CPU_FTR_ARCH_3 in arch300_offline_stop()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/lib/
H A Dtest_emulate_step.c11 #include <asm/cpu_has_feature.h>
113 if (!cpu_has_feature(CPU_FTR_ARCH_31)) { in test_pld()
154 if (!cpu_has_feature(CPU_FTR_ARCH_31)) { in test_plwz()
215 if (!cpu_has_feature(CPU_FTR_ARCH_31)) { in test_pstd()
339 if (!cpu_has_feature(CPU_FTR_ARCH_31)) { in test_plfs_pstfs()
429 if (!cpu_has_feature(CPU_FTR_ARCH_31)) { in test_plfd_pstfd()
575 if (stepped == 1 && cpu_has_feature(CPU_FTR_VSX)) { in test_lxvd2x_stxvd2x()
578 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvd2x_stxvd2x()
597 cpu_has_feature(CPU_FTR_VSX)) { in test_lxvd2x_stxvd2x()
600 if (!cpu_has_feature(CPU_FTR_VS in test_lxvd2x_stxvd2x()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Didle.c92 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states()
116 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states()
350 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
379 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
392 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
484 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn()
643 if (cpu_has_feature(CPU_FTR_P9_TM_XER_SO_BUG)) { in power9_idle_stop()
654 if (!cpu_has_feature(CPU_FTR_POWER9_DD2_1)) { in power9_idle_stop()
719 if (!cpu_has_feature(CPU_FTR_POWER9_DD2_1)) { in power9_idle_stop()
997 if (cpu_has_feature(CPU_FTR_ARCH_3 in arch300_offline_stop()
[all...]

Completed in 23 milliseconds

123456789