/arch/powerpc/kernel/ |
D | process.c | 129 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in msr_check_and_set() 149 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear() 165 msr &= ~(MSR_FP|MSR_FE0|MSR_FE1); in __giveup_fpu() 177 msr_check_and_set(MSR_FP); in giveup_fpu() 179 msr_check_and_clear(MSR_FP); in giveup_fpu() 199 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread() 221 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp() 223 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp() 347 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx() 350 if (msr & MSR_FP) in __giveup_vsx() [all …]
|
D | fpu.S | 85 ori r5,r5,MSR_FP 98 ori r9,r9,MSR_FP /* enable FP for current */ 104 ori r12,r12,MSR_FP
|
D | signal_64.c | 223 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts() 278 if (msr & MSR_FP) in setup_tm_sigcontexts() 376 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_sigcontext() 494 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_tm_sigcontexts() 587 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_sigcontexts() 588 if (msr & MSR_FP) { in restore_tm_sigcontexts() 590 regs->msr |= (MSR_FP | tsk->thread.fpexc_mode); in restore_tm_sigcontexts()
|
D | vector.S | 122 andi. r5,r12,MSR_FP 182 ori r11,r10,MSR_FP
|
D | signal_32.c | 566 if (msr & MSR_FP) { in save_tm_user_regs() 709 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1); in restore_user_regs() 797 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1); in restore_tm_user_regs() 876 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_user_regs() 877 if (msr & MSR_FP) { in restore_tm_user_regs() 879 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_user_regs()
|
D | tm.S | 128 ori r15, r15, MSR_FP 371 ori r5, r5, MSR_FP
|
D | cpu_setup_6xx.S | 281 ori r11,r10,MSR_FP
|
D | entry_64.S | 246 andi. r0,r8,MSR_FP 1211 ori r9,r9,MSR_IR|MSR_DR|MSR_FE0|MSR_FE1|MSR_FP|MSR_RI|MSR_LE
|
D | entry_32.S | 682 li r0,MSR_FP /* Disable floating-point */
|
D | exceptions-64s.S | 1840 ori r10,r10,(MSR_FP|MSR_FE0|MSR_FE1)
|
/arch/powerpc/include/asm/ |
D | switch_to.h | 35 msr_check_and_clear(MSR_FP); in disable_kernel_fp() 61 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
|
D | reg.h | 101 #define MSR_FP __MASK(MSR_FP_LG) /* Floating Point enable */ macro
|
/arch/powerpc/lib/ |
D | ldstfp.S | 23 ori r7, r6, MSR_FP 47 ori r7, r6, MSR_FP 213 ori r7, r6, MSR_FP 228 ori r7, r6, MSR_FP
|
D | sstep.c | 492 if (regs->msr & MSR_FP) in do_fp_load() 499 if (regs->msr & MSR_FP) in do_fp_load() 526 if (regs->msr & MSR_FP) in do_fp_store() 538 if (regs->msr & MSR_FP) in do_fp_store() 832 if (regs->msr & MSR_FP) { in do_vsx_load() 863 if (regs->msr & MSR_FP) { in do_vsx_store() 2963 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore() 3034 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore()
|
D | test_emulate_step.c | 77 regs->msr |= MSR_FP; in init_pt_regs()
|
/arch/powerpc/kvm/ |
D | book3s_pr.c | 136 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_core_vcpu_put_pr() 325 (MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_handle_lost_math_exts() 330 if (ext_diff == MSR_FP) in kvmppc_handle_lost_math_exts() 527 if (kvmppc_get_msr(vcpu) & MSR_FP) in kvmppc_set_msr_pr() 528 kvmppc_handle_ext(vcpu, BOOK3S_INTERRUPT_FP_UNAVAIL, MSR_FP); in kvmppc_set_msr_pr() 793 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext() 803 if (msr & MSR_FP) { in kvmppc_giveup_ext() 809 if (t->regs->msr & MSR_FP) in kvmppc_giveup_ext() 874 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext() 886 if (msr & MSR_FP) { in kvmppc_handle_ext() [all …]
|
D | emulate_loadstore.c | 30 if (!(kvmppc_get_msr(vcpu) & MSR_FP)) { in kvmppc_check_fp_disabled() 253 MSR_FP); in kvmppc_emulate_loadstore()
|
D | tm.S | 44 ori r8, r8, MSR_FP 238 ori r5, r5, MSR_FP
|
D | booke.c | 135 if (!(current->thread.regs->msr & MSR_FP)) { in kvmppc_load_guest_fp() 140 current->thread.regs->msr |= MSR_FP; in kvmppc_load_guest_fp() 152 if (current->thread.regs->msr & MSR_FP) in kvmppc_save_guest_fp() 163 vcpu->arch.shadow_msr &= ~MSR_FP; in kvmppc_vcpu_sync_fpu() 164 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_FP; in kvmppc_vcpu_sync_fpu()
|
D | book3s_paired_singles.c | 656 if (!(kvmppc_get_msr(vcpu) & MSR_FP)) { in kvmppc_emulate_paired_single() 661 kvmppc_giveup_ext(vcpu, MSR_FP); in kvmppc_emulate_paired_single()
|
D | book3s_emulate.c | 741 kvmppc_giveup_ext(vcpu, MSR_FP); in kvmppc_core_emulate_mtspr_pr()
|
D | book3s_hv_rmhandlers.S | 3056 ori r8,r5,MSR_FP 3091 ori r8,r9,MSR_FP
|
D | powerpc.c | 1162 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_FP); in kvmppc_complete_mmio_load()
|
D | book3s_hv.c | 3559 msr_check_and_set(MSR_FP | MSR_VEC | MSR_VSX); in kvmhv_p9_guest_entry() 3664 msr_check_and_set(MSR_FP | MSR_VEC | MSR_VSX); in kvmhv_p9_guest_entry()
|