Searched refs:spefscr (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-spe.c | 15 * u32 spefscr; 33 offsetof(struct thread_struct, spefscr)); in evr_get() 52 offsetof(struct thread_struct, spefscr)); in evr_set()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-spe.c | 15 * u32 spefscr; 33 offsetof(struct thread_struct, spefscr)); in evr_get() 52 offsetof(struct thread_struct, spefscr)); in evr_set()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | processor.h | 203 unsigned long spefscr; /* SPE & eFP status */ member 284 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
|
H A D | sfp-machine.h | 108 #define __FPU_FPSCR (current->thread.spefscr)
|
H A D | kvm_host.h | 541 ulong spefscr; member
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | processor.h | 196 unsigned long spefscr; /* SPE & eFP status */ member 274 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
|
H A D | sfp-machine.h | 108 #define __FPU_FPSCR (current->thread.spefscr)
|
H A D | kvm_host.h | 536 ulong spefscr; member
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | traps.c | 2145 unsigned long spefscr; in SPEFloatingPointException() local 2156 spefscr = current->thread.spefscr; in SPEFloatingPointException() 2159 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException() 2162 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException() 2165 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException() 2167 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException() 2170 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
|
H A D | signal_32.c | 310 /* We always copy to/from spefscr */ in save_user_regs() 311 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_user_regs() 457 /* We always copy to/from spefscr */ in save_tm_user_regs() 458 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_tm_user_regs() 572 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG)) in restore_user_regs() 682 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs in restore_tm_user_regs()
|
H A D | asm-offsets.c | 154 OFFSET(THREAD_SPEFSCR, thread_struct, spefscr); in main() 773 OFFSET(VCPU_SPEFSCR, kvm_vcpu, arch.spefscr); in main()
|
H A D | process.c | 399 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_spe_to_thread() 602 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_all_to_thread() 1887 current->thread.spefscr = 0; in start_thread()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | traps.c | 2151 unsigned long spefscr; in DEFINE_INTERRUPT_HANDLER() local 2160 spefscr = current->thread.spefscr; in DEFINE_INTERRUPT_HANDLER() 2163 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in DEFINE_INTERRUPT_HANDLER() 2166 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in DEFINE_INTERRUPT_HANDLER() 2169 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in DEFINE_INTERRUPT_HANDLER() 2171 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in DEFINE_INTERRUPT_HANDLER() 2174 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in DEFINE_INTERRUPT_HANDLER()
|
H A D | process.c | 398 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_spe_to_thread() 600 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_all_to_thread() 1164 t->spefscr = mfspr(SPRN_SPEFSCR); in save_sprs() 1235 old_thread->spefscr != new_thread->spefscr) in restore_sprs() 1236 mtspr(SPRN_SPEFSCR, new_thread->spefscr); in restore_sprs() 1989 current->thread.spefscr = 0; in start_thread()
|
H A D | signal_32.c | 326 /* We always copy to/from spefscr */ in __unsafe_save_user_regs() 327 unsafe_put_user(current->thread.spefscr, in __unsafe_save_user_regs() 555 unsafe_get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG, failed); in restore_user_regs()
|
H A D | asm-offsets.c | 653 OFFSET(VCPU_SPEFSCR, kvm_vcpu, arch.spefscr); in main()
|
Completed in 21 milliseconds