Home
last modified time | relevance | path

Searched refs:spefscr (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/arch/powerpc/kernel/ptrace/
A Dptrace-spe.c33 offsetof(struct thread_struct, spefscr)); in evr_get()
52 offsetof(struct thread_struct, spefscr)); in evr_set()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dprocessor.h201 unsigned long spefscr; /* SPE & eFP status */ member
278 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
A Dsfp-machine.h108 #define __FPU_FPSCR (current->thread.spefscr)
A Dkvm_host.h536 ulong spefscr; member
/linux-6.3-rc2/arch/powerpc/kernel/
A Dtraps.c2120 unsigned long spefscr; in DEFINE_INTERRUPT_HANDLER() local
2129 spefscr = current->thread.spefscr; in DEFINE_INTERRUPT_HANDLER()
2132 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in DEFINE_INTERRUPT_HANDLER()
2135 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in DEFINE_INTERRUPT_HANDLER()
2138 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in DEFINE_INTERRUPT_HANDLER()
2140 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in DEFINE_INTERRUPT_HANDLER()
2143 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in DEFINE_INTERRUPT_HANDLER()
A Dprocess.c398 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()
1232 old_thread->spefscr != new_thread->spefscr) in restore_sprs()
1233 mtspr(SPRN_SPEFSCR, new_thread->spefscr); in restore_sprs()
1966 current->thread.spefscr = 0; in start_thread()
A Dsignal_32.c326 unsafe_put_user(current->thread.spefscr, in __unsafe_save_user_regs()
552 unsafe_get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG, failed); in restore_user_regs()
A Dasm-offsets.c651 OFFSET(VCPU_SPEFSCR, kvm_vcpu, arch.spefscr); in main()

Completed in 35 milliseconds