/Linux-v6.1/arch/powerpc/kernel/ |
D | process.c | 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() [all …]
|
D | fpu.S | 86 ori r5,r5,MSR_FP|MSR_RI 88 ori r5,r5,MSR_FP 101 ori r9,r9,MSR_FP /* enable FP for current */ 107 ori r12,r12,MSR_FP
|
D | signal_64.c | 237 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts() 285 if (msr & MSR_FP) in setup_tm_sigcontexts() 387 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in __unsafe_restore_sigcontext() 506 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in restore_tm_sigcontexts() 599 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_sigcontexts() 600 if (msr & MSR_FP) { in restore_tm_sigcontexts() 602 regs_set_return_msr(regs, regs->msr | (MSR_FP | tsk->thread.fpexc_mode)); in restore_tm_sigcontexts()
|
D | signal_32.c | 416 if (msr & MSR_FP) in save_tm_user_regs_unsafe() 533 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1)); in restore_user_regs() 614 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1)); in restore_tm_user_regs() 697 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_user_regs() 698 if (msr & MSR_FP) { in restore_tm_user_regs() 700 regs_set_return_msr(regs, regs->msr | (MSR_FP | current->thread.fpexc_mode)); in restore_tm_user_regs()
|
D | vector.S | 128 andi. r5,r12,MSR_FP 195 ori r11,r10,MSR_FP
|
D | tm.S | 135 ori r15, r15, MSR_FP 387 ori r5, r5, MSR_FP
|
D | interrupt.c | 208 unsigned long mathflags = MSR_FP; in interrupt_exit_user_prepare_main()
|
D | cpu_setup_6xx.S | 281 ori r11,r10,MSR_FP
|
D | exceptions-64s.S | 2638 ori r10,r10,(MSR_FP|MSR_FE0|MSR_FE1)
|
/Linux-v6.1/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 | 609 if (regs->msr & MSR_FP) in do_fp_load() 616 if (regs->msr & MSR_FP) in do_fp_load() 643 if (regs->msr & MSR_FP) in do_fp_store() 655 if (regs->msr & MSR_FP) in do_fp_store() 969 if (regs->msr & MSR_FP) { in do_vsx_load() 1015 if (regs->msr & MSR_FP) { in do_vsx_store() 3429 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore() 3500 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore()
|
D | test_emulate_step.c | 70 regs->msr |= MSR_FP; in init_pt_regs()
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | switch_to.h | 46 msr_check_and_clear(MSR_FP); in disable_kernel_fp() 81 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
|
D | reg.h | 97 #define MSR_FP __MASK(MSR_FP_LG) /* Floating Point enable */ macro
|
/Linux-v6.1/arch/powerpc/kvm/ |
D | book3s_pr.c | 184 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_core_vcpu_put_pr() 368 (MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_handle_lost_math_exts() 373 if (ext_diff == MSR_FP) in kvmppc_handle_lost_math_exts() 547 if (kvmppc_get_msr(vcpu) & MSR_FP) in kvmppc_set_msr_pr() 548 kvmppc_handle_ext(vcpu, BOOK3S_INTERRUPT_FP_UNAVAIL, MSR_FP); in kvmppc_set_msr_pr() 813 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext() 823 if (msr & MSR_FP) { in kvmppc_giveup_ext() 829 if (t->regs->msr & MSR_FP) in kvmppc_giveup_ext() 894 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext() 906 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() 247 MSR_FP); in kvmppc_emulate_loadstore()
|
D | tm.S | 44 ori r8, r8, MSR_FP 238 ori r5, r5, MSR_FP
|
D | booke.c | 160 if (!(current->thread.regs->msr & MSR_FP)) { in kvmppc_load_guest_fp() 165 current->thread.regs->msr |= MSR_FP; in kvmppc_load_guest_fp() 177 if (current->thread.regs->msr & MSR_FP) in kvmppc_save_guest_fp() 188 vcpu->arch.shadow_msr &= ~MSR_FP; in kvmppc_vcpu_sync_fpu() 189 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 | 737 kvmppc_giveup_ext(vcpu, MSR_FP); in kvmppc_core_emulate_mtspr_pr()
|
D | book3s_hv_p9_entry.c | 502 msr_needed |= MSR_FP; in kvmppc_msr_hard_disable_set_facilities()
|
D | book3s_hv_rmhandlers.S | 2441 ori r8,r5,MSR_FP 2476 ori r8,r9,MSR_FP
|
D | powerpc.c | 1203 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_FP); in kvmppc_complete_mmio_load()
|
D | book3s_hv.c | 4820 msr |= MSR_FP; in kvmppc_vcpu_run_hv()
|