Lines Matching refs:nip

306 	force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip);  in user_single_step_report()
326 addr, regs->nip, regs->link, code); in show_signal_msg()
328 print_vma_addr(KERN_CONT " in ", regs->nip); in show_signal_msg()
394 unsigned long nip = regs->nip; in hv_nmi_check_nonrecoverable() local
410 nip &= ~0xc000000000000000ULL; in hv_nmi_check_nonrecoverable()
411 if ((nip >= 0x500 && nip < 0x600) || (nip >= 0x4500 && nip < 0x4600)) in hv_nmi_check_nonrecoverable()
413 if ((nip >= 0x980 && nip < 0xa00) || (nip >= 0x4980 && nip < 0x4a00)) in hv_nmi_check_nonrecoverable()
415 if ((nip >= 0xe00 && nip < 0xec0) || (nip >= 0x4e00 && nip < 0x4ec0)) in hv_nmi_check_nonrecoverable()
417 if ((nip >= 0xf80 && nip < 0xfa0) || (nip >= 0x4f80 && nip < 0x4fa0)) in hv_nmi_check_nonrecoverable()
421 if (nip >= (unsigned long)(start_real_trampolines - kbase) && in hv_nmi_check_nonrecoverable()
422 nip < (unsigned long)(end_real_trampolines - kbase)) in hv_nmi_check_nonrecoverable()
424 if (nip >= (unsigned long)(start_virt_trampolines - kbase) && in hv_nmi_check_nonrecoverable()
425 nip < (unsigned long)(end_virt_trampolines - kbase)) in hv_nmi_check_nonrecoverable()
528 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
531 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
540 if (*nip == PPC_INST_NOP) in check_io_access()
541 nip -= 2; in check_io_access()
542 else if (*nip == PPC_INST_ISYNC) in check_io_access()
543 --nip; in check_io_access()
544 if (*nip == PPC_INST_SYNC || (*nip >> 26) == OP_TRAP) { in check_io_access()
547 --nip; in check_io_access()
548 rb = (*nip >> 11) & 0x1f; in check_io_access()
550 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
551 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
553 regs->nip = extable_fixup(entry); in check_io_access()
866 if (__get_user(instr, (unsigned int __user *)regs->nip)) in p9_hmi_special_emu()
879 regs->nip, instr); in p9_hmi_special_emu()
914 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
929 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
935 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu()
955 regs->nip, instr, msr); in p9_hmi_special_emu()
1034 regs->nip += 4; in p9_hmi_special_emu()
1068 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER()
1076 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER_ASYNC()
1084 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER_NMI()
1098 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1120 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1172 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1322 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1429 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1433 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1470 bugaddr = regs->nip; in do_program_check()
1479 regs->nip += 4; in do_program_check()
1482 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in do_program_check()
1503 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in do_program_check()
1508 regs->nip, regs->msr, get_paca()->tm_scratch); in do_program_check()
1541 regs->nip += 4; in do_program_check()
1545 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in do_program_check()
1552 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in do_program_check()
1554 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in do_program_check()
1596 regs->nip += inst_length(reason); in DEFINE_INTERRUPT_HANDLER()
1624 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1633 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1638 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1647 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1652 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1669 "%lx at %lx\n", regs->trap, regs->nip); in tm_unavailable()
1709 facility, status, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1732 if (get_user(instword, (u32 __user *)(regs->nip))) { in DEFINE_INTERRUPT_HANDLER()
1754 regs->nip += 4; in DEFINE_INTERRUPT_HANDLER()
1782 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1785 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1796 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1832 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1850 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
2025 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2038 " at %lx\n", regs->nip); in DEFINE_INTERRUPT_HANDLER()
2047 regs->nip += 4; /* skip emulated instruction */ in DEFINE_INTERRUPT_HANDLER()
2054 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2059 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2075 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2112 regs->nip += 4; /* skip emulated instruction */ in DEFINE_INTERRUPT_HANDLER()
2119 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2123 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2125 _exception(SIGFPE, regs, code, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2143 regs->nip -= 4; in DEFINE_INTERRUPT_HANDLER()
2146 regs->nip += 4; /* skip emulated instruction */ in DEFINE_INTERRUPT_HANDLER()
2153 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2157 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2159 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2174 regs->trap, regs->nip, regs->msr); in unrecoverable_exception()
2208 regs->gpr[1], regs->nip); in DEFINE_INTERRUPT_HANDLER()