Home
last modified time | relevance | path

Searched refs:PT_MSR (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/tools/testing/selftests/powerpc/tm/
Dtm-trap.c67 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()
Dtm-signal-msr-resv.c41 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-v4.19/arch/powerpc/kernel/
Dsignal_32.c138 if ((i == PT_MSR) || (i == PT_SOFTE)) in restore_general_regs()
175 PT_MSR * sizeof(elf_greg_t))) in restore_general_regs()
464 if (__put_user(msr, &frame->mc_gregs[PT_MSR])) in save_user_regs()
469 if (tm_frame && __put_user(0, &tm_frame->mc_gregs[PT_MSR])) in save_user_regs()
520 if (__put_user((msr >> 32), &tm_frame->mc_gregs[PT_MSR])) in save_tm_user_regs()
619 if (__put_user(msr, &frame->mc_gregs[PT_MSR])) in save_tm_user_regs()
656 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]); in restore_user_regs()
766 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]); in restore_tm_user_regs()
845 if (__get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR])) in restore_tm_user_regs()
1067 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
[all …]
Dsignal_64.c174 err |= __put_user(msr, &sc->gp_regs[PT_MSR]); in setup_sigcontext()
317 err |= __put_user(msr, &tm_sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts()
318 err |= __put_user(msr, &sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts()
356 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_sigcontext()
465 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_tm_sigcontexts()
637 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
732 if (__get_user(msr, &uc->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE0()
Dptrace.c280 if (regno == PT_MSR) { in ptrace_get_reg()
316 if (regno == PT_MSR) in ptrace_put_reg()
385 0, PT_MSR * sizeof(reg)); in gpr_set()
389 PT_MSR * sizeof(reg), in gpr_set()
390 (PT_MSR + 1) * sizeof(reg)); in gpr_set()
904 0, PT_MSR * sizeof(reg)); in tm_cgpr_set()
908 PT_MSR * sizeof(reg), in tm_cgpr_set()
909 (PT_MSR + 1) * sizeof(reg)); in tm_cgpr_set()
2020 for (; count > 0 && pos < PT_MSR; --count) in gpr32_get_common()
2023 for (; count > 0 && pos < PT_MSR; --count) in gpr32_get_common()
[all …]
/Linux-v4.19/arch/microblaze/include/uapi/asm/
Dptrace.h63 #define PT_MSR (33 * sizeof(microblaze_reg_t)) macro
/Linux-v4.19/arch/microblaze/kernel/
Dentry-nommu.S102 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
Dasm-offsets.c25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main()
Dentry.S209 swi r11, r1, PT_MSR;
244 lwi r11, r1, PT_MSR; \
249 lwi r11, r1, PT_MSR; \
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dptrace.h97 #define PT_MSR 33 macro