/linux/arch/powerpc/perf/ |
H A D | isa207-common.c | 58 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_31)) in is_thresh_cmp_valid() [all …]
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 21 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_TM)) in tm_cvmx_set() [all …]
|
H A D | ptrace-view.c | 339 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in ebb_active() 355 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in ebb_get() 374 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in ebb_set() 397 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in pmu_active() 412 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in pmu_get() 430 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in pmu_set() 460 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in dexcr_active() 469 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in dexcr_get() 484 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in hashkeyr_active() 493 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in hashkeyr_get() [all …]
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H 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() 24 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in reset_sprs()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_entry.c | 17 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_ALTIVEC) && in restore_p9_host_os_sprs() [all …]
|
H A D | book3s_hv_p9_perf.c | 14 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 D | book3s_hv_rm_mmu.c | 385 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_enter() 426 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_lpid() 447 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_lpid() 503 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_remove() 602 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_bulk_remove() 692 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_h_protect() 767 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_read() 1025 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_invalidate_hpte() 1043 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_clear_ref_hpte() 1142 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_hv_find_lock_hpte() [all …]
|
H A D | book3s_hv_builtin.c | 89 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvm_cma_reserve() 208 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmhv_rm_send_ipi() 215 if (cpu_has_feature(CPU_FTR_ARCH_207S) && in kvmhv_rm_send_ipi() 575 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_guest_entry_inject_int()
|
H A D | book3s_emulate.c | 488 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr() 526 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr() 552 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr() 586 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr() 782 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_mtspr_pr() 963 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_mfspr_pr()
|
/linux/arch/powerpc/include/asm/ |
H A D | cputhreads.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 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()
|
H A D | runlatch.h | 20 if (cpu_has_feature(CPU_FTR_CTRL) && \ 31 if (cpu_has_feature(CPU_FTR_CTRL) && \
|
H A D | cpu_has_feature.h | 23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() function 48 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() function
|
H A D | xor.h | 27 if (cpu_has_feature(CPU_FTR_ALTIVEC)) \
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_tlb.c | 210 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_va() 215 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_va() 224 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_va_range() 229 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_va_range() 243 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_pid() 248 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_pid() 257 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_lpid_va() 262 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_lpid_va() 276 if (cpu_has_feature(CPU_FTR_P9_TLBIE_ERAT_BUG)) { in fixup_tlbie_lpid() 281 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_lpid() [all …]
|
H A D | hash_64k.c | 79 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_4K() 80 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) { in __hash_page_4K() 271 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_64K() 272 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_64K()
|
H A D | hash_4k.c | 62 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_4K() 63 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_4K()
|
/linux/arch/powerpc/kernel/ |
H A D | idle.c | 74 if (!cpu_has_feature(CPU_FTR_CAN_NAP)) in power4_idle() 83 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in power4_idle()
|
H 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()
|
/linux/drivers/misc/cxl/ |
H A D | cxllib.c | 32 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_slot_is_supported() 82 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_get_xsl_config() 116 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_switch_phb_mode()
|
/linux/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 132 if (cpu_has_feature(CPU_FTR_TM)) in print_insn_powerpc() 135 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in print_insn_powerpc() 138 if (cpu_has_feature(CPU_FTR_VSX)) in print_insn_powerpc()
|
/linux/arch/powerpc/lib/ |
H A D | pmem.c | 39 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in clean_pmem_range() 45 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in flush_pmem_range()
|
/linux/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 45 if (!cpu_has_feature(CPU_FTR_SMT)) in book3e_tlb_lock() 71 if (!cpu_has_feature(CPU_FTR_SMT)) in book3e_tlb_unlock()
|
/linux/drivers/cpufreq/ |
H A D | pmac32-cpufreq.c | 266 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in pmu_set_cpu_speed() 339 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed() 348 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed()
|
/linux/lib/raid6/ |
H A D | vpermxor.uc | 89 return (cpu_has_feature(CPU_FTR_ALTIVEC_COMP) && 90 cpu_has_feature(CPU_FTR_ARCH_207S));
|