Lines Matching refs:nip
300 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip); in user_single_step_report()
320 addr, regs->nip, regs->link, code); in show_signal_msg()
322 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()
538 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
541 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
550 if (*nip == PPC_INST_NOP) in check_io_access()
551 nip -= 2; in check_io_access()
552 else if (*nip == PPC_INST_ISYNC) in check_io_access()
553 --nip; in check_io_access()
554 if (*nip == PPC_INST_SYNC || (*nip >> 26) == OP_TRAP) { in check_io_access()
557 --nip; in check_io_access()
558 rb = (*nip >> 11) & 0x1f; in check_io_access()
560 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
561 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
563 regs->nip = extable_fixup(entry); in check_io_access()
877 if (__get_user_inatomic(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()
1045 regs->nip += 4; in p9_hmi_special_emu()
1083 regs->nip, regs->msr, regs->trap); in unknown_exception()
1099 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
1126 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
1180 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1331 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1439 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1443 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1481 bugaddr = regs->nip; in program_check_exception()
1490 regs->nip += 4; in program_check_exception()
1493 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception()
1514 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in program_check_exception()
1519 regs->nip, regs->msr, get_paca()->tm_scratch); in program_check_exception()
1554 regs->nip += 4; in program_check_exception()
1558 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in program_check_exception()
1565 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in program_check_exception()
1567 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in program_check_exception()
1602 regs->nip += 4; /* skip over emulated instruction */ in alignment_exception()
1638 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1651 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in altivec_unavailable_exception()
1656 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1668 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in vsx_unavailable_exception()
1673 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1690 "%lx at %lx\n", regs->trap, regs->nip); in tm_unavailable()
1729 facility, status, regs->nip); in facility_unavailable_exception()
1754 if (get_user(instword, (u32 __user *)(regs->nip))) { in facility_unavailable_exception()
1776 regs->nip += 4; in facility_unavailable_exception()
1804 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in facility_unavailable_exception()
1807 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1818 regs->nip, regs->msr); in fp_unavailable_tm()
1854 regs->nip, regs->msr); in altivec_unavailable_tm()
1872 regs->nip, regs->msr); in vsx_unavailable_tm()
2016 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
2027 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
2038 " at %lx\n", regs->nip); in altivec_assist_exception()
2047 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
2054 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in altivec_assist_exception()
2059 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
2074 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
2113 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
2120 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointException()
2124 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
2126 _exception(SIGFPE, regs, code, regs->nip); in SPEFloatingPointException()
2146 regs->nip -= 4; in SPEFloatingPointRoundException()
2149 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
2156 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointRoundException()
2160 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
2162 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip); in SPEFloatingPointRoundException()
2177 regs->trap, regs->nip, regs->msr); in unrecoverable_exception()
2208 regs->gpr[1], regs->nip); in kernel_bad_stack()