• Home
  • Raw
  • Download

Lines Matching refs:MSR_FP

127 	if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))  in msr_check_and_set()
145 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
160 msr &= ~(MSR_FP|MSR_FE0|MSR_FE1); in __giveup_fpu()
170 msr_check_and_set(MSR_FP); in giveup_fpu()
172 msr_check_and_clear(MSR_FP); in giveup_fpu()
192 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
214 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp()
216 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp()
311 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx()
314 if (msr & MSR_FP) in __giveup_vsx()
324 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
326 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
335 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
338 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
359 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
412 msr_all_available |= MSR_FP; in init_msr_all_available()
440 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in giveup_all()
442 if (usermsr & MSR_FP) in giveup_all()
530 if ((!(msr & MSR_FP)) && should_restore_fp()) in restore_math()
531 new_msr |= MSR_FP; in restore_math()
537 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
546 if (new_msr & MSR_FP) { in restore_math()
580 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in save_all()
582 if (usermsr & MSR_FP) in save_all()
951 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
1064 new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX); in tm_recheckpoint_new_task()
1118 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
1121 if (msr_diff & MSR_FP) in restore_tm_state()
1411 {MSR_FP, "FP"},
1725 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1945 if (regs != NULL && (regs->msr & MSR_FP) != 0) in set_fpexc_mode()