| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | process.c | 128 newmsr |= MSR_VSX; in msr_check_and_set() 146 newmsr &= ~MSR_VSX; in __msr_check_and_clear() 162 msr &= ~MSR_VSX; in __giveup_fpu() 245 msr &= ~MSR_VSX; in __giveup_altivec() 311 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx() 324 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx() 326 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx() 335 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx() 338 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx() 359 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread() [all …]
|
| H A D | signal_64.c | 150 msr &= ~MSR_VSX; in setup_sigcontext() 164 msr |= MSR_VSX; in setup_sigcontext() 223 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts() 288 if (msr & MSR_VSX) in setup_tm_sigcontexts() 296 msr |= MSR_VSX; in setup_tm_sigcontexts() 369 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_sigcontext() 402 if ((msr & MSR_VSX) != 0) { in restore_sigcontext() 487 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_tm_sigcontexts() 533 if (v_regs && ((msr & MSR_VSX) != 0)) { in restore_tm_sigcontexts() 656 (new_msr & MSR_VSX)) in SYSCALL_DEFINE3()
|
| H A D | signal_32.c | 282 msr &= ~MSR_VSX; in save_user_regs() 294 msr |= MSR_VSX; in save_user_regs() 431 if (msr & MSR_VSX) { in save_tm_user_regs() 440 msr |= MSR_VSX; in save_tm_user_regs() 539 regs->msr &= ~MSR_VSX; in restore_user_regs() 540 if (msr & MSR_VSX) { in restore_user_regs() 651 regs->msr &= ~MSR_VSX; in restore_tm_user_regs() 652 if (msr & MSR_VSX) { in restore_tm_user_regs() 946 (new_msr & MSR_VSX)) in COMPAT_SYSCALL_DEFINE3()
|
| H A D | syscall_64.c | 220 mathflags |= MSR_VEC | MSR_VSX; in syscall_exit_prepare() 299 mathflags |= MSR_VEC | MSR_VSX; in interrupt_exit_user_prepare()
|
| H A D | fpu.S | 87 oris r5,r5,MSR_VSX@h
|
| H A D | tm.S | 142 oris r15,r15, MSR_VSX@h 396 oris r5,r5, MSR_VSX@h
|
| H A D | vector.S | 134 oris r12,r12,MSR_VSX@h
|
| H A D | traps.c | 977 msr_mask = MSR_VSX; in p9_hmi_special_emu()
|
| H A D | exceptions-64s.S | 2696 oris r10,r10,MSR_VSX@h
|
| /OK3568_Linux_fs/kernel/arch/powerpc/lib/ |
| H A D | ldstfp.S | 162 oris r7,r6,MSR_VSX@h 189 oris r7,r6,MSR_VSX@h
|
| H A D | test_emulate_step.c | 73 regs->msr |= MSR_VSX; in init_pt_regs()
|
| H A D | sstep.c | 3260 unsigned long msrbit = MSR_VSX; in emulate_loadstore() 3331 unsigned long msrbit = MSR_VSX; in emulate_loadstore()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | emulate_loadstore.c | 42 if (!(kvmppc_get_msr(vcpu) & MSR_VSX)) { in kvmppc_check_vsx_disabled() 315 MSR_VSX); in kvmppc_emulate_loadstore()
|
| H A D | book3s_pr.c | 172 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_core_vcpu_put_pr() 361 (MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_handle_lost_math_exts() 384 kvmppc_giveup_ext(vcpu, MSR_VSX); in kvmppc_save_tm_pr() 828 if (msr & MSR_VSX) in kvmppc_giveup_ext() 858 vcpu->arch.guest_owned_ext &= ~(msr | MSR_VSX); in kvmppc_giveup_ext() 896 if (msr == MSR_VSX) { in kvmppc_handle_ext() 910 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext() 1390 ext_msr = MSR_VSX; in kvmppc_handle_exit_pr() 1868 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_vcpu_run_pr()
|
| H A D | tm.S | 45 oris r8, r8, (MSR_VEC | MSR_VSX)@h 239 oris r5, r5, (MSR_VEC | MSR_VSX)@h
|
| H A D | book3s_emulate.c | 181 kvmppc_giveup_ext(vcpu, MSR_VSX); in kvmppc_emulate_trchkpt()
|
| H A D | book3s_hv_rmhandlers.S | 3079 oris r8,r8,MSR_VSX@h 3114 oris r8,r8,MSR_VSX@h
|
| H A D | powerpc.c | 1181 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_VSX); in kvmppc_complete_mmio_load()
|
| H A D | book3s_hv.c | 3651 msr_check_and_set(MSR_FP | MSR_VEC | MSR_VSX); in kvmhv_p9_guest_entry() 3763 msr_check_and_set(MSR_FP | MSR_VEC | MSR_VSX); in kvmhv_p9_guest_entry()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | switch_to.h | 72 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
|
| H A D | reg.h | 92 #define MSR_VSX __MASK(MSR_VSX_LG) /* Enable VSX */ macro
|