Lines Matching refs:regs

76 int (*__debugger)(struct pt_regs *regs) __read_mostly;
77 int (*__debugger_ipi)(struct pt_regs *regs) __read_mostly;
78 int (*__debugger_bpt)(struct pt_regs *regs) __read_mostly;
79 int (*__debugger_sstep)(struct pt_regs *regs) __read_mostly;
80 int (*__debugger_iabr_match)(struct pt_regs *regs) __read_mostly;
81 int (*__debugger_break_match)(struct pt_regs *regs) __read_mostly;
82 int (*__debugger_fault_handler)(struct pt_regs *regs) __read_mostly;
184 static unsigned long oops_begin(struct pt_regs *regs) in oops_begin() argument
210 static void oops_end(unsigned long flags, struct pt_regs *regs, in oops_end() argument
228 if (TRAP(regs) == 0x100) in oops_end()
231 crash_fadump(regs, "die oops"); in oops_end()
234 crash_kexec(regs); in oops_end()
258 static int __die(const char *str, struct pt_regs *regs, long err) in __die() argument
281 if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) == NOTIFY_STOP) in __die()
285 show_regs(regs); in __die()
291 void die(const char *str, struct pt_regs *regs, long err) in die() argument
298 if (TRAP(regs) != 0x100) { in die()
299 if (debugger(regs)) in die()
303 flags = oops_begin(regs); in die()
304 if (__die(str, regs, err)) in die()
306 oops_end(flags, regs, err); in die()
311 struct pt_regs *regs, siginfo_t *info) in user_single_step_siginfo() argument
315 info->si_addr = (void __user *)regs->nip; in user_single_step_siginfo()
318 static void show_signal_msg(int signr, struct pt_regs *regs, int code, in show_signal_msg() argument
335 addr, regs->nip, regs->link, code); in show_signal_msg()
337 print_vma_addr(KERN_CONT " in ", regs->nip); in show_signal_msg()
341 show_user_instructions(regs); in show_signal_msg()
344 void _exception_pkey(int signr, struct pt_regs *regs, int code, in _exception_pkey() argument
349 if (!user_mode(regs)) { in _exception_pkey()
350 die("Exception in kernel mode", regs, signr); in _exception_pkey()
354 show_signal_msg(signr, regs, code, addr); in _exception_pkey()
356 if (arch_irqs_disabled() && !arch_irq_disabled_regs(regs)) in _exception_pkey()
376 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
378 _exception_pkey(signr, regs, code, addr, 0); in _exception()
381 void system_reset_exception(struct pt_regs *regs) in system_reset_exception() argument
395 if (ppc_md.system_reset_exception(regs)) in system_reset_exception()
399 if (debugger(regs)) in system_reset_exception()
407 crash_fadump(regs, "System Reset"); in system_reset_exception()
409 crash_kexec(regs); in system_reset_exception()
416 crash_kexec_secondary(regs); in system_reset_exception()
422 die("System Reset", regs, SIGABRT); in system_reset_exception()
426 nmi_panic(regs, "System Reset"); in system_reset_exception()
432 nmi_panic(regs, "Unrecoverable nested System Reset"); in system_reset_exception()
435 if (!(regs->msr & MSR_RI)) in system_reset_exception()
436 nmi_panic(regs, "Unrecoverable System Reset"); in system_reset_exception()
454 static inline int check_io_access(struct pt_regs *regs) in check_io_access() argument
457 unsigned long msr = regs->msr; in check_io_access()
459 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access()
462 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
482 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
483 regs->msr |= MSR_RI; in check_io_access()
484 regs->nip = extable_fixup(entry); in check_io_access()
495 #define get_reason(regs) ((regs)->dsisr) argument
502 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC) argument
503 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC) argument
504 #define clear_br_trace(regs) do {} while(0) argument
508 #define get_reason(regs) ((regs)->msr) argument
515 #define single_stepping(regs) ((regs)->msr & MSR_SE) argument
516 #define clear_single_step(regs) ((regs)->msr &= ~MSR_SE) argument
517 #define clear_br_trace(regs) ((regs)->msr &= ~MSR_BE) argument
521 int machine_check_e500mc(struct pt_regs *regs) in machine_check_e500mc() argument
529 recoverable = fsl_rio_mcheck_exception(regs); in machine_check_e500mc()
628 int machine_check_e500(struct pt_regs *regs) in machine_check_e500() argument
633 if (fsl_rio_mcheck_exception(regs)) in machine_check_e500()
635 if (fsl_pci_mcheck_exception(regs)) in machine_check_e500()
670 int machine_check_generic(struct pt_regs *regs) in machine_check_generic() argument
675 int machine_check_e200(struct pt_regs *regs) in machine_check_e200() argument
700 int machine_check_generic(struct pt_regs *regs) in machine_check_generic() argument
702 unsigned long reason = regs->msr; in machine_check_generic()
737 void machine_check_exception(struct pt_regs *regs) in machine_check_exception() argument
757 recover = ppc_md.machine_check_exception(regs); in machine_check_exception()
759 recover = cur_cpu_spec->machine_check(regs); in machine_check_exception()
764 if (debugger_fault_handler(regs)) in machine_check_exception()
767 if (check_io_access(regs)) in machine_check_exception()
770 die("Machine check", regs, SIGBUS); in machine_check_exception()
773 if (!(regs->msr & MSR_RI)) in machine_check_exception()
774 nmi_panic(regs, "Unrecoverable Machine check"); in machine_check_exception()
781 void SMIException(struct pt_regs *regs) in SMIException() argument
783 die("System Management Interrupt", regs, SIGABRT); in SMIException()
787 static void p9_hmi_special_emu(struct pt_regs *regs) in p9_hmi_special_emu() argument
795 if (__get_user_inatomic(instr, (unsigned int __user *)regs->nip)) in p9_hmi_special_emu()
808 regs->nip, instr); in p9_hmi_special_emu()
813 msr = regs->msr; /* Grab msr before we flush the bits */ in p9_hmi_special_emu()
833 ea = regs->gpr[rb] + (ra ? regs->gpr[ra] : 0); in p9_hmi_special_emu()
843 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
858 regs->nip, instr, (unsigned long)addr); in p9_hmi_special_emu()
864 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu()
884 regs->nip, instr, msr); in p9_hmi_special_emu()
891 PPC_WARN_EMULATED(lxvw4x, regs); in p9_hmi_special_emu()
894 PPC_WARN_EMULATED(lxvh8x, regs); in p9_hmi_special_emu()
897 PPC_WARN_EMULATED(lxvd2x, regs); in p9_hmi_special_emu()
900 PPC_WARN_EMULATED(lxvb16x, regs); in p9_hmi_special_emu()
963 regs->nip += 4; in p9_hmi_special_emu()
967 void handle_hmi_exception(struct pt_regs *regs) in handle_hmi_exception() argument
971 old_regs = set_irq_regs(regs); in handle_hmi_exception()
984 p9_hmi_special_emu(regs); in handle_hmi_exception()
990 ppc_md.handle_hmi_exception(regs); in handle_hmi_exception()
996 void unknown_exception(struct pt_regs *regs) in unknown_exception() argument
1001 regs->nip, regs->msr, regs->trap); in unknown_exception()
1003 _exception(SIGTRAP, regs, TRAP_UNK, 0); in unknown_exception()
1008 void instruction_breakpoint_exception(struct pt_regs *regs) in instruction_breakpoint_exception() argument
1012 if (notify_die(DIE_IABR_MATCH, "iabr_match", regs, 5, in instruction_breakpoint_exception()
1015 if (debugger_iabr_match(regs)) in instruction_breakpoint_exception()
1017 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
1023 void RunModeException(struct pt_regs *regs) in RunModeException() argument
1025 _exception(SIGTRAP, regs, TRAP_UNK, 0); in RunModeException()
1028 void single_step_exception(struct pt_regs *regs) in single_step_exception() argument
1032 clear_single_step(regs); in single_step_exception()
1033 clear_br_trace(regs); in single_step_exception()
1035 if (kprobe_post_handler(regs)) in single_step_exception()
1038 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in single_step_exception()
1041 if (debugger_sstep(regs)) in single_step_exception()
1044 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
1057 static void emulate_single_step(struct pt_regs *regs) in emulate_single_step() argument
1059 if (single_stepping(regs)) in emulate_single_step()
1060 single_step_exception(regs); in emulate_single_step()
1090 static void parse_fpe(struct pt_regs *regs) in parse_fpe() argument
1098 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1112 static int emulate_string_inst(struct pt_regs *regs, u32 instword) in emulate_string_inst() argument
1126 EA = (rA == 0) ? 0 : regs->gpr[rA]; in emulate_string_inst()
1132 num_bytes = regs->xer & 0x7f; in emulate_string_inst()
1148 if ((regs->msr & MSR_64BIT) == 0) in emulate_string_inst()
1159 regs->gpr[rT] = 0; in emulate_string_inst()
1160 regs->gpr[rT] |= val << shift; in emulate_string_inst()
1164 val = regs->gpr[rT] >> shift; in emulate_string_inst()
1184 static int emulate_popcntb_inst(struct pt_regs *regs, u32 instword) in emulate_popcntb_inst() argument
1192 tmp = regs->gpr[rs]; in emulate_popcntb_inst()
1196 regs->gpr[ra] = tmp; in emulate_popcntb_inst()
1201 static int emulate_isel(struct pt_regs *regs, u32 instword) in emulate_isel() argument
1210 tmp = (rA == 0) ? 0 : regs->gpr[rA]; in emulate_isel()
1211 bit = (regs->ccr >> (31 - BC)) & 0x1; in emulate_isel()
1213 regs->gpr[rT] = bit ? tmp : regs->gpr[rB]; in emulate_isel()
1219 static inline bool tm_abort_check(struct pt_regs *regs, int cause) in tm_abort_check() argument
1226 if (MSR_TM_TRANSACTIONAL(regs->msr)) { in tm_abort_check()
1234 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1240 static int emulate_instruction(struct pt_regs *regs) in emulate_instruction() argument
1245 if (!user_mode(regs)) in emulate_instruction()
1247 CHECK_FULL_REGS(regs); in emulate_instruction()
1249 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1254 PPC_WARN_EMULATED(mfpvr, regs); in emulate_instruction()
1256 regs->gpr[rd] = mfspr(SPRN_PVR); in emulate_instruction()
1262 PPC_WARN_EMULATED(dcba, regs); in emulate_instruction()
1271 PPC_WARN_EMULATED(mcrxr, regs); in emulate_instruction()
1272 regs->ccr = (regs->ccr & ~msk) | ((regs->xer >> shift) & msk); in emulate_instruction()
1273 regs->xer &= ~0xf0000000UL; in emulate_instruction()
1279 if (tm_abort_check(regs, in emulate_instruction()
1282 PPC_WARN_EMULATED(string, regs); in emulate_instruction()
1283 return emulate_string_inst(regs, instword); in emulate_instruction()
1288 PPC_WARN_EMULATED(popcntb, regs); in emulate_instruction()
1289 return emulate_popcntb_inst(regs, instword); in emulate_instruction()
1294 PPC_WARN_EMULATED(isel, regs); in emulate_instruction()
1295 return emulate_isel(regs, instword); in emulate_instruction()
1300 PPC_WARN_EMULATED(sync, regs); in emulate_instruction()
1312 PPC_WARN_EMULATED(mfdscr, regs); in emulate_instruction()
1314 regs->gpr[rd] = mfspr(SPRN_DSCR); in emulate_instruction()
1323 PPC_WARN_EMULATED(mtdscr, regs); in emulate_instruction()
1325 current->thread.dscr = regs->gpr[rd]; in emulate_instruction()
1341 static int emulate_math(struct pt_regs *regs) in emulate_math() argument
1344 extern int do_mathemu(struct pt_regs *regs); in emulate_math()
1346 ret = do_mathemu(regs); in emulate_math()
1348 PPC_WARN_EMULATED(math, regs); in emulate_math()
1352 emulate_single_step(regs); in emulate_math()
1357 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1361 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1368 static inline int emulate_math(struct pt_regs *regs) { return -1; } in emulate_math() argument
1371 void program_check_exception(struct pt_regs *regs) in program_check_exception() argument
1374 unsigned int reason = get_reason(regs); in program_check_exception()
1381 parse_fpe(regs); in program_check_exception()
1388 if (debugger_bpt(regs)) in program_check_exception()
1391 if (kprobe_handler(regs)) in program_check_exception()
1395 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in program_check_exception()
1399 bugaddr = regs->nip; in program_check_exception()
1403 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in program_check_exception()
1406 if (!(regs->msr & MSR_PR) && /* not user-mode */ in program_check_exception()
1407 report_bug(bugaddr, regs) == BUG_TRAP_TYPE_WARN) { in program_check_exception()
1408 regs->nip += 4; in program_check_exception()
1411 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in program_check_exception()
1431 if (user_mode(regs)) { in program_check_exception()
1432 _exception(SIGILL, regs, ILL_ILLOPN, regs->nip); in program_check_exception()
1436 "at %lx (msr 0x%x)\n", regs->nip, reason); in program_check_exception()
1437 die("Unrecoverable exception", regs, SIGABRT); in program_check_exception()
1449 if (!user_mode(regs)) in program_check_exception()
1453 if (!arch_irq_disabled_regs(regs)) in program_check_exception()
1464 if (!emulate_math(regs)) in program_check_exception()
1469 switch (emulate_instruction(regs)) { in program_check_exception()
1471 regs->nip += 4; in program_check_exception()
1472 emulate_single_step(regs); in program_check_exception()
1475 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in program_check_exception()
1482 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in program_check_exception()
1484 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in program_check_exception()
1495 void emulation_assist_interrupt(struct pt_regs *regs) in emulation_assist_interrupt() argument
1497 regs->msr |= REASON_ILLEGAL; in emulation_assist_interrupt()
1498 program_check_exception(regs); in emulation_assist_interrupt()
1502 void alignment_exception(struct pt_regs *regs) in alignment_exception() argument
1508 if (!arch_irq_disabled_regs(regs)) in alignment_exception()
1511 if (tm_abort_check(regs, TM_CAUSE_ALIGNMENT | TM_CAUSE_PERSISTENT)) in alignment_exception()
1516 fixed = fix_alignment(regs); in alignment_exception()
1519 regs->nip += 4; /* skip over emulated instruction */ in alignment_exception()
1520 emulate_single_step(regs); in alignment_exception()
1532 if (user_mode(regs)) in alignment_exception()
1533 _exception(sig, regs, code, regs->dar); in alignment_exception()
1535 bad_page_fault(regs, regs->dar, sig); in alignment_exception()
1541 void StackOverflow(struct pt_regs *regs) in StackOverflow() argument
1544 current, regs->gpr[1]); in StackOverflow()
1545 debugger(regs); in StackOverflow()
1546 show_regs(regs); in StackOverflow()
1550 void nonrecoverable_exception(struct pt_regs *regs) in nonrecoverable_exception() argument
1553 regs->nip, regs->msr); in nonrecoverable_exception()
1554 debugger(regs); in nonrecoverable_exception()
1555 die("nonrecoverable exception", regs, SIGKILL); in nonrecoverable_exception()
1558 void kernel_fp_unavailable_exception(struct pt_regs *regs) in kernel_fp_unavailable_exception() argument
1563 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1564 die("Unrecoverable FP Unavailable Exception", regs, SIGABRT); in kernel_fp_unavailable_exception()
1569 void altivec_unavailable_exception(struct pt_regs *regs) in altivec_unavailable_exception() argument
1573 if (user_mode(regs)) { in altivec_unavailable_exception()
1576 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in altivec_unavailable_exception()
1581 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1582 die("Unrecoverable VMX/Altivec Unavailable Exception", regs, SIGABRT); in altivec_unavailable_exception()
1588 void vsx_unavailable_exception(struct pt_regs *regs) in vsx_unavailable_exception() argument
1590 if (user_mode(regs)) { in vsx_unavailable_exception()
1593 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in vsx_unavailable_exception()
1598 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1599 die("Unrecoverable VSX Unavailable Exception", regs, SIGABRT); in vsx_unavailable_exception()
1603 static void tm_unavailable(struct pt_regs *regs) in tm_unavailable() argument
1606 if (user_mode(regs)) { in tm_unavailable()
1608 regs->msr |= MSR_TM; in tm_unavailable()
1615 "%lx at %lx\n", regs->trap, regs->nip); in tm_unavailable()
1616 die("Unrecoverable TM Unavailable Exception", regs, SIGABRT); in tm_unavailable()
1619 void facility_unavailable_exception(struct pt_regs *regs) in facility_unavailable_exception() argument
1639 hv = (TRAP(regs) == 0xf80); in facility_unavailable_exception()
1652 if (!user_mode(regs)) { in facility_unavailable_exception()
1654 facility, status, regs->nip); in facility_unavailable_exception()
1655 die("Unexpected facility unavailable exception", regs, SIGABRT); in facility_unavailable_exception()
1659 if (!arch_irq_disabled_regs(regs)) in facility_unavailable_exception()
1679 if (get_user(instword, (u32 __user *)(regs->nip))) { in facility_unavailable_exception()
1688 current->thread.dscr = regs->gpr[rd]; in facility_unavailable_exception()
1697 if (emulate_instruction(regs)) { in facility_unavailable_exception()
1701 regs->nip += 4; in facility_unavailable_exception()
1702 emulate_single_step(regs); in facility_unavailable_exception()
1724 tm_unavailable(regs); in facility_unavailable_exception()
1729 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in facility_unavailable_exception()
1732 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1738 void fp_unavailable_tm(struct pt_regs *regs) in fp_unavailable_tm() argument
1743 regs->nip, regs->msr); in fp_unavailable_tm()
1767 void altivec_unavailable_tm(struct pt_regs *regs) in altivec_unavailable_tm() argument
1775 regs->nip, regs->msr); in altivec_unavailable_tm()
1782 void vsx_unavailable_tm(struct pt_regs *regs) in vsx_unavailable_tm() argument
1793 regs->nip, regs->msr); in vsx_unavailable_tm()
1807 void performance_monitor_exception(struct pt_regs *regs) in performance_monitor_exception() argument
1811 perf_irq(regs); in performance_monitor_exception()
1815 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1827 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, in handle_debug()
1832 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, in handle_debug()
1838 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, in handle_debug()
1843 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, in handle_debug()
1849 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, in handle_debug()
1854 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, in handle_debug()
1865 regs->msr |= MSR_DE; in handle_debug()
1874 void DebugException(struct pt_regs *regs, unsigned long debug_status) in DebugException() argument
1884 regs->msr &= ~MSR_DE; in DebugException()
1892 if (user_mode(regs)) { in DebugException()
1895 regs->msr |= MSR_DE; in DebugException()
1899 if (kprobe_post_handler(regs)) in DebugException()
1902 if (notify_die(DIE_SSTEP, "block_step", regs, 5, in DebugException()
1906 if (debugger_sstep(regs)) in DebugException()
1909 regs->msr &= ~MSR_DE; in DebugException()
1916 if (kprobe_post_handler(regs)) in DebugException()
1919 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in DebugException()
1924 if (debugger_sstep(regs)) in DebugException()
1927 if (user_mode(regs)) { in DebugException()
1931 regs->msr |= MSR_DE; in DebugException()
1937 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
1939 handle_debug(regs, debug_status); in DebugException()
1945 void TAUException(struct pt_regs *regs) in TAUException() argument
1948 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1953 void altivec_assist_exception(struct pt_regs *regs) in altivec_assist_exception() argument
1957 if (!user_mode(regs)) { in altivec_assist_exception()
1959 " at %lx\n", regs->nip); in altivec_assist_exception()
1960 die("Kernel VMX/Altivec assist exception", regs, SIGILL); in altivec_assist_exception()
1965 PPC_WARN_EMULATED(altivec, regs); in altivec_assist_exception()
1966 err = emulate_altivec(regs); in altivec_assist_exception()
1968 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
1969 emulate_single_step(regs); in altivec_assist_exception()
1975 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in altivec_assist_exception()
1980 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
1987 void CacheLockingException(struct pt_regs *regs, unsigned long address, in CacheLockingException() argument
1995 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
2001 void SPEFloatingPointException(struct pt_regs *regs) in SPEFloatingPointException() argument
2003 extern int do_spe_mathemu(struct pt_regs *regs); in SPEFloatingPointException()
2028 err = do_spe_mathemu(regs); in SPEFloatingPointException()
2030 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
2031 emulate_single_step(regs); in SPEFloatingPointException()
2037 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointException()
2041 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
2043 _exception(SIGFPE, regs, code, regs->nip); in SPEFloatingPointException()
2049 void SPEFloatingPointRoundException(struct pt_regs *regs) in SPEFloatingPointRoundException() argument
2051 extern int speround_handler(struct pt_regs *regs); in SPEFloatingPointRoundException()
2055 if (regs->msr & MSR_SPE) in SPEFloatingPointRoundException()
2059 regs->nip -= 4; in SPEFloatingPointRoundException()
2060 err = speround_handler(regs); in SPEFloatingPointRoundException()
2062 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
2063 emulate_single_step(regs); in SPEFloatingPointRoundException()
2069 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointRoundException()
2073 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
2075 _exception(SIGFPE, regs, FPE_FLTUNK, regs->nip); in SPEFloatingPointRoundException()
2087 void unrecoverable_exception(struct pt_regs *regs) in unrecoverable_exception() argument
2090 regs->trap, regs->nip); in unrecoverable_exception()
2091 die("Unrecoverable exception", regs, SIGABRT); in unrecoverable_exception()
2100 void __attribute__ ((weak)) WatchdogHandler(struct pt_regs *regs) in WatchdogHandler() argument
2107 void WatchdogException(struct pt_regs *regs) in WatchdogException() argument
2110 WatchdogHandler(regs); in WatchdogException()
2118 void kernel_bad_stack(struct pt_regs *regs) in kernel_bad_stack() argument
2121 regs->gpr[1], regs->nip); in kernel_bad_stack()
2122 die("Bad kernel stack pointer", regs, SIGABRT); in kernel_bad_stack()