Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/kernel/
Dvector.S19 oris r5,r6,MSR_VEC@h
44 oris r3,r3,MSR_VEC@h
83 oris r5,r5,MSR_VEC@h
114 lis r10,MSR_VEC@h
134 oris r9,r9,MSR_VEC@h
138 oris r12,r12,MSR_VEC@h
159 andis. r4,r3,MSR_VEC@h
161 oris r3,r3,MSR_VEC@h
175 oris r5,r5,MSR_VEC@h
196 lis r3,(MSR_VEC|MSR_VSX)@h
[all …]
Dsignal_64.c110 msr |= MSR_VEC; in setup_sigcontext()
216 if (msr & MSR_VEC) in setup_tm_sigcontexts()
228 msr |= MSR_VEC; in setup_tm_sigcontexts()
236 if (msr & MSR_VEC) in setup_tm_sigcontexts()
355 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_sigcontext()
364 if (v_regs != NULL && (msr & MSR_VEC) != 0) in restore_sigcontext()
474 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_tm_sigcontexts()
487 if (v_regs != NULL && tm_v_regs != NULL && (msr & MSR_VEC) != 0) { in restore_tm_sigcontexts()
544 if (msr & MSR_VEC) { in restore_tm_sigcontexts()
546 regs->msr |= MSR_VEC; in restore_tm_sigcontexts()
Dprocess.c176 if (current->thread.regs && (current->thread.regs->msr & MSR_VEC)) in enable_kernel_altivec()
194 if (tsk->thread.regs->msr & MSR_VEC) { in flush_altivec_to_thread()
547 if (msr_diff & MSR_VEC) in tm_reclaim_thread()
551 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX | MSR_FE0 | MSR_FE1; in tm_reclaim_thread()
700 if (msr & MSR_VEC) { in tm_recheckpoint_new_task()
702 new->thread.regs->msr |= MSR_VEC; in tm_recheckpoint_new_task()
745 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
751 if (msr_diff & MSR_VEC) { in restore_tm_state()
810 if (prev->thread.regs && (prev->thread.regs->msr & MSR_VEC)) in __switch_to()
836 new->thread.regs->msr |= MSR_VEC; in __switch_to()
[all …]
Dsignal_32.c430 msr |= MSR_VEC; in save_user_regs()
552 if (msr & MSR_VEC) { in save_tm_user_regs()
567 msr |= MSR_VEC; in save_tm_user_regs()
580 if (msr & MSR_VEC) { in save_tm_user_regs()
704 regs->msr &= ~MSR_VEC; in restore_user_regs()
705 if (msr & MSR_VEC) { in restore_user_regs()
811 regs->msr &= ~MSR_VEC; in restore_tm_user_regs()
812 if (msr & MSR_VEC) { in restore_tm_user_regs()
903 if (msr & MSR_VEC) { in restore_tm_user_regs()
905 regs->msr |= MSR_VEC; in restore_tm_user_regs()
Dtm.S126 oris r15, r15, MSR_VEC@h
150 andis. r0, r4, MSR_VEC@h
338 lis r5, MSR_VEC@h
357 andis. r0, r4, MSR_VEC@h
Dtraps.c1452 if (regs->msr & MSR_VEC) { in fp_unavailable_tm()
1469 regs->msr |= MSR_VEC; in altivec_unavailable_tm()
1470 tm_recheckpoint(&current->thread, MSR_VEC); in altivec_unavailable_tm()
1497 if ((orig_msr & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) { in vsx_unavailable_tm()
1505 regs->msr |= MSR_VEC | MSR_FP | current->thread.fpexc_mode | in vsx_unavailable_tm()
1515 if (orig_msr & MSR_VEC) in vsx_unavailable_tm()
Dentry_64.S418 oris r0,r0,MSR_VEC@h /* Disable altivec */
Dentry_32.S608 oris r0,r0,MSR_VEC@h /* Disable altivec */
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_pr.c133 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_core_vcpu_put_pr()
657 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext()
679 if (msr & MSR_VEC) { in kvmppc_giveup_ext()
680 if (current->thread.regs->msr & MSR_VEC) in kvmppc_giveup_ext()
738 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext()
758 if (msr & MSR_VEC) { in kvmppc_handle_ext()
794 if (lost_ext & MSR_VEC) { in kvmppc_handle_lost_ext()
1168 ext_msr = MSR_VEC; in kvmppc_handle_exit_pr()
1495 if (current->thread.regs->msr & MSR_VEC) in kvmppc_vcpu_run_pr()
1517 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_vcpu_run_pr()
Dbooke.c181 if (!(current->thread.regs->msr & MSR_VEC)) { in kvmppc_load_guest_altivec()
185 current->thread.regs->msr |= MSR_VEC; in kvmppc_load_guest_altivec()
199 if (current->thread.regs->msr & MSR_VEC) in kvmppc_save_guest_altivec()
Dbook3s_hv_rmhandlers.S582 oris r5, r5, (MSR_VEC | MSR_VSX)@h
2459 oris r8,r8,MSR_VEC@h
2494 oris r8,r8,MSR_VEC@h
/linux-4.1.27/arch/powerpc/lib/
Dldstfp.S231 oris r7,r6,MSR_VEC@h
259 oris r7,r6,MSR_VEC@h
Dsstep.c1378 if (!(regs->msr & MSR_VEC)) in analyse_instr()
1385 if (!(regs->msr & MSR_VEC)) in analyse_instr()
/linux-4.1.27/arch/powerpc/include/asm/
Dreg.h78 #define MSR_VEC __MASK(MSR_VEC_LG) /* Enable AltiVec */ macro