Lines Matching refs:tpc
63 unsigned long tpc; member
83 p->trapstack[i].tstate, p->trapstack[i].tpc, in dump_tl1_traplog()
85 printk("TRAPLOG: TPC<%pS>\n", (void *) p->trapstack[i].tpc); in dump_tl1_traplog()
108 regs->tpc &= 0xffffffff; in bad_trap()
112 (void __user *)regs->tpc, lvl); in bad_trap()
202 regs->tpc &= 0xffffffff; in spitfire_insn_access_exception()
205 force_sig_fault(SIGSEGV, SEGV_MAPERR, (void __user *)regs->tpc); 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()
303 entry = search_exception_tables(regs->tpc); in spitfire_data_access_exception()
307 printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc); in spitfire_data_access_exception()
309 regs->tpc, entry->fixup); in spitfire_data_access_exception()
311 regs->tpc = entry->fixup; in spitfire_data_access_exception()
312 regs->tnpc = regs->tpc + 4; in spitfire_data_access_exception()
352 entry = search_exception_tables(regs->tpc); in sun4v_data_access_exception()
356 printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc); in sun4v_data_access_exception()
358 regs->tpc, entry->fixup); in sun4v_data_access_exception()
360 regs->tpc = entry->fixup; in sun4v_data_access_exception()
361 regs->tnpc = regs->tpc + 4; in sun4v_data_access_exception()
371 regs->tpc &= 0xffffffff; in sun4v_data_access_exception()
568 regs->tpc &= 0xffffffff; in spitfire_ue_log()
592 regs->tnpc = regs->tpc + 4; in spitfire_access_error()
1181 regs->tpc, regs->tnpc, regs->u_regs[UREG_I7], regs->tstate); in cheetah_log_errors()
1184 printk("TPC<%pS>\n", (void *) regs->tpc); in cheetah_log_errors()
1325 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_fecc_handler()
1483 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_cee_handler()
1607 regs->tpc += 4; in cheetah_deferred_handler()
1608 regs->tnpc = regs->tpc + 4; in cheetah_deferred_handler()
1618 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_deferred_handler()
1727 entry = search_exception_tables(regs->tpc); in cheetah_deferred_handler()
1747 regs->tpc = entry->fixup; in cheetah_deferred_handler()
1748 regs->tnpc = regs->tpc + 4; in cheetah_deferred_handler()
1790 regs->tpc); in cheetah_plus_parity_error()
1791 printk(KERN_EMERG "TPC<%pS>\n", (void *) regs->tpc); in cheetah_plus_parity_error()
1798 regs->tpc); in cheetah_plus_parity_error()
1799 printk(KERN_WARNING "TPC<%pS>\n", (void *) regs->tpc); in cheetah_plus_parity_error()
1957 insn = *(unsigned int *) regs->tpc; in sun4v_report_real_raddr()
1974 pfx, regs->tpc, (void *) regs->tpc); in sun4v_log_error()
2054 entry = search_exception_tables(regs->tpc); in do_mcd_err()
2059 regs->tpc); in do_mcd_err()
2063 regs->tpc = entry->fixup; in do_mcd_err()
2064 regs->tnpc = regs->tpc + 4; in do_mcd_err()
2143 if (!copy_from_user(&insn, (void __user *)regs->tpc, 4)) { in sun4v_get_vaddr()
2228 regs->tpc += 4; in sun4v_nonresum_error()
2229 regs->tnpc = regs->tpc + 4; in sun4v_nonresum_error()
2268 regs->tpc, tl); in sun4v_itlb_error_report()
2269 printk(KERN_EMERG "SUN4V-ITLB: TPC<%pS>\n", (void *) regs->tpc); in sun4v_itlb_error_report()
2291 regs->tpc, tl); in sun4v_dtlb_error_report()
2292 printk(KERN_EMERG "SUN4V-DTLB: TPC<%pS>\n", (void *) regs->tpc); in sun4v_dtlb_error_report()
2319 regs->tpc = regs->tnpc; in do_fpe_common()
2326 regs->tpc &= 0xffffffff; in do_fpe_common()
2342 force_sig_fault(SIGFPE, code, (void __user *)regs->tpc); in do_fpe_common()
2393 regs->tpc &= 0xffffffff; in do_tof()
2396 force_sig_fault(SIGEMT, EMT_TAGOVF, (void __user *)regs->tpc); in do_tof()
2412 regs->tpc &= 0xffffffff; in do_div0()
2415 force_sig_fault(SIGFPE, FPE_INTDIV, (void __user *)regs->tpc); in do_div0()
2488 pc = regs->tpc; in show_stack()
2553 instruction_dump ((unsigned int *) regs->tpc); in die_if_kernel()
2556 regs->tpc &= 0xffffffff; in die_if_kernel()
2559 user_instruction_dump ((unsigned int __user *) regs->tpc); in die_if_kernel()
2573 unsigned long pc = regs->tpc; in do_illegal_instruction()
2623 kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc)); in mem_address_unaligned()
2641 kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc)); in sun4v_do_mna()
2672 entry = search_exception_tables(regs->tpc); in sun4v_mem_corrupt_detect_precise()
2677 regs->tpc); in sun4v_mem_corrupt_detect_precise()
2679 regs->tpc, entry->fixup); in sun4v_mem_corrupt_detect_precise()
2681 regs->tpc = entry->fixup; in sun4v_mem_corrupt_detect_precise()
2682 regs->tnpc = regs->tpc + 4; in sun4v_mem_corrupt_detect_precise()
2691 regs->tpc &= 0xffffffff; in sun4v_mem_corrupt_detect_precise()
2706 regs->tpc &= 0xffffffff; in do_privop()
2709 force_sig_fault(SIGILL, ILL_PRVOPC, (void __user *)regs->tpc); in do_privop()
2811 regs->tpc = regs->tnpc; in do_getpsr()
2814 regs->tpc &= 0xffffffff; in do_getpsr()