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()
334 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access() local
337 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
346 if (*nip == 0x60000000) /* nop */ in check_io_access()
347 nip -= 2; in check_io_access()
348 else if (*nip == 0x4c00012c) /* isync */ in check_io_access()
349 --nip; in check_io_access()
350 if (*nip == 0x7c0004ac || (*nip >> 26) == 3) { in check_io_access()
354 --nip; in check_io_access()
355 rb = (*nip >> 11) & 0x1f; in check_io_access()
357 (*nip & 0x100)? "OUT to": "IN from", in check_io_access()
358 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
360 regs->nip = entry->fixup; in check_io_access()
772 regs->nip, regs->msr, regs->trap); in unknown_exception()
788 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
811 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
864 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1015 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1123 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1127 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1162 report_bug(regs->nip, regs) == BUG_TRAP_TYPE_WARN) { in program_check_exception()
1163 regs->nip += 4; in program_check_exception()
1166 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception()
1181 report_bug(regs->nip, regs) == BUG_TRAP_TYPE_WARN) { in program_check_exception()
1182 regs->nip += 4; in program_check_exception()
1192 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in program_check_exception()
1196 "at %lx (msr 0x%x)\n", regs->nip, reason); in program_check_exception()
1231 regs->nip += 4; in program_check_exception()
1235 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in program_check_exception()
1242 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in program_check_exception()
1244 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in program_check_exception()
1277 regs->nip += 4; /* skip over emulated instruction */ in alignment_exception()
1311 regs->nip, regs->msr); in nonrecoverable_exception()
1319 current, task_pid_nr(current), regs->nip, regs->link, regs->gpr[0], in trace_syscall()
1328 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1341 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in altivec_unavailable_exception()
1346 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1358 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in vsx_unavailable_exception()
1363 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1410 if (get_user(instword, (u32 __user *)(regs->nip))) { in facility_unavailable_exception()
1431 regs->nip += 4; in facility_unavailable_exception()
1447 hv ? "Hypervisor " : "", facility, regs->nip, regs->msr); in facility_unavailable_exception()
1450 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1465 regs->nip, regs->msr); in fp_unavailable_tm()
1504 regs->nip, regs->msr); in altivec_unavailable_tm()
1529 regs->nip, regs->msr); in vsx_unavailable_tm()
1578 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in SoftwareEmulation()
1699 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
1709 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1720 " at %lx\n", regs->nip); in altivec_assist_exception()
1729 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
1736 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in altivec_assist_exception()
1741 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
1756 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
1791 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
1798 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointException()
1802 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
1804 _exception(SIGFPE, regs, code, regs->nip); in SPEFloatingPointException()
1820 regs->nip -= 4; in SPEFloatingPointRoundException()
1823 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
1830 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointRoundException()
1834 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
1836 _exception(SIGFPE, regs, 0, regs->nip); in SPEFloatingPointRoundException()
1851 regs->trap, regs->nip); in unrecoverable_exception()
1881 regs->gpr[1], regs->nip); in kernel_bad_stack()