Lines Matching refs:tpc

61 		unsigned long tpc;  member
81 p->trapstack[i].tstate, p->trapstack[i].tpc, in dump_tl1_traplog()
83 printk("TRAPLOG: TPC<%pS>\n", (void *) p->trapstack[i].tpc); in dump_tl1_traplog()
106 regs->tpc &= 0xffffffff; in bad_trap()
110 (void __user *)regs->tpc, lvl, current); in bad_trap()
200 regs->tpc &= 0xffffffff; in spitfire_insn_access_exception()
204 (void __user *)regs->tpc, 0, current); 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()
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()
571 regs->tpc &= 0xffffffff; in spitfire_ue_log()
595 regs->tnpc = regs->tpc + 4; in spitfire_access_error()
1184 regs->tpc, regs->tnpc, regs->u_regs[UREG_I7], regs->tstate); in cheetah_log_errors()
1187 printk("TPC<%pS>\n", (void *) regs->tpc); in cheetah_log_errors()
1328 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_fecc_handler()
1486 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_cee_handler()
1610 regs->tpc += 4; in cheetah_deferred_handler()
1611 regs->tnpc = regs->tpc + 4; in cheetah_deferred_handler()
1621 smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate); in cheetah_deferred_handler()
1730 entry = search_exception_tables(regs->tpc); in cheetah_deferred_handler()
1750 regs->tpc = entry->fixup; in cheetah_deferred_handler()
1751 regs->tnpc = regs->tpc + 4; in cheetah_deferred_handler()
1793 regs->tpc); in cheetah_plus_parity_error()
1794 printk(KERN_EMERG "TPC<%pS>\n", (void *) regs->tpc); in cheetah_plus_parity_error()
1801 regs->tpc); in cheetah_plus_parity_error()
1802 printk(KERN_WARNING "TPC<%pS>\n", (void *) regs->tpc); in cheetah_plus_parity_error()
1960 insn = *(unsigned int *) regs->tpc; in sun4v_report_real_raddr()
1977 pfx, regs->tpc, (void *) regs->tpc); in sun4v_log_error()
2057 entry = search_exception_tables(regs->tpc); in do_mcd_err()
2062 regs->tpc); in do_mcd_err()
2066 regs->tpc = entry->fixup; in do_mcd_err()
2067 regs->tnpc = regs->tpc + 4; in do_mcd_err()
2147 if (!copy_from_user(&insn, (void __user *)regs->tpc, 4)) { in sun4v_get_vaddr()
2232 regs->tpc += 4; in sun4v_nonresum_error()
2233 regs->tnpc = regs->tpc + 4; in sun4v_nonresum_error()
2272 regs->tpc, tl); in sun4v_itlb_error_report()
2273 printk(KERN_EMERG "SUN4V-ITLB: TPC<%pS>\n", (void *) regs->tpc); in sun4v_itlb_error_report()
2295 regs->tpc, tl); in sun4v_dtlb_error_report()
2296 printk(KERN_EMERG "SUN4V-DTLB: TPC<%pS>\n", (void *) regs->tpc); in sun4v_dtlb_error_report()
2323 regs->tpc = regs->tnpc; in do_fpe_common()
2330 regs->tpc &= 0xffffffff; in do_fpe_common()
2347 (void __user *)regs->tpc, 0, current); in do_fpe_common()
2398 regs->tpc &= 0xffffffff; in do_tof()
2402 (void __user *)regs->tpc, 0, current); in do_tof()
2418 regs->tpc &= 0xffffffff; in do_div0()
2422 (void __user *)regs->tpc, 0, current); in do_div0()
2495 pc = regs->tpc; in show_stack()
2559 instruction_dump ((unsigned int *) regs->tpc); in die_if_kernel()
2562 regs->tpc &= 0xffffffff; in die_if_kernel()
2565 user_instruction_dump ((unsigned int __user *) regs->tpc); in die_if_kernel()
2581 unsigned long pc = regs->tpc; in do_illegal_instruction()
2631 kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc)); in mem_address_unaligned()
2649 kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc)); in sun4v_do_mna()
2680 entry = search_exception_tables(regs->tpc); in sun4v_mem_corrupt_detect_precise()
2685 regs->tpc); in sun4v_mem_corrupt_detect_precise()
2687 regs->tpc, entry->fixup); in sun4v_mem_corrupt_detect_precise()
2689 regs->tpc = entry->fixup; in sun4v_mem_corrupt_detect_precise()
2690 regs->tnpc = regs->tpc + 4; in sun4v_mem_corrupt_detect_precise()
2699 regs->tpc &= 0xffffffff; in sun4v_mem_corrupt_detect_precise()
2714 regs->tpc &= 0xffffffff; in do_privop()
2718 (void __user *)regs->tpc, 0, current); in do_privop()
2820 regs->tpc = regs->tnpc; in do_getpsr()
2823 regs->tpc &= 0xffffffff; in do_getpsr()