/Linux-v4.19/arch/powerpc/kernel/ |
D | setup_32.c | 130 if (cpu_has_feature(CPU_FTR_L2CR)) { in ppc_setup_l2cr() 143 if (cpu_has_feature(CPU_FTR_L3CR)) { in ppc_setup_l3cr() 244 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in setup_power_save() 245 cpu_has_feature(CPU_FTR_CAN_NAP)) in setup_power_save() 250 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in setup_power_save() 251 cpu_has_feature(CPU_FTR_CAN_NAP)) in setup_power_save() 266 if (cpu_has_feature(CPU_FTR_UNIFIED_ID_CACHE)) in initialize_cache_info()
|
D | process.c | 148 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set() 167 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear() 185 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_fpu() 281 if (cpu_has_feature(CPU_FTR_VSX)) in __giveup_altivec() 340 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_altivec() 422 if (cpu_has_feature(CPU_FTR_VSX)) { in restore_vsx() 479 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in init_msr_all_available() 483 if (cpu_has_feature(CPU_FTR_VSX)) in init_msr_all_available() 487 if (cpu_has_feature(CPU_FTR_SPE)) in init_msr_all_available() 750 if (cpu_has_feature(CPU_FTR_DABRX)) in __set_dabr() [all …]
|
D | sysfs.c | 75 if (!cpu_has_feature(CPU_FTR_SMT)) in setup_smt_snooze_delay() 592 if (cpu_has_feature(CPU_FTR_DSCR)) { in sysfs_create_dscr_default() 729 if (cpu_has_feature(CPU_FTR_SMT)) in register_cpu_online() 771 if (cpu_has_feature(CPU_FTR_MMCRA)) in register_cpu_online() 774 if (cpu_has_feature(CPU_FTR_PURR)) { in register_cpu_online() 780 if (cpu_has_feature(CPU_FTR_SPURR)) in register_cpu_online() 783 if (cpu_has_feature(CPU_FTR_DSCR)) in register_cpu_online() 786 if (cpu_has_feature(CPU_FTR_PPCAS_ARCH_V2)) in register_cpu_online() 789 if (cpu_has_feature(CPU_FTR_ARCH_206) && in register_cpu_online() 818 if (cpu_has_feature(CPU_FTR_SMT)) in unregister_cpu_online() [all …]
|
D | security.c | 259 hv = cpu_has_feature(CPU_FTR_HVMODE); in setup_stf_barrier() 262 if (cpu_has_feature(CPU_FTR_ARCH_300)) in setup_stf_barrier() 264 else if (cpu_has_feature(CPU_FTR_ARCH_207S)) in setup_stf_barrier() 266 else if (cpu_has_feature(CPU_FTR_ARCH_206)) in setup_stf_barrier()
|
D | ptrace.c | 136 if ((!cpu_has_feature(CPU_FTR_TM)) || (tsk != current)) in flush_tmregs_to_thread() 791 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_active() 827 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_get() 892 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cgpr_set() 956 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_active() 994 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_get() 1040 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cfpr_set() 1075 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_active() 1115 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_get() 1177 if (!cpu_has_feature(CPU_FTR_TM)) in tm_cvmx_set() [all …]
|
D | setup_64.c | 239 if (cpu_has_feature(CPU_FTR_HVMODE) && in cpu_ready_for_interrupts() 240 cpu_has_feature(CPU_FTR_ARCH_207S)) { in cpu_ready_for_interrupts() 251 if (cpu_has_feature(CPU_FTR_HVMODE) && !cpu_has_feature(CPU_FTR_TM_COMP)) in cpu_ready_for_interrupts() 682 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) in exc_lvl_early_init()
|
D | time.c | 180 if (cpu_has_feature(CPU_FTR_SPURR)) in read_spurr() 182 if (cpu_has_feature(CPU_FTR_PURR)) in read_spurr() 718 cpu_has_feature(CPU_FTR_ARCH_207S)) in running_clock() 995 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in enable_large_decrementer() 1005 if (cpu_has_feature(CPU_FTR_HVMODE)) in enable_large_decrementer() 1015 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in set_decrementer_max()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | dcr-native.h | 71 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \ 82 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \ 97 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mfdcri() 114 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mtdcri() 131 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __dcri_clrset()
|
D | runlatch.h | 20 if (cpu_has_feature(CPU_FTR_CTRL) && \ 32 if (cpu_has_feature(CPU_FTR_CTRL) && \
|
D | cpu_has_feature.h | 23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() function 49 static inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() function
|
D | time.h | 47 #define __USE_RTC() (cpu_has_feature(CPU_FTR_USE_RTC)) 104 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in get_vtb()
|
D | xor.h | 39 if (cpu_has_feature(CPU_FTR_ALTIVEC)) \
|
/Linux-v4.19/arch/powerpc/xmon/ |
D | ppc-dis.c | 139 if (cpu_has_feature(CPU_FTRS_POWER5)) in print_insn_powerpc() 142 if (cpu_has_feature(CPU_FTRS_CELL)) in print_insn_powerpc() 145 if (cpu_has_feature(CPU_FTRS_POWER6)) in print_insn_powerpc() 148 if (cpu_has_feature(CPU_FTRS_POWER7)) in print_insn_powerpc() 152 if (cpu_has_feature(CPU_FTRS_POWER8)) in print_insn_powerpc() 157 if (cpu_has_feature(CPU_FTRS_POWER9)) in print_insn_powerpc()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | smp.c | 174 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in pnv_smp_cpu_kill_self() 204 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_smp_cpu_kill_self() 262 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in pnv_cpu_bootable() 293 if (cpu_has_feature(CPU_FTR_DBELL)) { in pnv_smp_probe() 297 if (cpu_has_feature(CPU_FTR_ARCH_300)) in pnv_smp_probe()
|
D | idle.c | 96 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states() 120 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_save_sprs_for_deep_states() 202 if (cpu_has_feature(CPU_FTR_ARCH_300) && in pnv_alloc_idle_core_states() 501 if (cpu_has_feature(CPU_FTR_ARCH_300) && deepest_stop_found) { in pnv_cpu_offline() 710 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_probe_idle_states() 785 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in pnv_parse_cpuidle_dt()
|
/Linux-v4.19/arch/powerpc/perf/ |
D | isa207-common.c | 62 if (cpu_has_feature(CPU_FTR_ARCH_300)) in is_event_valid() 94 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in mmcra_sdar_mode() 107 if (cpu_has_feature(CPU_FTR_ARCH_300)) in thresh_cmp_val() 115 if (cpu_has_feature(CPU_FTR_ARCH_300)) in combine_from_event() 123 if (cpu_has_feature(CPU_FTR_ARCH_300)) in combine_shift() 299 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in isa207_get_constraint() 413 if (!cpu_has_feature(CPU_FTR_ARCH_300) && event_is_fab_match(event[i])) { in isa207_compute_mmcr() 437 if (cpu_has_feature(CPU_FTR_HVMODE)) in isa207_compute_mmcr()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | hash64_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()
|
D | hash64_4k.c | 60 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_4K() 61 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_4K()
|
D | hugetlbpage-book3e.c | 71 if (!cpu_has_feature(CPU_FTR_SMT)) in book3e_tlb_lock() 94 if (!cpu_has_feature(CPU_FTR_SMT)) in book3e_tlb_unlock()
|
D | hash_utils_64.c | 541 return !cpu_has_feature(CPU_FTR_ARCH_207S) && in might_have_hea() 858 if (cpu_has_feature(CPU_FTR_ARCH_300)) in htab_initialize() 899 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in htab_initialize() 1041 if (cpu_has_feature(CPU_FTR_ARCH_206) in hash__early_init_mmu() 1042 && cpu_has_feature(CPU_FTR_HVMODE)) in hash__early_init_mmu() 1052 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in hash__early_init_mmu_secondary() 1061 if (cpu_has_feature(CPU_FTR_ARCH_206) in hash__early_init_mmu_secondary() 1062 && cpu_has_feature(CPU_FTR_HVMODE)) in hash__early_init_mmu_secondary() 1599 if (local && cpu_has_feature(CPU_FTR_TM) && current->thread.regs && in tm_flush_hash_page()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_hv.c | 177 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_ipi_thread() 185 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in kvmppc_ipi_thread() 350 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_set_arch_compat() 352 else if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_set_arch_compat() 354 else if (cpu_has_feature(CPU_FTR_ARCH_206)) in kvmppc_set_arch_compat() 747 cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_power8_compatible() 1228 cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_handle_exit_hv() 1338 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_set_lpcr() 1344 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_set_lpcr() 1504 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_hv() [all …]
|
D | book3s_hv_rm_mmu.c | 70 if (cpu_has_feature(CPU_FTR_ARCH_300)) in global_invalidates() 400 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_enter() 455 if (cpu_has_feature(CPU_FTR_P9_TLBIE_BUG)) { in do_tlbies() 495 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_remove() 593 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_bulk_remove() 683 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_h_protect() 757 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_read() 879 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_invalidate_hpte() 897 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_clear_ref_hpte() 996 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_hv_find_lock_hpte() [all …]
|
/Linux-v4.19/drivers/misc/cxl/ |
D | cxllib.c | 35 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_slot_is_supported() 85 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_get_xsl_config() 119 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_switch_phb_mode()
|
/Linux-v4.19/arch/powerpc/lib/ |
D | test_emulate_step.c | 390 if (stepped == 1 && cpu_has_feature(CPU_FTR_VSX)) { in test_lxvd2x_stxvd2x() 393 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvd2x_stxvd2x() 412 cpu_has_feature(CPU_FTR_VSX)) { in test_lxvd2x_stxvd2x() 415 if (!cpu_has_feature(CPU_FTR_VSX)) in test_lxvd2x_stxvd2x()
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | smp.c | 228 if (cpu_has_feature(CPU_FTR_DBELL)) in pSeries_smp_probe_xics() 274 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_pseries()
|