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()
400 unsigned long nip = regs->nip; in hv_nmi_check_nonrecoverable() local
416 nip &= ~0xc000000000000000ULL; in hv_nmi_check_nonrecoverable()
417 if ((nip >= 0x500 && nip < 0x600) || (nip >= 0x4500 && nip < 0x4600)) in hv_nmi_check_nonrecoverable()
419 if ((nip >= 0x980 && nip < 0xa00) || (nip >= 0x4980 && nip < 0x4a00)) in hv_nmi_check_nonrecoverable()
421 if ((nip >= 0xe00 && nip < 0xec0) || (nip >= 0x4e00 && nip < 0x4ec0)) in hv_nmi_check_nonrecoverable()
423 if ((nip >= 0xf80 && nip < 0xfa0) || (nip >= 0x4f80 && nip < 0x4fa0)) in hv_nmi_check_nonrecoverable()
427 if (nip >= (unsigned long)(start_real_trampolines - kbase) && in hv_nmi_check_nonrecoverable()
428 nip < (unsigned long)(end_real_trampolines - kbase)) in hv_nmi_check_nonrecoverable()
430 if (nip >= (unsigned long)(start_virt_trampolines - kbase) && in hv_nmi_check_nonrecoverable()
431 nip < (unsigned long)(end_virt_trampolines - kbase)) in hv_nmi_check_nonrecoverable()
534 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
537 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
546 if (*nip == PPC_RAW_NOP()) in check_io_access()
547 nip -= 2; in check_io_access()
548 else if (*nip == PPC_RAW_ISYNC()) in check_io_access()
549 --nip; in check_io_access()
550 if (*nip == PPC_RAW_SYNC() || get_op(*nip) == OP_TRAP) { in check_io_access()
553 --nip; in check_io_access()
554 rb = (*nip >> 11) & 0x1f; in check_io_access()
556 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
557 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
877 if (__get_user(instr, (unsigned int __user *)regs->nip)) in p9_hmi_special_emu()
890 regs->nip, instr); in p9_hmi_special_emu()
925 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
940 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
946 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu()
966 regs->nip, instr, msr); in p9_hmi_special_emu()
1079 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER()
1087 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER_ASYNC()
1095 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER_NMI()
1109 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1131 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in __single_step_exception()
1188 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1338 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1445 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1449 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1486 bugaddr = regs->nip; in do_program_check()
1499 regs_set_return_ip(regs, extable_fixup(entry) + regs->nip - bugaddr); in do_program_check()
1503 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in do_program_check()
1524 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in do_program_check()
1529 regs->nip, regs->msr, get_paca()->tm_scratch); in do_program_check()
1566 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in do_program_check()
1573 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in do_program_check()
1575 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in do_program_check()
1645 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1654 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1659 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1668 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1673 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1690 "%lx at %lx\n", regs->trap, regs->nip); in tm_unavailable()
1730 facility, status, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1753 if (get_user(instword, (u32 __user *)(regs->nip))) { in DEFINE_INTERRUPT_HANDLER()
1803 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1806 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1817 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1853 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1871 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
2046 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2059 " at %lx\n", regs->nip); in DEFINE_INTERRUPT_HANDLER()
2075 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2080 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2096 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2140 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2144 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2146 _exception(SIGFPE, regs, code, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2174 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2178 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2180 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2195 regs->trap, regs->nip, regs->msr); in unrecoverable_exception()
2229 regs->gpr[1], regs->nip); in DEFINE_INTERRUPT_HANDLER()