/linux-6.12.1/arch/powerpc/kernel/ptrace/ |
D | ptrace-adv.c | 15 regs_set_return_msr(regs, regs->msr | MSR_DE); in user_enable_single_step() 27 regs_set_return_msr(regs, regs->msr | MSR_DE); in user_enable_block_step() 53 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in user_disable_single_step() 116 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in ptrace_set_debugreg() 136 regs_set_return_msr(regs, regs->msr | MSR_DE); in ptrace_set_debugreg() 224 regs_set_return_msr(child->thread.regs, child->thread.regs->msr | MSR_DE); in set_instruction_bp() 340 regs_set_return_msr(child->thread.regs, child->thread.regs->msr | MSR_DE); in set_dac() 434 regs_set_return_msr(child->thread.regs, child->thread.regs->msr | MSR_DE); in set_dac_range() 489 regs_set_return_msr(child->thread.regs, in ppc_del_hwdebug()
|
D | ptrace-noadv.c | 15 regs_set_return_msr(regs, (regs->msr & ~MSR_BE) | MSR_SE); in user_enable_single_step() 24 regs_set_return_msr(regs, (regs->msr & ~MSR_SE) | MSR_BE); in user_enable_block_step() 33 regs_set_return_msr(regs, regs->msr & ~(MSR_SE | MSR_BE)); in user_disable_single_step()
|
D | ptrace-view.c | 118 regs_set_return_msr(task->thread.regs, newmsr); in set_user_msr()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | signal_32.c | 491 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_user_regs() 498 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_user_regs() 520 regs_set_return_msr(regs, regs->msr & ~MSR_VSX); in restore_user_regs() 536 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1)); in restore_user_regs() 545 regs_set_return_msr(regs, regs->msr & ~MSR_SPE); in restore_user_regs() 596 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_tm_user_regs() 598 regs_set_return_msr(regs, regs->msr & ~MSR_VEC); in restore_tm_user_regs() 617 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1)); in restore_tm_user_regs() 621 regs_set_return_msr(regs, regs->msr & ~MSR_VSX); in restore_tm_user_regs() 688 regs_set_return_msr(regs, (regs->msr & ~MSR_TS_MASK) | (msr_hi & MSR_TS_MASK)); in restore_tm_user_regs() [all …]
|
D | signal_64.c | 362 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in __unsafe_restore_sigcontext() 387 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in __unsafe_restore_sigcontext() 479 regs_set_return_msr(regs, (regs->msr & ~MSR_LE) | (msr & MSR_LE)); in restore_tm_sigcontexts() 506 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in restore_tm_sigcontexts() 576 regs_set_return_msr(regs, regs->msr | (msr & MSR_TS_MASK)); in restore_tm_sigcontexts() 594 regs_set_return_msr(regs, regs->msr | MSR_TM); in restore_tm_sigcontexts() 602 regs_set_return_msr(regs, regs->msr | (MSR_FP | tsk->thread.fpexc_mode)); in restore_tm_sigcontexts() 606 regs_set_return_msr(regs, regs->msr | MSR_VEC); in restore_tm_sigcontexts() 798 regs_set_return_msr(regs, regs->msr & ~MSR_TS_MASK); in SYSCALL_DEFINE0() 830 regs_set_return_msr(current->thread.regs, in SYSCALL_DEFINE0() [all …]
|
D | kprobes.c | 326 regs_set_return_msr(regs, in kprobe_handler() 416 regs_set_return_msr(regs, regs->msr | kcb->kprobe_saved_msr); in kprobe_post_handler() 457 regs_set_return_msr(regs, in kprobe_fault_handler()
|
D | process.c | 94 regs_set_return_msr(&tsk->thread.ckpt_regs, in check_if_tm_restore_required() 160 regs_set_return_msr(tsk->thread.regs, msr); in __giveup_fpu() 243 regs_set_return_msr(tsk->thread.regs, msr); in __giveup_altivec() 558 regs_set_return_msr(regs, regs->msr | new_msr | fpexc_mode); in restore_math() 1145 regs_set_return_msr(regs, regs->msr | msr_diff); in restore_tm_state() 1976 regs_set_return_msr(regs, MSR_USER64); in start_thread() 1980 regs_set_return_msr(regs, MSR_USER32); in start_thread() 2067 regs_set_return_msr(regs, (regs->msr & ~(MSR_FE0|MSR_FE1)) in set_fpexc_mode() 2115 regs_set_return_msr(regs, regs->msr & ~MSR_LE); in set_endian() 2117 regs_set_return_msr(regs, regs->msr | MSR_LE); in set_endian()
|
D | traps.c | 598 #define clear_single_step(regs) (regs_set_return_msr((regs), (regs)->msr & ~MSR_SE)) 599 #define clear_br_trace(regs) (regs_set_return_msr((regs), (regs)->msr & ~MSR_BE)) 1637 regs_set_return_msr(regs, regs->msr | REASON_ILLEGAL); in DEFINE_INTERRUPT_HANDLER() 1730 regs_set_return_msr(regs, regs->msr | MSR_TM); in tm_unavailable() 2019 regs_set_return_msr(regs, regs->msr | MSR_DE); in handle_debug() 2040 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in DEFINE_INTERRUPT_HANDLER() 2051 regs_set_return_msr(regs, regs->msr | MSR_DE); in DEFINE_INTERRUPT_HANDLER() 2065 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in DEFINE_INTERRUPT_HANDLER() 2087 regs_set_return_msr(regs, regs->msr | MSR_DE); in DEFINE_INTERRUPT_HANDLER()
|
D | syscalls.c | 115 regs_set_return_msr(current->thread.regs, in SYSCALL_DEFINE0()
|
D | kgdb.c | 402 regs_set_return_msr(linux_regs, linux_regs->msr | MSR_DE); in kgdb_arch_handle_exception() 404 regs_set_return_msr(linux_regs, linux_regs->msr | MSR_SE); in kgdb_arch_handle_exception()
|
D | hw_breakpoint.c | 244 regs_set_return_msr(regs, regs->msr & ~MSR_SE); in thread_change_pc() 298 regs_set_return_msr(regs, regs->msr | MSR_SE); in stepping_handler()
|
D | signal.c | 354 regs_set_return_msr(regs, regs->msr & ~MSR_TS_MASK); in get_tm_stackpointer()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | probes.h | 73 regs_set_return_msr(regs, regs->msr | MSR_SINGLESTEP); in enable_single_step() 80 regs_set_return_msr(regs, regs->msr & ~MSR_CE); in enable_single_step()
|
D | ptrace.h | 194 static inline void regs_set_return_msr(struct pt_regs *regs, unsigned long msr) in regs_set_return_msr() function 324 regs_set_return_msr(regs, regs->msr | MSR_RI); in regs_set_recoverable() 330 regs_set_return_msr(regs, regs->msr & ~MSR_RI); in regs_set_unrecoverable()
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | ras.c | 499 regs_set_return_msr(regs, 0); in pSeries_system_reset_exception()
|
/linux-6.12.1/arch/powerpc/xmon/ |
D | xmon.c | 1192 regs_set_return_msr(regs, regs->msr | MSR_DE); in do_step() 1225 regs_set_return_msr(regs, regs->msr | MSR_SE); in do_step()
|
/linux-6.12.1/arch/powerpc/lib/ |
D | sstep.c | 3648 regs_set_return_msr(regs, (regs->msr & ~op.val) | (val & op.val)); in emulate_step()
|