Searched refs:MSR_VEC (Results 1 – 19 of 19) sorted by relevance
| /Linux-v5.15/arch/powerpc/kernel/ |
| D | process.c | 245 msr &= ~MSR_VEC; in __giveup_altivec() 255 msr_check_and_set(MSR_VEC); in giveup_altivec() 257 msr_check_and_clear(MSR_VEC); in giveup_altivec() 267 cpumsr = msr_check_and_set(MSR_VEC); in enable_kernel_altivec() 269 if (current->thread.regs && (current->thread.regs->msr & MSR_VEC)) { in enable_kernel_altivec() 294 if (tsk->thread.regs->msr & MSR_VEC) { in flush_altivec_to_thread() 313 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx() 318 if (msr & MSR_VEC) in __giveup_vsx() 326 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx() 328 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx() [all …]
|
| D | signal_64.c | 142 msr |= MSR_VEC; in __unsafe_setup_sigcontext() 232 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts() 246 if (msr & MSR_VEC) in setup_tm_sigcontexts() 258 msr |= MSR_VEC; in setup_tm_sigcontexts() 266 if (msr & MSR_VEC) in setup_tm_sigcontexts() 379 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in __unsafe_restore_sigcontext() 386 if (v_regs != NULL && (msr & MSR_VEC) != 0) { in __unsafe_restore_sigcontext() 498 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in restore_tm_sigcontexts() 510 if (v_regs != NULL && tm_v_regs != NULL && (msr & MSR_VEC) != 0) { in restore_tm_sigcontexts() 591 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_sigcontexts() [all …]
|
| D | signal_32.c | 276 msr |= MSR_VEC; in __unsafe_save_user_regs() 380 if (msr & MSR_VEC) in save_tm_user_regs_unsafe() 392 msr |= MSR_VEC; in save_tm_user_regs_unsafe() 402 if (msr & MSR_VEC) in save_tm_user_regs_unsafe() 489 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_user_regs() 490 if (msr & MSR_VEC) { in restore_user_regs() 585 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_tm_user_regs() 586 if (msr & MSR_VEC) { in restore_tm_user_regs() 630 if (msr & MSR_VEC) in restore_tm_user_regs() 687 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_user_regs() [all …]
|
| D | vector.S | 50 oris r5,r5,MSR_VEC@h 69 oris r9,r9,MSR_VEC@h 73 oris r12,r12,MSR_VEC@h 126 andis. r5,r12,MSR_VEC@h
|
| D | interrupt.c | 373 mathflags |= MSR_VEC | MSR_VSX; in interrupt_exit_user_prepare_main() 375 mathflags |= MSR_VEC; in interrupt_exit_user_prepare_main()
|
| D | tm.S | 139 oris r15, r15, MSR_VEC@h 392 oris r5, r5, MSR_VEC@h
|
| D | traps.c | 961 msr_mask = MSR_VEC; in p9_hmi_special_emu()
|
| /Linux-v5.15/arch/powerpc/include/asm/ |
| D | switch_to.h | 60 msr_check_and_clear(MSR_VEC); in disable_kernel_altivec() 72 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
|
| D | reg.h | 88 #define MSR_VEC __MASK(MSR_VEC_LG) /* Enable AltiVec */ macro
|
| /Linux-v5.15/arch/powerpc/lib/ |
| D | ldstfp.S | 72 oris r7, r6, MSR_VEC@h 96 oris r7, r6, MSR_VEC@h
|
| D | sstep.c | 636 if (regs->msr & MSR_VEC) in do_vec_load() 659 if (regs->msr & MSR_VEC) in do_vec_store() 925 if (regs->msr & MSR_VEC) { in do_vsx_load() 971 if (regs->msr & MSR_VEC) { in do_vsx_store() 3364 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) in emulate_loadstore() 3378 msrbit = MSR_VEC; in emulate_loadstore() 3435 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) in emulate_loadstore() 3449 msrbit = MSR_VEC; in emulate_loadstore()
|
| D | test_emulate_step.c | 74 regs->msr |= MSR_VEC; in init_pt_regs()
|
| /Linux-v5.15/arch/powerpc/kvm/ |
| D | book3s_pr.c | 173 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_core_vcpu_put_pr() 362 (MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_handle_lost_math_exts() 369 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() 1365 ext_msr = MSR_VEC; in kvmppc_handle_exit_pr() [all …]
|
| D | emulate_loadstore.c | 54 if (!(kvmppc_get_msr(vcpu) & MSR_VEC)) { in kvmppc_check_altivec_disabled() 270 MSR_VEC); in kvmppc_emulate_loadstore()
|
| D | tm.S | 45 oris r8, r8, (MSR_VEC | MSR_VSX)@h 239 oris r5, r5, (MSR_VEC | MSR_VSX)@h
|
| D | booke.c | 202 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()
|
| D | book3s_hv_rmhandlers.S | 2464 oris r8,r8,MSR_VEC@h 2499 oris r8,r8,MSR_VEC@h
|
| D | powerpc.c | 1205 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_VEC); in kvmppc_complete_mmio_load()
|
| D | book3s_hv.c | 3906 msr_check_and_set(MSR_FP | MSR_VEC | MSR_VSX); in kvmhv_p9_guest_entry() 4015 msr_check_and_set(MSR_FP | MSR_VEC | MSR_VSX); in kvmhv_p9_guest_entry()
|