| /linux/arch/powerpc/perf/ |
| A D | isa207-common.c | 58 if (cpu_has_feature(CPU_FTR_ARCH_31)) 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_31)) in is_thresh_cmp_valid() 341 if (cpu_has_feature(CPU_FTR_ARCH_31)) in isa207_get_mem_weight() [all …]
|
| /linux/arch/powerpc/kernel/ptrace/ |
| A D | ptrace-tm.c | 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_TM)) in tm_cvmx_set() 442 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvsx_active() [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| A D | dc_fpu.c | 92 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { in dc_fpu_begin() 95 } else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { in dc_fpu_begin() 98 } else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { in dc_fpu_begin() 129 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { in dc_fpu_end() 132 } else if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { in dc_fpu_end() 135 } else if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { in dc_fpu_end()
|
| /linux/arch/powerpc/kernel/ |
| A D | process.c | 163 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu() 246 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec() 415 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available() 417 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available() 419 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available() 497 if (cpu_has_feature(CPU_FTR_VSX)) in should_restore_vsx() 1024 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task() 1063 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm() 1134 if (cpu_has_feature(CPU_FTR_SPE)) in save_sprs() 1138 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs() [all …]
|
| A D | setup_32.c | 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()
|
| A D | sysfs.c | 73 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() 899 if (cpu_has_feature(CPU_FTR_DSCR)) in register_cpu_online() 935 if (cpu_has_feature(CPU_FTR_SMT)) in unregister_cpu_online() 978 if (cpu_has_feature(CPU_FTR_MMCRA)) in unregister_cpu_online() 985 if (cpu_has_feature(CPU_FTR_PURR)) { in unregister_cpu_online() [all …]
|
| A D | hw_breakpoint_constraints.c | 41 if (!cpu_has_feature(CPU_FTR_ARCH_31) && size == 16) in ea_hw_range_overlaps() 101 if (cpu_has_feature(CPU_FTR_ARCH_31) && in wp_check_constraints() 111 if (cpu_has_feature(CPU_FTR_ARCH_31) && in wp_check_constraints()
|
| A D | idle.c | 75 if (!cpu_has_feature(CPU_FTR_CAN_NAP)) in power4_idle() 84 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in power4_idle()
|
| A D | setup_64.c | 235 if (cpu_has_feature(CPU_FTR_HVMODE)) { in cpu_ready_for_interrupts() 239 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in cpu_ready_for_interrupts() 246 } else if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in cpu_ready_for_interrupts() 262 if (cpu_has_feature(CPU_FTR_HVMODE)) { in cpu_ready_for_interrupts() 263 if (cpu_has_feature(CPU_FTR_TM_COMP)) in cpu_ready_for_interrupts() 720 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) in exc_lvl_early_init()
|
| /linux/arch/powerpc/lib/ |
| A D | test_emulate_step.c | 581 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvd2x_stxvd2x() 600 cpu_has_feature(CPU_FTR_VSX)) { in test_lxvd2x_stxvd2x() 603 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvd2x_stxvd2x() 659 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvp_stxvp() 687 cpu_has_feature(CPU_FTR_VSX)) { in test_lxvp_stxvp() 690 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvp_stxvp() 747 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvpx_stxvpx() 775 cpu_has_feature(CPU_FTR_VSX)) { in test_lxvpx_stxvpx() 778 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvpx_stxvpx() 835 if (!cpu_has_feature(CPU_FTR_VSX)) in test_plxvp_pstxvp() [all …]
|
| A D | sstep.c | 1156 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in set_ca32() 1394 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in analyse_instr() 1495 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in analyse_instr() 1534 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in analyse_instr() 1621 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in analyse_instr() 2586 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in analyse_instr() 2628 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in analyse_instr() 2896 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in analyse_instr() 2983 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in analyse_instr() 3140 !cpu_has_feature(CPU_FTR_VSX)) { in analyse_instr() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| A D | cputhreads.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()
|
| A D | dcr-native.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()
|
| A D | runlatch.h | 20 if (cpu_has_feature(CPU_FTR_CTRL) && \ 32 if (cpu_has_feature(CPU_FTR_CTRL) && \
|
| A D | cpu_has_feature.h | 23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() function 49 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() function
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| A D | kexec.h | 11 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()
|
| /linux/arch/powerpc/xmon/ |
| A D | ppc-dis.c | 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()
|
| /linux/arch/powerpc/platforms/powernv/ |
| A D | idle.c | 93 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states() 117 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states() 349 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in power7_idle_insn() 378 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() 997 if (cpu_has_feature(CPU_FTR_ARCH_31)) in arch300_offline_stop() 1019 if (cpu_has_feature(CPU_FTR_ARCH_31)) in arch300_idle_type() 1278 if (cpu_has_feature(CPU_FTR_ARCH_300) && in pnv_disable_deep_states() 1308 if (cpu_has_feature(CPU_FTR_ARCH_300)) in pnv_probe_idle_states() [all …]
|
| A D | smp.c | 154 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_flush_interrupts() 179 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in pnv_cpu_offline_self() 306 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in pnv_cpu_bootable() 337 if (cpu_has_feature(CPU_FTR_DBELL)) { in pnv_smp_probe() 341 if (cpu_has_feature(CPU_FTR_ARCH_300)) in pnv_smp_probe()
|
| /linux/arch/powerpc/mm/book3s64/ |
| A D | radix_tlb.c | 242 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_va() 247 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_va() 256 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_va_range() 261 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_va_range() 272 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_va_range_lpid() 277 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_va_range_lpid() 296 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_pid() 315 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_pid_lpid() 330 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_lpid_va() 349 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_lpid() [all …]
|
| A D | hash_64k.c | 77 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_4K() 78 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) { in __hash_page_4K() 266 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_64K() 267 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_64K()
|
| /linux/arch/powerpc/kvm/ |
| A D | book3s_hv.c | 192 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() 351 if (cpu_has_feature(CPU_FTR_ARCH_31)) in kvmppc_set_arch_compat() 750 cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_power8_compatible() 789 if (!cpu_has_feature(CPU_FTR_DAWR1)) in kvmppc_h_set_mode() 2225 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_hv() 2743 if (cpu_has_feature(CPU_FTR_TM_COMP)) in kvmppc_core_vcpu_create_hv() 2980 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvmppc_prepare_radix_vcpu() 3901 if (cpu_has_feature(CPU_FTR_TM) || in kvmhv_p9_guest_entry() 4035 if (cpu_has_feature(CPU_FTR_TM) || in kvmhv_p9_guest_entry() [all …]
|
| A D | book3s_hv_rm_mmu.c | 62 if (cpu_has_feature(CPU_FTR_ARCH_300)) in global_invalidates() 391 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_enter() 509 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_remove() 608 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_bulk_remove() 698 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_h_protect() 773 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_read() 1031 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_invalidate_hpte() 1049 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_clear_ref_hpte() 1148 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_hv_find_lock_hpte() 1160 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_hv_find_lock_hpte() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| A D | smp.c | 204 if (!cpu_has_feature(CPU_FTR_DBELL)) in pSeries_smp_probe() 208 if (!cpu_has_feature(CPU_FTR_SMT)) in pSeries_smp_probe() 271 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_pseries()
|
| /linux/drivers/misc/cxl/ |
| A D | cxllib.c | 31 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_slot_is_supported() 81 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_get_xsl_config() 115 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_switch_phb_mode()
|