Lines Matching defs:nip

307 	force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip);
325 pr_info("%s[%d]: %s (%d) at %lx nip %lx lr %lx code %x",
327 addr, regs->nip, regs->link, code);
329 print_vma_addr(KERN_CONT " in ", regs->nip);
401 unsigned long nip = regs->nip;
414 * at the same time by dropping the high bit of the nip (virt mode
417 nip &= ~0xc000000000000000ULL;
418 if ((nip >= 0x500 && nip < 0x600) || (nip >= 0x4500 && nip < 0x4600))
420 if ((nip >= 0x980 && nip < 0xa00) || (nip >= 0x4980 && nip < 0x4a00))
422 if ((nip >= 0xe00 && nip < 0xec0) || (nip >= 0x4e00 && nip < 0x4ec0))
424 if ((nip >= 0xf80 && nip < 0xfa0) || (nip >= 0x4f80 && nip < 0x4fa0))
428 if (nip >= (unsigned long)(start_real_trampolines - kbase) &&
429 nip < (unsigned long)(end_real_trampolines - kbase))
431 if (nip >= (unsigned long)(start_virt_trampolines - kbase) &&
432 nip < (unsigned long)(end_virt_trampolines - kbase))
537 unsigned int *nip = (unsigned int *)regs->nip;
540 && (entry = search_exception_tables(regs->nip)) != NULL) {
549 if (*nip == PPC_RAW_NOP())
550 nip -= 2;
551 else if (*nip == PPC_RAW_ISYNC())
552 --nip;
553 if (*nip == PPC_RAW_SYNC() || get_op(*nip) == OP_TRAP) {
556 --nip;
557 rb = (*nip >> 11) & 0x1f;
559 (*nip & 0x100)? "OUT to": "IN from",
560 regs->gpr[rb] - _IO_BASE, nip);
857 udbg_printf("SRR0=0x%016lx SRR1=0x%016lx\n", regs->nip, regs->msr);
893 if (__get_user(instr, (unsigned int __user *)regs->nip))
903 pr_devel("HMI vec emu: not vector CI %i:%s[%d] nip=%016lx"
906 regs->nip, instr);
938 pr_devel("HMI vec emu: bad access %i:%s[%d] nip=%016lx"
941 regs->nip, instr, (unsigned long)addr);
953 pr_devel("HMI vec emu: page fault %i:%s[%d] nip=%016lx"
956 regs->nip, instr, (unsigned long)addr);
960 pr_devel("HMI vec emu: emulated vector CI %i:%s[%d] nip=%016lx"
962 smp_processor_id(), current->comm, current->pid, regs->nip,
979 pr_devel("HMI vec emu: MSR fac clear %i:%s[%d] nip=%016lx"
982 regs->nip, instr, msr);
1095 regs->nip, regs->msr, regs->trap);
1103 regs->nip, regs->msr, regs->trap);
1111 regs->nip, regs->msr, regs->trap);
1125 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip);
1147 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip);
1206 _exception(SIGFPE, regs, code, regs->nip);
1356 if (get_user(instword, (u32 __user *)(regs->nip)))
1465 _exception(SIGFPE, regs, code, regs->nip);
1469 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip);
1506 bugaddr = regs->nip;
1521 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip);
1543 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip);
1548 regs->nip, regs->msr, get_paca()->tm_scratch);
1578 if (get_user_instr(insn, (void __user *)regs->nip)) {
1579 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip);
1585 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip);
1590 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip);
1613 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip);
1620 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip);
1622 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
1692 "%lx at %lx\n", regs->trap, regs->nip);
1701 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
1706 "%lx at %lx\n", regs->trap, regs->nip);
1715 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
1720 "%lx at %lx\n", regs->trap, regs->nip);
1737 "%lx at %lx\n", regs->trap, regs->nip);
1777 facility, status, regs->nip);
1800 if (get_user(instword, (u32 __user *)(regs->nip))) {
1850 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr);
1853 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
1864 regs->nip, regs->msr);
1900 regs->nip, regs->msr);
1918 regs->nip, regs->msr);
2093 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip);
2106 " at %lx\n", regs->nip);
2122 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip);
2127 "in %s at %lx\n", current->comm, regs->nip);
2143 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip);
2186 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip);
2190 "in %s at %lx\n", current->comm, regs->nip);
2192 _exception(SIGFPE, regs, code, regs->nip);
2219 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip);
2223 "in %s at %lx\n", current->comm, regs->nip);
2225 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip);
2240 regs->trap, regs->nip, regs->msr);
2263 regs->gpr[1], regs->nip);