Home
last modified time | relevance | path

Searched refs:MSR_VSX (Results 1 – 22 of 22) sorted by relevance

/linux-5.19.10/arch/powerpc/kernel/
Dprocess.c127 newmsr |= MSR_VSX; in msr_check_and_set()
145 newmsr &= ~MSR_VSX; in __msr_check_and_clear()
161 msr &= ~MSR_VSX; in __giveup_fpu()
244 msr &= ~MSR_VSX; in __giveup_altivec()
310 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx()
323 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
325 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
334 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
337 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
358 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
[all …]
Dsignal_64.c163 msr &= ~MSR_VSX; in __unsafe_setup_sigcontext()
176 msr |= MSR_VSX; in __unsafe_setup_sigcontext()
237 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
302 if (msr & MSR_VSX) in setup_tm_sigcontexts()
310 msr |= MSR_VSX; in setup_tm_sigcontexts()
384 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in __unsafe_restore_sigcontext()
415 if ((msr & MSR_VSX) != 0) { in __unsafe_restore_sigcontext()
503 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in restore_tm_sigcontexts()
549 if (v_regs && ((msr & MSR_VSX) != 0)) { in restore_tm_sigcontexts()
675 (new_msr & MSR_VSX)) in SYSCALL_DEFINE3()
Dsignal_32.c301 msr &= ~MSR_VSX; in __unsafe_save_user_regs()
311 msr |= MSR_VSX; in __unsafe_save_user_regs()
429 if (msr & MSR_VSX) in save_tm_user_regs_unsafe()
434 msr |= MSR_VSX; in save_tm_user_regs_unsafe()
517 regs_set_return_msr(regs, regs->msr & ~MSR_VSX); in restore_user_regs()
518 if (msr & MSR_VSX) { in restore_user_regs()
618 regs_set_return_msr(regs, regs->msr & ~MSR_VSX); in restore_tm_user_regs()
619 if (msr & MSR_VSX) { in restore_tm_user_regs()
650 if (msr & MSR_VSX) { in restore_tm_user_regs()
1026 (new_msr & MSR_VSX)) in COMPAT_SYSCALL_DEFINE3()
Dfpu.S92 oris r5,r5,MSR_VSX@h
Dtm.S142 oris r15,r15, MSR_VSX@h
393 oris r5,r5, MSR_VSX@h
Dinterrupt.c372 mathflags |= MSR_VEC | MSR_VSX; in interrupt_exit_user_prepare_main()
Dvector.S144 oris r12,r12,MSR_VSX@h
Dtraps.c961 msr_mask = MSR_VSX; in p9_hmi_special_emu()
Dexceptions-64s.S2618 oris r10,r10,MSR_VSX@h
/linux-5.19.10/arch/powerpc/lib/
Dldstfp.S162 oris r7,r6,MSR_VSX@h
189 oris r7,r6,MSR_VSX@h
Dtest_emulate_step.c75 regs->msr |= MSR_VSX; in init_pt_regs()
Dsstep.c3443 unsigned long msrbit = MSR_VSX; in emulate_loadstore()
3514 unsigned long msrbit = MSR_VSX; in emulate_loadstore()
/linux-5.19.10/arch/powerpc/include/asm/
Dswitch_to.h81 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
Dreg.h89 #define MSR_VSX __MASK(MSR_VSX_LG) /* Enable VSX */ macro
/linux-5.19.10/arch/powerpc/kvm/
Demulate_loadstore.c42 if (!(kvmppc_get_msr(vcpu) & MSR_VSX)) { in kvmppc_check_vsx_disabled()
316 MSR_VSX); in kvmppc_emulate_loadstore()
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()
391 kvmppc_giveup_ext(vcpu, MSR_VSX); in kvmppc_save_tm_pr()
813 if (msr & MSR_VSX) in kvmppc_giveup_ext()
843 vcpu->arch.guest_owned_ext &= ~(msr | MSR_VSX); in kvmppc_giveup_ext()
881 if (msr == MSR_VSX) { in kvmppc_handle_ext()
895 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext()
1377 ext_msr = MSR_VSX; in kvmppc_handle_exit_pr()
1855 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_vcpu_run_pr()
Dtm.S45 oris r8, r8, (MSR_VEC | MSR_VSX)@h
239 oris r5, r5, (MSR_VEC | MSR_VSX)@h
Dbook3s_emulate.c177 kvmppc_giveup_ext(vcpu, MSR_VSX); in kvmppc_emulate_trchkpt()
Dbook3s_hv_p9_entry.c734 msr_needed |= MSR_VSX; in kvmppc_msr_hard_disable_set_facilities()
Dbook3s_hv_rmhandlers.S2449 oris r8,r8,MSR_VSX@h
2484 oris r8,r8,MSR_VSX@h
Dpowerpc.c1220 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_VSX); in kvmppc_complete_mmio_load()
Dbook3s_hv.c4745 msr |= MSR_VSX; in kvmppc_vcpu_run_hv()