Lines Matching refs:tpc
62 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()
204 force_sig_fault(SIGSEGV, SEGV_MAPERR, (void __user *)regs->tpc); in spitfire_insn_access_exception()
236 regs->tpc &= 0xffffffff; in sun4v_insn_access_exception()
257 if (get_user(insn, (u32 __user *)regs->tpc) == -EFAULT) in is_no_fault_exception()
302 entry = search_exception_tables(regs->tpc); in spitfire_data_access_exception()
306 printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc); in spitfire_data_access_exception()
308 regs->tpc, entry->fixup); in spitfire_data_access_exception()
310 regs->tpc = entry->fixup; in spitfire_data_access_exception()
311 regs->tnpc = regs->tpc + 4; in spitfire_data_access_exception()
351 entry = search_exception_tables(regs->tpc); in sun4v_data_access_exception()
355 printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc); in sun4v_data_access_exception()
357 regs->tpc, entry->fixup); in sun4v_data_access_exception()
359 regs->tpc = entry->fixup; in sun4v_data_access_exception()
360 regs->tnpc = regs->tpc + 4; in sun4v_data_access_exception()
370 regs->tpc &= 0xffffffff; in sun4v_data_access_exception()
567 regs->tpc &= 0xffffffff; in spitfire_ue_log()
591 regs->tnpc = regs->tpc + 4; in spitfire_access_error()
1180 regs->tpc, regs->tnpc, regs->u_regs[UREG_I7], regs->tstate); in cheetah_log_errors()
1183 printk("TPC<%pS>\n", (void *) regs->tpc); in cheetah_log_errors()
1324 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_fecc_handler()
1482 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_cee_handler()
1606 regs->tpc += 4; in cheetah_deferred_handler()
1607 regs->tnpc = regs->tpc + 4; in cheetah_deferred_handler()
1617 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_deferred_handler()
1726 entry = search_exception_tables(regs->tpc); in cheetah_deferred_handler()
1746 regs->tpc = entry->fixup; in cheetah_deferred_handler()
1747 regs->tnpc = regs->tpc + 4; in cheetah_deferred_handler()
1789 regs->tpc); in cheetah_plus_parity_error()
1790 printk(KERN_EMERG "TPC<%pS>\n", (void *) regs->tpc); in cheetah_plus_parity_error()
1797 regs->tpc); in cheetah_plus_parity_error()
1798 printk(KERN_WARNING "TPC<%pS>\n", (void *) regs->tpc); in cheetah_plus_parity_error()
1956 insn = *(unsigned int *) regs->tpc; in sun4v_report_real_raddr()
1973 pfx, regs->tpc, (void *) regs->tpc); in sun4v_log_error()
2053 entry = search_exception_tables(regs->tpc); in do_mcd_err()
2058 regs->tpc); in do_mcd_err()
2062 regs->tpc = entry->fixup; in do_mcd_err()
2063 regs->tnpc = regs->tpc + 4; in do_mcd_err()
2142 if (!copy_from_user(&insn, (void __user *)regs->tpc, 4)) { in sun4v_get_vaddr()
2227 regs->tpc += 4; in sun4v_nonresum_error()
2228 regs->tnpc = regs->tpc + 4; in sun4v_nonresum_error()
2267 regs->tpc, tl); in sun4v_itlb_error_report()
2268 printk(KERN_EMERG "SUN4V-ITLB: TPC<%pS>\n", (void *) regs->tpc); in sun4v_itlb_error_report()
2290 regs->tpc, tl); in sun4v_dtlb_error_report()
2291 printk(KERN_EMERG "SUN4V-DTLB: TPC<%pS>\n", (void *) regs->tpc); in sun4v_dtlb_error_report()
2318 regs->tpc = regs->tnpc; in do_fpe_common()
2325 regs->tpc &= 0xffffffff; in do_fpe_common()
2341 force_sig_fault(SIGFPE, code, (void __user *)regs->tpc); in do_fpe_common()
2392 regs->tpc &= 0xffffffff; in do_tof()
2395 force_sig_fault(SIGEMT, EMT_TAGOVF, (void __user *)regs->tpc); in do_tof()
2411 regs->tpc &= 0xffffffff; in do_div0()
2414 force_sig_fault(SIGFPE, FPE_INTDIV, (void __user *)regs->tpc); in do_div0()
2487 pc = regs->tpc; in show_stack()
2552 instruction_dump ((unsigned int *) regs->tpc); in die_if_kernel()
2555 regs->tpc &= 0xffffffff; in die_if_kernel()
2558 user_instruction_dump ((unsigned int __user *) regs->tpc); in die_if_kernel()
2572 unsigned long pc = regs->tpc; in do_illegal_instruction()
2622 kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc)); in mem_address_unaligned()
2640 kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc)); in sun4v_do_mna()
2671 entry = search_exception_tables(regs->tpc); in sun4v_mem_corrupt_detect_precise()
2676 regs->tpc); in sun4v_mem_corrupt_detect_precise()
2678 regs->tpc, entry->fixup); in sun4v_mem_corrupt_detect_precise()
2680 regs->tpc = entry->fixup; in sun4v_mem_corrupt_detect_precise()
2681 regs->tnpc = regs->tpc + 4; in sun4v_mem_corrupt_detect_precise()
2690 regs->tpc &= 0xffffffff; in sun4v_mem_corrupt_detect_precise()
2705 regs->tpc &= 0xffffffff; in do_privop()
2708 force_sig_fault(SIGILL, ILL_PRVOPC, (void __user *)regs->tpc); in do_privop()
2810 regs->tpc = regs->tnpc; in do_getpsr()
2813 regs->tpc &= 0xffffffff; in do_getpsr()