Home
last modified time | relevance | path

Searched refs:MSR_SPE (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/include/asm/
Dswitch_to.h72 msr_check_and_clear(MSR_SPE); in disable_kernel_spe()
Dreg.h82 #ifndef MSR_SPE
83 #define MSR_SPE 0 macro
Dreg_booke.h33 #define MSR_SPE __MASK(MSR_SPE_LG) macro
/arch/powerpc/kernel/
Dprocess.c415 msr_check_and_set(MSR_SPE); in giveup_spe()
417 msr_check_and_clear(MSR_SPE); in giveup_spe()
425 msr_check_and_set(MSR_SPE); in enable_kernel_spe()
427 if (current->thread.regs && (current->thread.regs->msr & MSR_SPE)) { in enable_kernel_spe()
438 if (tsk->thread.regs->msr & MSR_SPE) { in flush_spe_to_thread()
465 msr_all_available |= MSR_SPE; in init_msr_all_available()
500 if (usermsr & MSR_SPE) in giveup_all()
567 if (usermsr & MSR_SPE) in save_all()
581 if (tsk->thread.regs->msr & MSR_SPE) in flush_all_to_thread()
Dsignal_32.c477 msr |= MSR_SPE; in save_user_regs()
631 msr |= MSR_SPE; in save_tm_user_regs()
738 regs->msr &= ~MSR_SPE; in restore_user_regs()
739 if (msr & MSR_SPE) { in restore_user_regs()
847 regs->msr &= ~MSR_SPE; in restore_tm_user_regs()
848 if (msr & MSR_SPE) { in restore_tm_user_regs()
Dhead_fsl_booke.S858 oris r5,r5,MSR_SPE@h
862 oris r9,r9,MSR_SPE@h
878 oris r3,r3,MSR_SPE@h
1002 lis r3,MSR_SPE@h
Dtraps.c1907 if (regs->msr & MSR_SPE) in SPEFloatingPointRoundException()
Dentry_32.S634 oris r0,r0,MSR_SPE@h /* Disable SPE */
/arch/powerpc/kvm/
Dbooke.c103 vcpu->arch.shadow_msr &= ~MSR_SPE; in kvmppc_vcpu_disable_spe()
113 vcpu->arch.shadow_msr |= MSR_SPE; in kvmppc_vcpu_enable_spe()
119 if (vcpu->arch.shared->msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
120 if (!(vcpu->arch.shadow_msr & MSR_SPE)) in kvmppc_vcpu_sync_spe()
122 } else if (vcpu->arch.shadow_msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
1125 if (vcpu->arch.shared->msr & MSR_SPE) in kvmppc_handle_exit()
De500.c314 if (vcpu->arch.shadow_msr & MSR_SPE) in kvmppc_core_vcpu_put_e500()