Searched refs:PT_MSR (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.10/tools/testing/selftests/powerpc/signal/ |
D | sigfuz.c | 119 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler() 122 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler() 125 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler() 132 ucp->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler() 135 ucp->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler() 138 ucp->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler() 153 ucp->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler() 157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
|
/Linux-v5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-trap.c | 67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler() 123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler() 141 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler() 171 ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; in trap_signal_handler()
|
D | tm-signal-msr-resv.c | 41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1() 43 ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL); in signal_usr1()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | signal_32.c | 129 if ((i == PT_MSR) || (i == PT_SOFTE)) in restore_general_regs() 166 PT_MSR * sizeof(elf_greg_t))) in restore_general_regs() 315 if (__put_user(msr, &frame->mc_gregs[PT_MSR])) in save_user_regs() 320 if (tm_frame && __put_user(0, &tm_frame->mc_gregs[PT_MSR])) in save_user_regs() 363 if (__put_user((msr >> 32), &tm_frame->mc_gregs[PT_MSR])) in save_tm_user_regs() 462 if (__put_user(msr, &frame->mc_gregs[PT_MSR])) in save_tm_user_regs() 499 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]); in restore_user_regs() 609 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]); in restore_tm_user_regs() 688 if (__get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR])) in restore_tm_user_regs() 932 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3() [all …]
|
D | signal_64.c | 170 err |= __put_user(msr, &sc->gp_regs[PT_MSR]); in setup_sigcontext() 306 err |= __put_user(msr, &tm_sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts() 307 err |= __put_user(msr, &sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts() 345 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_sigcontext() 454 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_tm_sigcontexts() 643 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3() 762 if (__get_user(msr, &uc->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE0()
|
/Linux-v5.10/tools/testing/selftests/powerpc/include/ |
D | utils.h | 140 #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.gp_regs[PT_MSR] 143 #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_MSR]
|
/Linux-v5.10/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 166 if (regno == PT_MSR) { in ptrace_get_reg() 202 if (regno == PT_MSR) in ptrace_put_reg() 258 0, PT_MSR * sizeof(reg)); in gpr_set() 262 PT_MSR * sizeof(reg), in gpr_set() 263 (PT_MSR + 1) * sizeof(reg)); in gpr_set() 642 for (i = 0; i < PT_MSR; i++) in gpr32_get_common() 664 for (; count > 0 && pos < PT_MSR; --count) in gpr32_set_common() 667 for (; count > 0 && pos < PT_MSR; --count) { in gpr32_set_common() 674 if (count > 0 && pos == PT_MSR) { in gpr32_set_common()
|
D | ptrace-tm.c | 152 0, PT_MSR * sizeof(reg)); in tm_cgpr_set() 156 PT_MSR * sizeof(reg), in tm_cgpr_set() 157 (PT_MSR + 1) * sizeof(reg)); in tm_cgpr_set()
|
D | ptrace.c | 457 CHECK_REG(PT_MSR, msr); in pt_regs_check()
|
/Linux-v5.10/arch/microblaze/include/uapi/asm/ |
D | ptrace.h | 63 #define PT_MSR (33 * sizeof(microblaze_reg_t)) macro
|
/Linux-v5.10/arch/microblaze/kernel/ |
D | entry-nommu.S | 102 swi r11, r1, PT_MSR 162 lwi r11, r1, PT_MSR 262 swi r11, r1, PT_MSR 353 swi r11, r1, PT_MSR 537 lwi r18, r1, PT_MSR
|
D | asm-offsets.c | 25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main()
|
D | entry.S | 209 swi r11, r1, PT_MSR; 244 lwi r11, r1, PT_MSR; \ 249 lwi r11, r1, PT_MSR; \
|
/Linux-v5.10/arch/powerpc/include/uapi/asm/ |
D | ptrace.h | 102 #define PT_MSR 33 macro
|