Lines Matching refs:MSR_FP

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()
159 msr &= ~(MSR_FP|MSR_FE0|MSR_FE1); in __giveup_fpu()
169 msr_check_and_set(MSR_FP); in giveup_fpu()
171 msr_check_and_clear(MSR_FP); in giveup_fpu()
191 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
213 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp()
215 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp()
310 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx()
313 if (msr & MSR_FP) in __giveup_vsx()
323 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
325 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
334 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
337 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
358 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
411 msr_all_available |= MSR_FP; in init_msr_all_available()
439 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in giveup_all()
441 if (usermsr & MSR_FP) in giveup_all()
529 if ((!(msr & MSR_FP)) && should_restore_fp()) in restore_math()
530 new_msr |= MSR_FP; in restore_math()
536 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
545 if (new_msr & MSR_FP) { in restore_math()
579 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in save_all()
581 if (usermsr & MSR_FP) in save_all()
969 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
1082 new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX); in tm_recheckpoint_new_task()
1136 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
1139 if (msr_diff & MSR_FP) in restore_tm_state()
1202 if (usermsr & MSR_FP) in kvmppc_save_user_regs()
1480 {MSR_FP, "FP"},
1822 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
2051 if (regs != NULL && (regs->msr & MSR_FP) != 0) { in set_fpexc_mode()