Lines Matching refs:nip
238 info->si_addr = (void __user *)regs->nip; in user_single_step_siginfo()
257 addr, regs->nip, regs->link, code); in _exception()
332 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
335 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
344 if (*nip == 0x60000000) /* nop */ in check_io_access()
345 nip -= 2; in check_io_access()
346 else if (*nip == 0x4c00012c) /* isync */ in check_io_access()
347 --nip; in check_io_access()
348 if (*nip == 0x7c0004ac || (*nip >> 26) == 3) { in check_io_access()
352 --nip; in check_io_access()
353 rb = (*nip >> 11) & 0x1f; in check_io_access()
355 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
356 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
358 regs->nip = entry->fixup; in check_io_access()
770 regs->nip, regs->msr, regs->trap); in unknown_exception()
786 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
809 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
862 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1013 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1121 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1125 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1160 report_bug(regs->nip, regs) == BUG_TRAP_TYPE_WARN) { in program_check_exception()
1161 regs->nip += 4; in program_check_exception()
1164 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception()
1179 report_bug(regs->nip, regs) == BUG_TRAP_TYPE_WARN) { in program_check_exception()
1180 regs->nip += 4; in program_check_exception()
1190 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in program_check_exception()
1194 "at %lx (msr 0x%x)\n", regs->nip, reason); in program_check_exception()
1229 regs->nip += 4; in program_check_exception()
1233 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in program_check_exception()
1240 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in program_check_exception()
1242 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in program_check_exception()
1275 regs->nip += 4; /* skip over emulated instruction */ in alignment_exception()
1309 regs->nip, regs->msr); in nonrecoverable_exception()
1317 current, task_pid_nr(current), regs->nip, regs->link, regs->gpr[0], in trace_syscall()
1326 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1339 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in altivec_unavailable_exception()
1344 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1356 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in vsx_unavailable_exception()
1361 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1410 hv ? "Hypervisor " : "", facility, regs->nip, regs->msr); in facility_unavailable_exception()
1413 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1428 regs->nip, regs->msr); in fp_unavailable_tm()
1467 regs->nip, regs->msr); in altivec_unavailable_tm()
1492 regs->nip, regs->msr); in vsx_unavailable_tm()
1541 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in SoftwareEmulation()
1662 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
1672 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1683 " at %lx\n", regs->nip); in altivec_assist_exception()
1692 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
1699 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in altivec_assist_exception()
1704 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
1715 " at %lx\n", regs->nip); in vsx_assist_exception()
1720 printk(KERN_INFO "VSX assist not supported at %lx\n", regs->nip); in vsx_assist_exception()
1721 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in vsx_assist_exception()
1734 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
1769 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
1776 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointException()
1780 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
1782 _exception(SIGFPE, regs, code, regs->nip); in SPEFloatingPointException()
1798 regs->nip -= 4; in SPEFloatingPointRoundException()
1801 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
1808 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointRoundException()
1812 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
1814 _exception(SIGFPE, regs, 0, regs->nip); in SPEFloatingPointRoundException()
1829 regs->trap, regs->nip); in unrecoverable_exception()
1859 regs->gpr[1], regs->nip); in kernel_bad_stack()