Searched refs:MSR_SPE (Results 1 - 19 of 19) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | switch_to.h | 93 msr_check_and_clear(MSR_SPE); in disable_kernel_spe()
|
H A D | reg.h | 87 #ifndef MSR_SPE 88 #define MSR_SPE 0 macro
|
H A D | reg_booke.h | 30 #define MSR_SPE __MASK(MSR_SPE_LG) macro
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | switch_to.h | 102 msr_check_and_clear(MSR_SPE); in disable_kernel_spe()
|
H A D | reg.h | 84 #ifndef MSR_SPE 85 #define MSR_SPE 0 macro
|
H A D | reg_booke.h | 30 #define MSR_SPE __MASK(MSR_SPE_LG) macro
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | signal_32.c | 304 /* 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 D | process.c | 374 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 D | head_fsl_booke.S | 868 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 D | entry_32.S | 729 oris r0,r0,MSR_SPE@h /* Disable SPE */
|
H A D | traps.c | 2204 if (regs->msr & MSR_SPE) in SPEFloatingPointRoundException()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | process.c | 373 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 D | head_85xx.S | 848 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 D | signal_32.c | 320 /* 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 D | traps.c | 2205 if (regs->msr & MSR_SPE) in DEFINE_INTERRUPT_HANDLER()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | booke.c | 93 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 D | e500.c | 310 if (vcpu->arch.shadow_msr & MSR_SPE) in kvmppc_core_vcpu_put_e500()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | booke.c | 119 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 D | e500.c | 310 if (vcpu->arch.shadow_msr & MSR_SPE) in kvmppc_core_vcpu_put_e500()
|
Completed in 38 milliseconds