Home
last modified time | relevance | path

Searched refs:ckpt_regs (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace-tm.c34 return task->thread.ckpt_regs.msr | task->thread.fpexc_mode; in get_user_ckpt_msr()
39 task->thread.ckpt_regs.msr &= ~MSR_DEBUGCHANGE; in set_user_ckpt_msr()
40 task->thread.ckpt_regs.msr |= msr & MSR_DEBUGCHANGE; in set_user_ckpt_msr()
46 set_trap(&task->thread.ckpt_regs, trap); in set_user_ckpt_trap()
99 membuf_write(&to, &target->thread.ckpt_regs, in tm_cgpr_get()
106 membuf_write(&to, &target->thread.ckpt_regs.orig_gpr3, in tm_cgpr_get()
151 &target->thread.ckpt_regs, in tm_cgpr_set()
167 &target->thread.ckpt_regs.orig_gpr3, in tm_cgpr_set()
579 BUILD_BUG_ON(TSO(tm_tfiar) + sizeof(u64) != TSO(ckpt_regs)); in tm_spr_get()
624 BUILD_BUG_ON(TSO(tm_tfiar) + sizeof(u64) != TSO(ckpt_regs)); in tm_spr_set()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsignal_64.c223 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
305 &tsk->thread.ckpt_regs, GP_REGS_SIZE); in setup_tm_sigcontexts()
439 err |= __copy_from_user(&tsk->thread.ckpt_regs, sc->gp_regs, in restore_tm_sigcontexts()
467 err |= __get_user(tsk->thread.ckpt_regs.ctr, in restore_tm_sigcontexts()
469 err |= __get_user(tsk->thread.ckpt_regs.link, in restore_tm_sigcontexts()
471 err |= __get_user(tsk->thread.ckpt_regs.xer, in restore_tm_sigcontexts()
473 err |= __get_user(tsk->thread.ckpt_regs.ccr, in restore_tm_sigcontexts()
Dprocess.c98 tsk->thread.ckpt_regs.msr = tsk->thread.regs->msr; in check_if_tm_restore_required()
951 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
954 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
1117 msr_diff = current->thread.ckpt_regs.msr & ~regs->msr; in restore_tm_state()
Dsignal.c367 ret = tsk->thread.ckpt_regs.gpr[1]; in get_tm_stackpointer()
Dsignal_32.c353 if (save_general_regs(&current->thread.ckpt_regs, frame) in save_tm_user_regs()
605 err |= restore_general_regs(&current->thread.ckpt_regs, sr); in restore_tm_user_regs()
Dasm-offsets.c180 OFFSET(PT_CKPT_REGS, thread_struct, ckpt_regs); in main()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprocessor.h213 struct pt_regs ckpt_regs; /* Checkpointed registers */ member