Home
last modified time | relevance | path

Searched refs:tpc (Results 1 – 25 of 36) sorted by relevance

12

/arch/sparc/mm/
Dfault_64.c65 regs->tpc); in bad_kernel_pc()
70 unhandled_fault(regs->tpc, current, regs); in bad_kernel_pc()
80 static unsigned int get_user_insn(unsigned long tpc) in get_user_insn() argument
82 pgd_t *pgdp = pgd_offset(current->mm, tpc); in get_user_insn()
91 pudp = pud_offset(pgdp, tpc); in get_user_insn()
98 pmdp = pmd_offset(pudp, tpc); in get_user_insn()
105 pa += tpc & ~HPAGE_MASK; in get_user_insn()
114 ptep = pte_offset_map(pmdp, tpc); in get_user_insn()
118 pa += (tpc & ~PAGE_MASK); in get_user_insn()
146 (void *)regs->tpc, (void *)regs->u_regs[UREG_I7], in show_signal_msg()
[all …]
/arch/sparc/kernel/
Dtraps_64.c62 unsigned long tpc; member
82 p->trapstack[i].tstate, p->trapstack[i].tpc, in dump_tl1_traplog()
84 printk("TRAPLOG: TPC<%pS>\n", (void *) p->trapstack[i].tpc); in dump_tl1_traplog()
107 regs->tpc &= 0xffffffff; in bad_trap()
111 (void __user *)regs->tpc, lvl); in bad_trap()
201 regs->tpc &= 0xffffffff; in spitfire_insn_access_exception()
205 (void __user *)regs->tpc, 0); in spitfire_insn_access_exception()
237 regs->tpc &= 0xffffffff; in sun4v_insn_access_exception()
258 if (get_user(insn, (u32 __user *)regs->tpc) == -EFAULT) in is_no_fault_exception()
304 entry = search_exception_tables(regs->tpc); in spitfire_data_access_exception()
[all …]
Dkgdb_64.c37 gdb_regs[GDB_PC] = regs->tpc; in pt_regs_to_gdb_regs()
105 regs->tpc = gdb_regs[GDB_PC]; in gdb_regs_to_pt_regs()
148 linux_regs->tpc = addr; in kgdb_arch_handle_exception()
155 if (linux_regs->tpc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()
156 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception()
194 regs->tpc = ip; in kgdb_arch_set_pc()
195 regs->tnpc = regs->tpc + 4; in kgdb_arch_set_pc()
Dsignal_64.c79 regs->tpc = pc; in sparc64_set_context()
167 regs->tpc = (regs->tnpc & 0xffffffff); in sparc64_get_context()
170 regs->tpc = regs->tnpc; in sparc64_get_context()
182 err |= __put_user(regs->tpc, &((*grp)[MC_PC])); in sparc64_get_context()
258 unsigned long tpc, tnpc, tstate, ufp; in do_rt_sigreturn() local
282 err = __get_user(tpc, &sf->regs.tpc); in do_rt_sigreturn()
285 tpc &= 0xffffffff; in do_rt_sigreturn()
288 err |= ((tpc | tnpc) & 3); in do_rt_sigreturn()
314 regs->tpc = tpc; in do_rt_sigreturn()
376 regs->tpc, regs->u_regs[UREG_I7]); in setup_rt_frame()
[all …]
Dkprobes.c108 regs->tpc = (unsigned long) p->addr; in prepare_singlestep()
111 regs->tpc = (unsigned long) &p->ainsn.insn[0]; in prepare_singlestep()
119 void *addr = (void *) regs->tpc; in kprobe_handler()
207 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup()
285 regs->tpc = kcb->kprobe_orig_tnpc; in resume_execution()
336 regs->tpc = (unsigned long)cur->addr; in kprobe_fault_handler()
370 entry = search_exception_tables(regs->tpc); in kprobe_fault_handler()
372 regs->tpc = entry->fixup; in kprobe_fault_handler()
373 regs->tnpc = regs->tpc + 4; in kprobe_fault_handler()
511 regs->tpc = orig_ret_address; in trampoline_probe_handler()
Dsignal32.c125 regs->tpc = pc; in do_sigreturn32()
213 regs->tpc = pc; in do_rt_sigreturn32()
377 regs->tpc, regs->u_regs[UREG_I7]); in setup_frame32()
386 regs->tpc &= 0xffffffff; in setup_frame32()
389 err = put_user(regs->tpc, &sf->info.si_regs.pc); in setup_frame32()
459 regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame32()
460 regs->tnpc = (regs->tpc + 4); in setup_frame32()
462 regs->tpc &= 0xffffffff; in setup_frame32()
511 regs->tpc, regs->u_regs[UREG_I7]); in setup_rt_frame32()
520 regs->tpc &= 0xffffffff; in setup_rt_frame32()
[all …]
Duprobes.c95 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup()
176 regs->tpc += 4; in arch_uprobe_skip_sstep()
198 autask->saved_tpc = regs->tpc; in arch_uprobe_pre_xol()
225 regs->tpc = autask->saved_tnpc; in arch_uprobe_post_xol()
229 regs->tpc = autask->saved_tnpc+4; in arch_uprobe_post_xol()
Dunaligned_64.c241 regs->tpc = regs->tnpc; in advance()
244 regs->tpc &= 0xffffffff; in advance()
265 entry = search_exception_tables(regs->tpc); in kernel_mna_trap_fault()
287 regs->tpc = entry->fixup; in kernel_mna_trap_fault()
288 regs->tnpc = regs->tpc + 4; in kernel_mna_trap_fault()
302 regs->tpc, (void *) regs->tpc); in log_unaligned()
329 "at <%016lx>.\n", regs->tpc); in kernel_unaligned_trap()
599 unsigned long pc = regs->tpc; in handle_lddfmna()
663 unsigned long pc = regs->tpc; in handle_stdfmna()
Detrap_64.S55 1: rdpr %tpc, %g3
226 rdpr %tpc, %g3
236 rdpr %tpc, %g3
251 rdpr %tpc, %g3
261 rdpr %tpc, %g3
Dprocess_64.c182 regs->tpc, regs->tnpc, regs->y, print_tainted()); in show_regs()
183 printk("TPC: <%pS>\n", (void *) regs->tpc); in show_regs()
214 rp->tpc = regs->tpc; in __global_reg_self()
286 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_cpumask_backtrace()
292 (void *) gp->tpc, in arch_trigger_cpumask_backtrace()
298 gp->tpc, gp->o7, gp->i7, gp->rpc); in arch_trigger_cpumask_backtrace()
562 regs->tpc, in fault_in_user_windows()
Dutrap.S25 rdpr %tpc, %l6
Dspiterrs.S174 rdpr %tpc, %g3
211 rdpr %tpc, %g5 ! IMMU has no SFAR, use TPC
230 rdpr %tpc, %g5 ! IMMU has no SFAR, use TPC
Dstacktrace.c48 pc = regs->tpc; in __save_stack_trace()
Dsys_sparc_64.c511 regs->tpc &= 0xffffffff; in sparc_breakpoint()
515 printk ("TRAP: Entering kernel PC=%lx, nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
517 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->tpc, 0); in sparc_breakpoint()
519 printk ("TRAP: Returning to space: PC=%lx nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
Dmisctrap.S40 rdpr %tpc, %g3
Dktlb.S94 rdpr %tpc, %g5
Dtsb.S287 rdpr %tpc, %g5
306 rdpr %tpc, %g3 ! Prepare winfixup TNPC
/arch/sparc/include/asm/
Dprocessor_64.h101 regs->tpc = ((pc & (~3)) - 4); \
102 regs->tnpc = regs->tpc + 4; \
145 regs->tpc = ((pc & (~3)) - 4); \
146 regs->tnpc = regs->tpc + 4; \
189 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->tpc)
Dperf_event.h23 (regs)->tpc = (ip); \
24 (regs)->tnpc = (regs)->tpc + 4; \
Dptrace.h42 unsigned long tpc; member
65 #define instruction_pointer(regs) ((regs)->tpc)
67 (regs)->tpc = (val); \
Dsigcontext.h78 unsigned long tpc; member
/arch/powerpc/kernel/
Dsetup-common.c403 static void __init cpu_init_thread_core_maps(int tpc) in cpu_init_thread_core_maps() argument
407 threads_per_core = tpc; in cpu_init_thread_core_maps()
408 threads_per_subcore = tpc; in cpu_init_thread_core_maps()
414 threads_shift = ilog2(tpc); in cpu_init_thread_core_maps()
415 BUG_ON(tpc != (1 << threads_shift)); in cpu_init_thread_core_maps()
417 for (i = 0; i < tpc; i++) in cpu_init_thread_core_maps()
421 tpc, tpc > 1 ? "s" : ""); in cpu_init_thread_core_maps()
/arch/arm/boot/dts/
Dimx6q-kp-tpc.dts13 compatible = "kiebackpeter,imx6q-tpc", "fsl,imx6q";
/arch/sparc/math-emu/
Dmath_64.c154 regs->tpc = regs->tnpc; in record_exception()
169 unsigned long pc = regs->tpc; in do_mathemu()
348 regs->tpc = regs->tnpc; in do_mathemu()
520 regs->tpc = regs->tnpc; in do_mathemu()
/arch/sparc/include/uapi/asm/
Dptrace.h25 unsigned long tpc; member

12