Home
last modified time | relevance | path

Searched refs:MSR_VEC (Results 1 – 20 of 20) sorted by relevance

/linux/arch/powerpc/kernel/
A Dprocess.c240 msr &= ~MSR_VEC; in __giveup_altivec()
250 msr_check_and_set(MSR_VEC); in giveup_altivec()
252 msr_check_and_clear(MSR_VEC); in giveup_altivec()
313 if (msr & MSR_VEC) in __giveup_vsx()
441 if (usermsr & MSR_VEC) in giveup_all()
531 new_msr |= MSR_VEC; in restore_math()
534 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
550 if (new_msr & MSR_VEC) in restore_math()
582 if (usermsr & MSR_VEC) in save_all()
1205 if (usermsr & MSR_VEC) in kvmppc_save_user_regs()
[all …]
A Dsignal_64.c147 msr |= MSR_VEC; in __unsafe_setup_sigcontext()
237 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
251 if (msr & MSR_VEC) in setup_tm_sigcontexts()
263 msr |= MSR_VEC; in setup_tm_sigcontexts()
271 if (msr & MSR_VEC) 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()
394 if (v_regs != NULL && (msr & MSR_VEC) != 0) { in __unsafe_restore_sigcontext()
518 if (v_regs != NULL && tm_v_regs != NULL && (msr & MSR_VEC) != 0) { in restore_tm_sigcontexts()
599 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_sigcontexts()
604 if (msr & MSR_VEC) { in restore_tm_sigcontexts()
[all …]
A Dsignal_32.c283 msr |= MSR_VEC; in __unsafe_save_user_regs()
388 if (msr & MSR_VEC) in save_tm_user_regs_unsafe()
400 msr |= MSR_VEC; in save_tm_user_regs_unsafe()
410 if (msr & MSR_VEC) in save_tm_user_regs_unsafe()
498 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_user_regs()
499 if (msr & MSR_VEC) { in restore_user_regs()
598 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_tm_user_regs()
599 if (msr & MSR_VEC) { in restore_tm_user_regs()
643 if (msr & MSR_VEC) in restore_tm_user_regs()
700 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_user_regs()
[all …]
A Dvector.S56 oris r5,r5,MSR_VEC@h
75 oris r9,r9,MSR_VEC@h
79 oris r12,r12,MSR_VEC@h
133 andis. r5,r12,MSR_VEC@h
A Dinterrupt.c212 mathflags |= MSR_VEC | MSR_VSX; in interrupt_exit_user_prepare_main()
214 mathflags |= MSR_VEC; in interrupt_exit_user_prepare_main()
A Dtm.S139 oris r15, r15, MSR_VEC@h
389 oris r5, r5, MSR_VEC@h
A Dtraps.c977 msr_mask = MSR_VEC; in p9_hmi_special_emu()
/linux/arch/powerpc/include/asm/
A Dswitch_to.h64 msr_check_and_clear(MSR_VEC); in disable_kernel_altivec()
85 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
A Dreg.h88 #define MSR_VEC __MASK(MSR_VEC_LG) /* Enable AltiVec */ macro
/linux/arch/powerpc/lib/
A Dldstfp.S72 oris r7, r6, MSR_VEC@h
96 oris r7, r6, MSR_VEC@h
A Dsstep.c700 if (regs->msr & MSR_VEC) in do_vec_load()
726 if (regs->msr & MSR_VEC) in do_vec_store()
992 if (regs->msr & MSR_VEC) { in do_vsx_load()
1038 if (regs->msr & MSR_VEC) { in do_vsx_store()
3447 if (!user_mode(regs) && !(regs->msr & MSR_VEC)) in emulate_loadstore()
3461 msrbit = MSR_VEC; in emulate_loadstore()
3517 if (!user_mode(regs) && !(regs->msr & MSR_VEC)) in emulate_loadstore()
3531 msrbit = MSR_VEC; in emulate_loadstore()
A Dtest_emulate_step.c71 regs->msr |= MSR_VEC; in init_pt_regs()
/linux/arch/powerpc/kvm/
A Dbook3s_pr.c184 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()
375 else if (ext_diff == MSR_VEC) in kvmppc_handle_lost_math_exts()
808 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext()
830 if (msr & MSR_VEC) { in kvmppc_giveup_ext()
831 if (current->thread.regs->msr & MSR_VEC) in kvmppc_giveup_ext()
889 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext()
910 if (msr & MSR_VEC) { in kvmppc_handle_ext()
948 if (lost_ext & MSR_VEC) { in kvmppc_handle_lost_ext()
1369 ext_msr = MSR_VEC; in kvmppc_handle_exit_pr()
[all …]
A Demulate_loadstore.c54 if (!(kvmppc_get_msr(vcpu) & MSR_VEC)) { in kvmppc_check_altivec_disabled()
272 MSR_VEC); in kvmppc_emulate_loadstore()
A Dtm.S45 oris r8, r8, (MSR_VEC | MSR_VSX)@h
239 oris r5, r5, (MSR_VEC | MSR_VSX)@h
A Dbooke.c202 if (!(current->thread.regs->msr & MSR_VEC)) { in kvmppc_load_guest_altivec()
207 current->thread.regs->msr |= MSR_VEC; in kvmppc_load_guest_altivec()
221 if (current->thread.regs->msr & MSR_VEC) in kvmppc_save_guest_altivec()
A Dbook3s_hv_p9_entry.c504 msr_needed |= MSR_VEC; in kvmppc_msr_hard_disable_set_facilities()
A Dbook3s_hv_rmhandlers.S2449 oris r8,r8,MSR_VEC@h
2485 oris r8,r8,MSR_VEC@h
A Dpowerpc.c1222 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_VEC); in kvmppc_complete_mmio_load()
A Dbook3s_hv.c5090 msr |= MSR_VEC; in kvmppc_vcpu_run_hv()

Completed in 57 milliseconds