Searched refs:PT_MSR (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.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-5.19.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-5.19.10/arch/powerpc/kernel/ |
D | signal_32.c | 119 if ((i == PT_MSR) || (i == PT_SOFTE)) in __unsafe_restore_general_regs() 159 unsafe_copy_from_user(regs, &sr->mc_gregs, PT_MSR * sizeof(elf_greg_t), failed); in __unsafe_restore_general_regs() 330 unsafe_put_user(msr, &frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs() 336 unsafe_put_user(0, &tm_frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs() 380 unsafe_put_user((msr >> 32), &tm_frame->mc_gregs[PT_MSR], failed); in save_tm_user_regs_unsafe() 437 unsafe_put_user(msr, &frame->mc_gregs[PT_MSR], failed); in save_tm_user_regs_unsafe() 482 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_user_regs() 590 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs() 660 unsafe_get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs() 1012 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3() [all …]
|
D | signal_64.c | 181 unsafe_put_user(msr, &sc->gp_regs[PT_MSR], efault_out); in __unsafe_setup_sigcontext() 319 err |= __put_user(msr, &tm_sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts() 320 err |= __put_user(msr, &sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts() 360 unsafe_get_user(msr, &sc->gp_regs[PT_MSR], efault_out); in __unsafe_restore_sigcontext() 470 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_tm_sigcontexts() 662 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3() 797 if (__get_user(msr, &uc->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE0()
|
/linux-5.19.10/tools/testing/selftests/powerpc/include/ |
D | utils.h | 145 #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.gp_regs[PT_MSR] 148 #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_MSR]
|
/linux-5.19.10/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 167 if (regno == PT_MSR) { in ptrace_get_reg() 203 if (regno == PT_MSR) in ptrace_put_reg() 250 0, PT_MSR * sizeof(reg)); in gpr_set() 254 PT_MSR * sizeof(reg), in gpr_set() 255 (PT_MSR + 1) * sizeof(reg)); in gpr_set() 635 for (i = 0; i < PT_MSR; i++) in gpr32_get_common() 660 for (; count > 0 && pos < PT_MSR; --count) in gpr32_set_common() 663 for (; count > 0 && pos < PT_MSR; --count) { in gpr32_set_common() 669 if (count > 0 && pos == PT_MSR) { in gpr32_set_common()
|
D | ptrace-tm.c | 153 0, PT_MSR * sizeof(reg)); in tm_cgpr_set() 157 PT_MSR * sizeof(reg), in tm_cgpr_set() 158 (PT_MSR + 1) * sizeof(reg)); in tm_cgpr_set()
|
D | ptrace.c | 423 CHECK_REG(PT_MSR, msr); in pt_regs_check()
|
/linux-5.19.10/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | mmcr2_fcs_fch_test.c | 23 is_hv = !!(uctx->uc_mcontext.gp_regs[PT_MSR] & MSR_HV); in sig_usr2_handler()
|
/linux-5.19.10/arch/microblaze/include/uapi/asm/ |
D | ptrace.h | 63 #define PT_MSR (33 * sizeof(microblaze_reg_t)) macro
|
/linux-5.19.10/arch/powerpc/include/uapi/asm/ |
D | ptrace.h | 102 #define PT_MSR 33 macro
|
/linux-5.19.10/arch/microblaze/kernel/ |
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; \
|