Home
last modified time | relevance | path

Searched refs:MSR_SPE (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dswitch_to.h93 msr_check_and_clear(MSR_SPE); in disable_kernel_spe()
H A Dreg.h87 #ifndef MSR_SPE
88 #define MSR_SPE 0 macro
H A Dreg_booke.h30 #define MSR_SPE __MASK(MSR_SPE_LG) macro
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dswitch_to.h102 msr_check_and_clear(MSR_SPE); in disable_kernel_spe()
H A Dreg.h84 #ifndef MSR_SPE
85 #define MSR_SPE 0 macro
H A Dreg_booke.h30 #define MSR_SPE __MASK(MSR_SPE_LG) macro
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsignal_32.c304 /* set MSR_SPE in the saved MSR value to indicate that in save_user_regs()
306 msr |= MSR_SPE; in save_user_regs()
308 /* else assert((regs->msr & MSR_SPE) == 0) */ in save_user_regs()
452 /* set MSR_SPE in the saved MSR value to indicate that in save_tm_user_regs()
454 msr |= MSR_SPE; in save_tm_user_regs()
561 regs->msr &= ~MSR_SPE; in restore_user_regs()
562 if (msr & MSR_SPE) { in restore_user_regs()
672 regs->msr &= ~MSR_SPE; in restore_tm_user_regs()
673 if (msr & MSR_SPE) { in restore_tm_user_regs()
H A Dprocess.c374 msr_check_and_set(MSR_SPE); in giveup_spe()
376 msr_check_and_clear(MSR_SPE); in giveup_spe()
384 msr_check_and_set(MSR_SPE); in enable_kernel_spe()
386 if (current->thread.regs && (current->thread.regs->msr & MSR_SPE)) { in enable_kernel_spe()
397 if (tsk->thread.regs->msr & MSR_SPE) { in flush_spe_to_thread()
418 msr_all_available |= MSR_SPE; in init_msr_all_available()
446 if (usermsr & MSR_SPE) in giveup_all()
588 if (usermsr & MSR_SPE) in save_all()
601 if (tsk->thread.regs->msr & MSR_SPE) in flush_all_to_thread()
H A Dhead_fsl_booke.S868 oris r5,r5,MSR_SPE@h
872 oris r9,r9,MSR_SPE@h
888 oris r3,r3,MSR_SPE@h
1012 lis r3,MSR_SPE@h
H A Dentry_32.S729 oris r0,r0,MSR_SPE@h /* Disable SPE */
H A Dtraps.c2204 if (regs->msr & MSR_SPE) in SPEFloatingPointRoundException()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dprocess.c373 msr_check_and_set(MSR_SPE); in giveup_spe()
375 msr_check_and_clear(MSR_SPE); in giveup_spe()
383 msr_check_and_set(MSR_SPE); in enable_kernel_spe()
385 if (current->thread.regs && (current->thread.regs->msr & MSR_SPE)) { in enable_kernel_spe()
396 if (tsk->thread.regs->msr & MSR_SPE) { in flush_spe_to_thread()
417 msr_all_available |= MSR_SPE; in init_msr_all_available()
445 if (usermsr & MSR_SPE) in giveup_all()
587 if (usermsr & MSR_SPE) in save_all()
599 if (tsk->thread.regs->msr & MSR_SPE) in flush_all_to_thread()
H A Dhead_85xx.S848 oris r5,r5,MSR_SPE@h
852 oris r9,r9,MSR_SPE@h
868 oris r3,r3,MSR_SPE@h
979 lis r3,MSR_SPE@h
H A Dsignal_32.c320 /* set MSR_SPE in the saved MSR value to indicate that in __unsafe_save_user_regs()
322 msr |= MSR_SPE; in __unsafe_save_user_regs()
324 /* else assert((regs->msr & MSR_SPE) == 0) */ in __unsafe_save_user_regs()
545 regs_set_return_msr(regs, regs->msr & ~MSR_SPE); in restore_user_regs()
546 if (msr & MSR_SPE) { in restore_user_regs()
H A Dtraps.c2205 if (regs->msr & MSR_SPE) in DEFINE_INTERRUPT_HANDLER()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbooke.c93 vcpu->arch.shadow_msr &= ~MSR_SPE; in kvmppc_vcpu_disable_spe()
103 vcpu->arch.shadow_msr |= MSR_SPE; in kvmppc_vcpu_enable_spe()
109 if (vcpu->arch.shared->msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
110 if (!(vcpu->arch.shadow_msr & MSR_SPE)) in kvmppc_vcpu_sync_spe()
112 } else if (vcpu->arch.shadow_msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
1143 if (vcpu->arch.shared->msr & MSR_SPE) in kvmppc_handle_exit()
H A De500.c310 if (vcpu->arch.shadow_msr & MSR_SPE) in kvmppc_core_vcpu_put_e500()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbooke.c119 vcpu->arch.shadow_msr &= ~MSR_SPE; in kvmppc_vcpu_disable_spe()
129 vcpu->arch.shadow_msr |= MSR_SPE; in kvmppc_vcpu_enable_spe()
135 if (vcpu->arch.shared->msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
136 if (!(vcpu->arch.shadow_msr & MSR_SPE)) in kvmppc_vcpu_sync_spe()
138 } else if (vcpu->arch.shadow_msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
1177 if (vcpu->arch.shared->msr & MSR_SPE) in kvmppc_handle_exit()
H A De500.c310 if (vcpu->arch.shadow_msr & MSR_SPE) in kvmppc_core_vcpu_put_e500()

Completed in 38 milliseconds