Lines Matching refs:cpu_has_feature
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_VSX)) in should_restore_vsx()
824 if (cpu_has_feature(CPU_FTR_DABRX)) in set_dabr()
874 else if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in __set_breakpoint()
887 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in ppc_breakpoint_available()
1021 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task()
1060 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm()
1110 if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC) in restore_tm_state()
1127 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_sprs()
1131 if (cpu_has_feature(CPU_FTR_SPE)) in save_sprs()
1135 if (cpu_has_feature(CPU_FTR_DSCR)) in save_sprs()
1138 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in save_sprs()
1194 if (cpu_has_feature(CPU_FTR_ALTIVEC) && in restore_sprs()
1199 if (cpu_has_feature(CPU_FTR_SPE) && in restore_sprs()
1204 if (cpu_has_feature(CPU_FTR_DSCR)) { in restore_sprs()
1213 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in restore_sprs()
1228 if (cpu_has_feature(CPU_FTR_P9_TIDR) && in restore_sprs()
1267 if (new->mm && (cpu_has_feature(CPU_FTR_ARCH_31) || in __switch_to()
1529 if (!trap_is_syscall(regs) && cpu_has_feature(CPU_FTR_CFAR)) in __show_regs()
1640 if (!cpu_has_feature(CPU_FTR_P9_TIDR)) in set_thread_tidr()
1806 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread()
1810 if (cpu_has_feature(CPU_FTR_HAS_PPR)) in copy_thread()
1957 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode()
2001 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode()
2030 if ((val == PR_ENDIAN_LITTLE && !cpu_has_feature(CPU_FTR_REAL_LE)) || in set_endian()
2031 (val == PR_ENDIAN_PPC_LITTLE && !cpu_has_feature(CPU_FTR_PPC_LE))) in set_endian()
2052 if (!cpu_has_feature(CPU_FTR_PPC_LE) && in get_endian()
2053 !cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2060 if (cpu_has_feature(CPU_FTR_REAL_LE)) in get_endian()
2262 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_on()
2291 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in __ppc64_runlatch_off()