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()
536 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
539 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
548 if (*nip == PPC_RAW_NOP()) in check_io_access()
549 nip -= 2; in check_io_access()
550 else if (*nip == PPC_RAW_ISYNC()) in check_io_access()
551 --nip; in check_io_access()
552 if (*nip == PPC_RAW_SYNC() || get_op(*nip) == OP_TRAP) { in check_io_access()
555 --nip; in check_io_access()
556 rb = (*nip >> 11) & 0x1f; in check_io_access()
558 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
559 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
856 udbg_printf("SRR0=0x%016lx SRR1=0x%016lx\n", regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER_RAW()
892 if (__get_user(instr, (unsigned int __user *)regs->nip)) in p9_hmi_special_emu()
905 regs->nip, instr); in p9_hmi_special_emu()
940 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
955 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
961 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu()
981 regs->nip, instr, msr); in p9_hmi_special_emu()
1094 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER()
1102 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER_ASYNC()
1110 regs->nip, regs->msr, regs->trap); in DEFINE_INTERRUPT_HANDLER_NMI()
1124 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1146 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in __single_step_exception()
1205 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1355 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1464 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1468 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1505 bugaddr = regs->nip; in do_program_check()
1520 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in do_program_check()
1542 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in do_program_check()
1547 regs->nip, regs->msr, get_paca()->tm_scratch); in do_program_check()
1577 if (get_user_instr(insn, (void __user *)regs->nip)) { in do_program_check()
1578 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in do_program_check()
1584 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in do_program_check()
1589 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in do_program_check()
1612 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in do_program_check()
1619 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in do_program_check()
1621 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in do_program_check()
1691 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1700 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1705 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1714 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1719 "%lx at %lx\n", regs->trap, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1736 "%lx at %lx\n", regs->trap, regs->nip); in tm_unavailable()
1776 facility, status, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1799 if (get_user(instword, (u32 __user *)(regs->nip))) { in DEFINE_INTERRUPT_HANDLER()
1849 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1852 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
1863 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1899 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
1917 regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
2092 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2105 " at %lx\n", regs->nip); in DEFINE_INTERRUPT_HANDLER()
2121 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2126 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2142 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2185 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2189 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2191 _exception(SIGFPE, regs, code, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2218 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2222 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2224 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2239 regs->trap, regs->nip, regs->msr); in unrecoverable_exception()
2262 regs->gpr[1], regs->nip); in DEFINE_INTERRUPT_HANDLER()