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()
542 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
545 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
554 if (*nip == PPC_INST_NOP) in check_io_access()
555 nip -= 2; in check_io_access()
556 else if (*nip == PPC_INST_ISYNC) in check_io_access()
557 --nip; in check_io_access()
558 if (*nip == PPC_INST_SYNC || (*nip >> 26) == OP_TRAP) { in check_io_access()
561 --nip; in check_io_access()
562 rb = (*nip >> 11) & 0x1f; in check_io_access()
564 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
565 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
567 regs->nip = extable_fixup(entry); in check_io_access()
895 if (__get_user_inatomic(instr, (unsigned int __user *)regs->nip)) in p9_hmi_special_emu()
908 regs->nip, instr); in p9_hmi_special_emu()
943 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
958 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
964 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu()
984 regs->nip, instr, msr); in p9_hmi_special_emu()
1063 regs->nip += 4; in p9_hmi_special_emu()
1101 regs->nip, regs->msr, regs->trap); in unknown_exception()
1117 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
1144 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
1198 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1349 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1457 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1461 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1499 bugaddr = regs->nip; in program_check_exception()
1508 regs->nip += 4; in program_check_exception()
1511 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception()
1532 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in program_check_exception()
1537 regs->nip, regs->msr, get_paca()->tm_scratch); in program_check_exception()
1572 regs->nip += 4; in program_check_exception()
1576 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in program_check_exception()
1583 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in program_check_exception()
1585 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in program_check_exception()
1630 regs->nip += inst_length(reason); in alignment_exception()
1676 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1689 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in altivec_unavailable_exception()
1694 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1706 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in vsx_unavailable_exception()
1711 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1728 "%lx at %lx\n", regs->trap, regs->nip); in tm_unavailable()
1768 facility, status, regs->nip); in facility_unavailable_exception()
1793 if (get_user(instword, (u32 __user *)(regs->nip))) { in facility_unavailable_exception()
1815 regs->nip += 4; in facility_unavailable_exception()
1843 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in facility_unavailable_exception()
1846 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1857 regs->nip, regs->msr); in fp_unavailable_tm()
1893 regs->nip, regs->msr); in altivec_unavailable_tm()
1911 regs->nip, regs->msr); in vsx_unavailable_tm()
2084 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
2098 " at %lx\n", regs->nip); in altivec_assist_exception()
2107 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
2114 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in altivec_assist_exception()
2119 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
2134 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
2173 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
2180 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointException()
2184 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
2186 _exception(SIGFPE, regs, code, regs->nip); in SPEFloatingPointException()
2206 regs->nip -= 4; in SPEFloatingPointRoundException()
2209 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
2216 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointRoundException()
2220 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
2222 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip); in SPEFloatingPointRoundException()
2237 regs->trap, regs->nip, regs->msr); in unrecoverable_exception()
2268 regs->gpr[1], regs->nip); in kernel_bad_stack()