/linux-6.1.9/arch/powerpc/kernel/ ! |
D | process.c | 242 msr &= ~MSR_VEC; in __giveup_altivec() 252 msr_check_and_set(MSR_VEC); in giveup_altivec() 254 msr_check_and_clear(MSR_VEC); in giveup_altivec() 264 cpumsr = msr_check_and_set(MSR_VEC); in enable_kernel_altivec() 266 if (current->thread.regs && (current->thread.regs->msr & MSR_VEC)) { in enable_kernel_altivec() 291 if (tsk->thread.regs->msr & MSR_VEC) { in flush_altivec_to_thread() 310 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx() 315 if (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() [all …]
|
D | signal_64.c | 147 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() 506 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in restore_tm_sigcontexts() 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() [all …]
|
D | signal_32.c | 282 msr |= MSR_VEC; in __unsafe_save_user_regs() 386 if (msr & MSR_VEC) in save_tm_user_regs_unsafe() 398 msr |= MSR_VEC; in save_tm_user_regs_unsafe() 408 if (msr & MSR_VEC) in save_tm_user_regs_unsafe() 495 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_user_regs() 496 if (msr & MSR_VEC) { in restore_user_regs() 595 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_tm_user_regs() 596 if (msr & MSR_VEC) { in restore_tm_user_regs() 640 if (msr & MSR_VEC) in restore_tm_user_regs() 697 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_user_regs() [all …]
|
D | vector.S | 54 oris r5,r5,MSR_VEC@h 73 oris r9,r9,MSR_VEC@h 77 oris r12,r12,MSR_VEC@h 130 andis. r5,r12,MSR_VEC@h
|
D | interrupt.c | 211 mathflags |= MSR_VEC | MSR_VSX; in interrupt_exit_user_prepare_main() 213 mathflags |= MSR_VEC; in interrupt_exit_user_prepare_main()
|
D | tm.S | 139 oris r15, r15, MSR_VEC@h 389 oris r5, r5, MSR_VEC@h
|
D | traps.c | 977 msr_mask = MSR_VEC; in p9_hmi_special_emu()
|
/linux-6.1.9/arch/powerpc/include/asm/ ! |
D | switch_to.h | 60 msr_check_and_clear(MSR_VEC); in disable_kernel_altivec() 81 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-6.1.9/arch/powerpc/lib/ ! |
D | ldstfp.S | 72 oris r7, r6, MSR_VEC@h 96 oris r7, r6, MSR_VEC@h
|
D | sstep.c | 693 if (regs->msr & MSR_VEC) in do_vec_load() 716 if (regs->msr & MSR_VEC) in do_vec_store() 982 if (regs->msr & MSR_VEC) { in do_vsx_load() 1028 if (regs->msr & MSR_VEC) { in do_vsx_store() 3436 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) in emulate_loadstore() 3450 msrbit = MSR_VEC; in emulate_loadstore() 3507 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC)) in emulate_loadstore() 3521 msrbit = MSR_VEC; in emulate_loadstore()
|
D | test_emulate_step.c | 71 regs->msr |= MSR_VEC; in init_pt_regs()
|
/linux-6.1.9/arch/powerpc/kvm/ ! |
D | book3s_pr.c | 184 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() 813 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext() 835 if (msr & MSR_VEC) { in kvmppc_giveup_ext() 836 if (current->thread.regs->msr & MSR_VEC) in kvmppc_giveup_ext() 894 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext() 915 if (msr & MSR_VEC) { in kvmppc_handle_ext() 953 if (lost_ext & MSR_VEC) { in kvmppc_handle_lost_ext() 1372 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() 271 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_p9_entry.c | 504 msr_needed |= MSR_VEC; in kvmppc_msr_hard_disable_set_facilities()
|
D | book3s_hv_rmhandlers.S | 2444 oris r8,r8,MSR_VEC@h 2479 oris r8,r8,MSR_VEC@h
|
D | powerpc.c | 1236 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, MSR_VEC); in kvmppc_complete_mmio_load()
|
D | book3s_hv.c | 4822 msr |= MSR_VEC; in kvmppc_vcpu_run_hv()
|