Lines Matching refs:MSR_FP

113 		(tsk->thread.ckpt_regs.msr & MSR_FP);  in tm_active_with_fp()
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()
183 msr &= ~MSR_FP; in __giveup_fpu()
195 msr_check_and_set(MSR_FP); in giveup_fpu()
197 msr_check_and_clear(MSR_FP); in giveup_fpu()
217 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
239 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp()
241 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp()
364 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx()
367 if (msr & MSR_FP) in __giveup_vsx()
377 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
379 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
388 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
391 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
411 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
476 msr_all_available |= MSR_FP; in init_msr_all_available()
510 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in giveup_all()
513 if (usermsr & MSR_FP) in giveup_all()
544 if ((!(msr & MSR_FP)) && restore_fp(current)) in restore_math()
545 msr |= MSR_FP | current->thread.fpexc_mode; in restore_math()
550 if ((msr & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC) && in restore_math()
574 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in save_all()
576 if (usermsr & MSR_FP) in save_all()
906 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
1019 new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX); in tm_recheckpoint_new_task()
1073 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
1076 if (msr_diff & MSR_FP) in restore_tm_state()
1361 {MSR_FP, "FP"},
1678 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1894 if (regs != NULL && (regs->msr & MSR_FP) != 0) in set_fpexc_mode()