Home
last modified time | relevance | path

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

/linux-6.1.9/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()
104 membuf_write(&to, &target->thread.ckpt_regs, sizeof(struct user_pt_regs)); in tm_cgpr_get()
152 &target->thread.ckpt_regs, in tm_cgpr_set()
168 &target->thread.ckpt_regs.orig_gpr3, in tm_cgpr_set()
580 BUILD_BUG_ON(TSO(tm_tfiar) + sizeof(u64) != TSO(ckpt_regs)); in tm_spr_get()
625 BUILD_BUG_ON(TSO(tm_tfiar) + sizeof(u64) != TSO(ckpt_regs)); in tm_spr_set()
778 &target->thread.ckpt_regs.gpr[0]); in tm_cgpr32_get()
[all …]
/linux-6.1.9/arch/powerpc/kernel/
Dsignal_64.c237 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
318 &tsk->thread.ckpt_regs, GP_REGS_SIZE); in setup_tm_sigcontexts()
458 err |= __copy_from_user(&tsk->thread.ckpt_regs, sc->gp_regs, in restore_tm_sigcontexts()
486 err |= __get_user(tsk->thread.ckpt_regs.ctr, in restore_tm_sigcontexts()
488 err |= __get_user(tsk->thread.ckpt_regs.link, in restore_tm_sigcontexts()
490 err |= __get_user(tsk->thread.ckpt_regs.xer, in restore_tm_sigcontexts()
492 err |= __get_user(tsk->thread.ckpt_regs.ccr, in restore_tm_sigcontexts()
Dsignal.c348 ret = tsk->thread.ckpt_regs.gpr[1]; in get_tm_stackpointer()
Dprocess.c96 regs_set_return_msr(&tsk->thread.ckpt_regs, in check_if_tm_restore_required()
937 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
940 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
1103 msr_diff = current->thread.ckpt_regs.msr & ~regs->msr; in restore_tm_state()
Dsignal_32.c371 unsafe_save_general_regs(&current->thread.ckpt_regs, frame, failed); in save_tm_user_regs_unsafe()
588 unsafe_restore_general_regs(&current->thread.ckpt_regs, sr, failed); in restore_tm_user_regs()
Dasm-offsets.c166 OFFSET(PT_CKPT_REGS, thread_struct, ckpt_regs); in main()
/linux-6.1.9/arch/powerpc/include/asm/
Dprocessor.h211 struct pt_regs ckpt_regs; /* Checkpointed registers */ member