/linux-6.1.9/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() 155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler() 157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler() 159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler() [all …]
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | signal_64.c | 179 unsafe_put_user(&sc->gp_regs, &sc->regs, efault_out); in __unsafe_setup_sigcontext() 180 unsafe_copy_to_user(&sc->gp_regs, regs, GP_REGS_SIZE, efault_out); in __unsafe_setup_sigcontext() 181 unsafe_put_user(msr, &sc->gp_regs[PT_MSR], efault_out); in __unsafe_setup_sigcontext() 182 unsafe_put_user(softe, &sc->gp_regs[PT_SOFTE], efault_out); in __unsafe_setup_sigcontext() 314 err |= __put_user(&sc->gp_regs, &sc->regs); in setup_tm_sigcontexts() 315 err |= __put_user(&tm_sc->gp_regs, &tm_sc->regs); in setup_tm_sigcontexts() 316 err |= __copy_to_user(&tm_sc->gp_regs, regs, GP_REGS_SIZE); in setup_tm_sigcontexts() 317 err |= __copy_to_user(&sc->gp_regs, in setup_tm_sigcontexts() 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() [all …]
|
/linux-6.1.9/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() 116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler() 123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler() 124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; 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() 172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
|
D | tm-signal-context-chk-gpr.c | 57 fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); in signal_usr1() 61 R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); in signal_usr1() 67 fail = (tm_ucp->uc_mcontext.gp_regs[R14 + i] != gprs[NV_GPR_REGS + i]); in signal_usr1() 71 R14 + i, tm_ucp->uc_mcontext.gp_regs[R14 + i], gprs[NV_GPR_REGS + i]); in signal_usr1()
|
D | tm-signal-msr-resv.c | 41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1()
|
/linux-6.1.9/drivers/video/fbdev/geode/ |
D | gxfb.h | 23 void __iomem *gp_regs; member 295 return readl(par->gp_regs + 4*reg); in read_gp() 300 writel(val, par->gp_regs + 4*reg); in write_gp()
|
D | gxfb_core.c | 242 par->gp_regs = pci_ioremap_bar(dev, 1); in gxfb_map_video_memory() 244 if (!par->gp_regs) in gxfb_map_video_memory() 430 if (par->gp_regs) { in gxfb_probe() 431 iounmap(par->gp_regs); in gxfb_probe() 456 iounmap(par->gp_regs); in gxfb_remove()
|
D | lxfb.h | 29 void __iomem *gp_regs; member 378 return readl(par->gp_regs + 4*reg); in read_gp() 383 writel(val, par->gp_regs + 4*reg); in write_gp()
|
D | lxfb_core.c | 365 par->gp_regs = pci_ioremap_bar(dev, 1); in lxfb_map_video_memory() 367 if (par->gp_regs == NULL) in lxfb_map_video_memory() 552 if (par->gp_regs) { in lxfb_probe() 553 iounmap(par->gp_regs); in lxfb_probe() 581 iounmap(par->gp_regs); in lxfb_remove()
|
D | suspend_gx.c | 30 memcpy(par->gp, par->gp_regs, sizeof(par->gp)); in gx_save_regs()
|
D | lxfb_ops.c | 602 memcpy(par->gp, par->gp_regs, sizeof(par->gp)); in lx_save_regs()
|
/linux-6.1.9/tools/testing/selftests/powerpc/include/ |
D | utils.h | 154 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP] 155 #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.gp_regs[PT_MSR]
|
/linux-6.1.9/drivers/soc/bcm/brcmstb/pm/ |
D | s3-mips.S | 25 la t0, gp_regs 115 la t0, gp_regs
|
D | pm-mips.c | 84 u32 gp_regs[MAX_GP_REGS]; variable
|
/linux-6.1.9/arch/powerpc/include/uapi/asm/ |
D | sigcontext.h | 31 elf_gregset_t gp_regs; member
|
/linux-6.1.9/tools/testing/selftests/powerpc/alignment/ |
D | copy_first_unaligned.c | 22 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
|
D | alignment_handler.c | 71 u32 inst = *(u32 *)ucp->uc_mcontext.gp_regs[PT_NIP]; in sighandler() 72 ucp->uc_mcontext.gp_regs[PT_NIP] += ((inst >> 26 == 1) ? 8 : 4); in sighandler() 74 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()
|
/linux-6.1.9/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-6.1.9/tools/testing/selftests/vm/ |
D | pkey-powerpc.h | 15 #define gregs gp_regs
|
/linux-6.1.9/arch/powerpc/perf/ |
D | callchain_64.c | 103 uregs = sigframe->uc.uc_mcontext.gp_regs; in perf_callchain_user_64()
|
/linux-6.1.9/tools/testing/selftests/powerpc/copyloops/ |
D | exc_validate.c | 14 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
|
/linux-6.1.9/tools/perf/util/ |
D | intel-pt.c | 2077 const u64 *gp_regs = items->val[INTEL_PT_GP_REGS_POS]; in intel_pt_add_gp_regs() local 2095 *pos++ = gp_regs[n]; in intel_pt_add_gp_regs()
|