Lines Matching refs:regs

66 int (*__debugger)(struct pt_regs *regs) __read_mostly;
67 int (*__debugger_ipi)(struct pt_regs *regs) __read_mostly;
68 int (*__debugger_bpt)(struct pt_regs *regs) __read_mostly;
69 int (*__debugger_sstep)(struct pt_regs *regs) __read_mostly;
70 int (*__debugger_iabr_match)(struct pt_regs *regs) __read_mostly;
71 int (*__debugger_break_match)(struct pt_regs *regs) __read_mostly;
72 int (*__debugger_fault_handler)(struct pt_regs *regs) __read_mostly;
117 static unsigned __kprobes long oops_begin(struct pt_regs *regs) in oops_begin() argument
122 if (debugger(regs)) in oops_begin()
145 static void __kprobes oops_end(unsigned long flags, struct pt_regs *regs, in oops_end() argument
159 crash_fadump(regs, "die oops"); in oops_end()
165 if (kexec_should_crash(current) || (TRAP(regs) == 0x100)) { in oops_end()
166 crash_kexec(regs); in oops_end()
173 crash_kexec_secondary(regs); in oops_end()
197 static int __kprobes __die(const char *str, struct pt_regs *regs, long err) in __die() argument
214 if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) == NOTIFY_STOP) in __die()
218 show_regs(regs); in __die()
223 void die(const char *str, struct pt_regs *regs, long err) in die() argument
225 unsigned long flags = oops_begin(regs); in die()
227 if (__die(str, regs, err)) in die()
229 oops_end(flags, regs, err); in die()
233 struct pt_regs *regs, siginfo_t *info) in user_single_step_siginfo() argument
238 info->si_addr = (void __user *)regs->nip; in user_single_step_siginfo()
241 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
249 if (!user_mode(regs)) { in _exception()
250 die("Exception in kernel mode", regs, signr); in _exception()
255 printk_ratelimited(regs->msr & MSR_64BIT ? fmt64 : fmt32, in _exception()
257 addr, regs->nip, regs->link, code); in _exception()
260 if (arch_irqs_disabled() && !arch_irq_disabled_regs(regs)) in _exception()
272 void system_reset_exception(struct pt_regs *regs) in system_reset_exception() argument
276 if (ppc_md.system_reset_exception(regs)) in system_reset_exception()
280 die("System Reset", regs, SIGABRT); in system_reset_exception()
283 if (!(regs->msr & MSR_RI)) in system_reset_exception()
294 long machine_check_early(struct pt_regs *regs) in machine_check_early() argument
303 handled = cur_cpu_spec->machine_check_early(regs); in machine_check_early()
307 long hmi_exception_realmode(struct pt_regs *regs) in hmi_exception_realmode() argument
312 ppc_md.hmi_exception_early(regs); in hmi_exception_realmode()
329 static inline int check_io_access(struct pt_regs *regs) in check_io_access() argument
332 unsigned long msr = regs->msr; in check_io_access()
334 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access()
337 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
358 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
359 regs->msr |= MSR_RI; in check_io_access()
360 regs->nip = entry->fixup; in check_io_access()
371 #define get_reason(regs) ((regs)->dsisr) argument
373 #define get_mc_reason(regs) ((regs)->dsisr) argument
375 #define get_mc_reason(regs) (mfspr(SPRN_MCSR)) argument
383 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC) argument
384 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC) argument
389 #define get_reason(regs) ((regs)->msr) argument
390 #define get_mc_reason(regs) ((regs)->msr) argument
397 #define single_stepping(regs) ((regs)->msr & MSR_SE) argument
398 #define clear_single_step(regs) ((regs)->msr &= ~MSR_SE) argument
402 int machine_check_4xx(struct pt_regs *regs) in machine_check_4xx() argument
404 unsigned long reason = get_mc_reason(regs); in machine_check_4xx()
416 int machine_check_440A(struct pt_regs *regs) in machine_check_440A() argument
418 unsigned long reason = get_mc_reason(regs); in machine_check_440A()
452 int machine_check_47x(struct pt_regs *regs) in machine_check_47x() argument
454 unsigned long reason = get_mc_reason(regs); in machine_check_47x()
492 int machine_check_e500mc(struct pt_regs *regs) in machine_check_e500mc() argument
499 recoverable = fsl_rio_mcheck_exception(regs); in machine_check_e500mc()
591 int machine_check_e500(struct pt_regs *regs) in machine_check_e500() argument
593 unsigned long reason = get_mc_reason(regs); in machine_check_e500()
596 if (fsl_rio_mcheck_exception(regs)) in machine_check_e500()
598 if (fsl_pci_mcheck_exception(regs)) in machine_check_e500()
633 int machine_check_generic(struct pt_regs *regs) in machine_check_generic() argument
638 int machine_check_e200(struct pt_regs *regs) in machine_check_e200() argument
640 unsigned long reason = get_mc_reason(regs); in machine_check_e200()
663 int machine_check_generic(struct pt_regs *regs) in machine_check_generic() argument
665 unsigned long reason = get_mc_reason(regs); in machine_check_generic()
700 void machine_check_exception(struct pt_regs *regs) in machine_check_exception() argument
714 recover = ppc_md.machine_check_exception(regs); in machine_check_exception()
716 recover = cur_cpu_spec->machine_check(regs); in machine_check_exception()
728 bad_page_fault(regs, regs->dar, SIGBUS); in machine_check_exception()
732 if (debugger_fault_handler(regs)) in machine_check_exception()
735 if (check_io_access(regs)) in machine_check_exception()
738 die("Machine check", regs, SIGBUS); in machine_check_exception()
741 if (!(regs->msr & MSR_RI)) in machine_check_exception()
748 void SMIException(struct pt_regs *regs) in SMIException() argument
750 die("System Management Interrupt", regs, SIGABRT); in SMIException()
753 void handle_hmi_exception(struct pt_regs *regs) in handle_hmi_exception() argument
757 old_regs = set_irq_regs(regs); in handle_hmi_exception()
761 ppc_md.handle_hmi_exception(regs); in handle_hmi_exception()
767 void unknown_exception(struct pt_regs *regs) in unknown_exception() argument
772 regs->nip, regs->msr, regs->trap); in unknown_exception()
774 _exception(SIGTRAP, regs, 0, 0); in unknown_exception()
779 void instruction_breakpoint_exception(struct pt_regs *regs) in instruction_breakpoint_exception() argument
783 if (notify_die(DIE_IABR_MATCH, "iabr_match", regs, 5, in instruction_breakpoint_exception()
786 if (debugger_iabr_match(regs)) in instruction_breakpoint_exception()
788 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
794 void RunModeException(struct pt_regs *regs) in RunModeException() argument
796 _exception(SIGTRAP, regs, 0, 0); in RunModeException()
799 void __kprobes single_step_exception(struct pt_regs *regs) in single_step_exception() argument
803 clear_single_step(regs); in single_step_exception()
805 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in single_step_exception()
808 if (debugger_sstep(regs)) in single_step_exception()
811 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
823 static void emulate_single_step(struct pt_regs *regs) in emulate_single_step() argument
825 if (single_stepping(regs)) in emulate_single_step()
826 single_step_exception(regs); in emulate_single_step()
856 static void parse_fpe(struct pt_regs *regs) in parse_fpe() argument
864 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
878 static int emulate_string_inst(struct pt_regs *regs, u32 instword) in emulate_string_inst() argument
892 EA = (rA == 0) ? 0 : regs->gpr[rA]; in emulate_string_inst()
898 num_bytes = regs->xer & 0x7f; in emulate_string_inst()
914 if ((regs->msr & MSR_64BIT) == 0) in emulate_string_inst()
925 regs->gpr[rT] = 0; in emulate_string_inst()
926 regs->gpr[rT] |= val << shift; in emulate_string_inst()
930 val = regs->gpr[rT] >> shift; in emulate_string_inst()
950 static int emulate_popcntb_inst(struct pt_regs *regs, u32 instword) in emulate_popcntb_inst() argument
958 tmp = regs->gpr[rs]; in emulate_popcntb_inst()
962 regs->gpr[ra] = tmp; in emulate_popcntb_inst()
967 static int emulate_isel(struct pt_regs *regs, u32 instword) in emulate_isel() argument
976 tmp = (rA == 0) ? 0 : regs->gpr[rA]; in emulate_isel()
977 bit = (regs->ccr >> (31 - BC)) & 0x1; in emulate_isel()
979 regs->gpr[rT] = bit ? tmp : regs->gpr[rB]; in emulate_isel()
985 static inline bool tm_abort_check(struct pt_regs *regs, int cause) in tm_abort_check() argument
992 if (MSR_TM_TRANSACTIONAL(regs->msr)) { in tm_abort_check()
1000 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1006 static int emulate_instruction(struct pt_regs *regs) in emulate_instruction() argument
1011 if (!user_mode(regs)) in emulate_instruction()
1013 CHECK_FULL_REGS(regs); in emulate_instruction()
1015 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1020 PPC_WARN_EMULATED(mfpvr, regs); in emulate_instruction()
1022 regs->gpr[rd] = mfspr(SPRN_PVR); in emulate_instruction()
1028 PPC_WARN_EMULATED(dcba, regs); in emulate_instruction()
1037 PPC_WARN_EMULATED(mcrxr, regs); in emulate_instruction()
1038 regs->ccr = (regs->ccr & ~msk) | ((regs->xer >> shift) & msk); in emulate_instruction()
1039 regs->xer &= ~0xf0000000UL; in emulate_instruction()
1045 if (tm_abort_check(regs, in emulate_instruction()
1048 PPC_WARN_EMULATED(string, regs); in emulate_instruction()
1049 return emulate_string_inst(regs, instword); in emulate_instruction()
1054 PPC_WARN_EMULATED(popcntb, regs); in emulate_instruction()
1055 return emulate_popcntb_inst(regs, instword); in emulate_instruction()
1060 PPC_WARN_EMULATED(isel, regs); in emulate_instruction()
1061 return emulate_isel(regs, instword); in emulate_instruction()
1066 PPC_WARN_EMULATED(sync, regs); in emulate_instruction()
1078 PPC_WARN_EMULATED(mfdscr, regs); in emulate_instruction()
1080 regs->gpr[rd] = mfspr(SPRN_DSCR); in emulate_instruction()
1089 PPC_WARN_EMULATED(mtdscr, regs); in emulate_instruction()
1091 current->thread.dscr = regs->gpr[rd]; in emulate_instruction()
1107 static int emulate_math(struct pt_regs *regs) in emulate_math() argument
1110 extern int do_mathemu(struct pt_regs *regs); in emulate_math()
1112 ret = do_mathemu(regs); in emulate_math()
1114 PPC_WARN_EMULATED(math, regs); in emulate_math()
1118 emulate_single_step(regs); in emulate_math()
1123 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1127 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1134 static inline int emulate_math(struct pt_regs *regs) { return -1; } in emulate_math() argument
1137 void __kprobes program_check_exception(struct pt_regs *regs) in program_check_exception() argument
1140 unsigned int reason = get_reason(regs); in program_check_exception()
1147 parse_fpe(regs); in program_check_exception()
1153 if (debugger_bpt(regs)) in program_check_exception()
1157 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in program_check_exception()
1161 if (!(regs->msr & MSR_PR) && /* not user-mode */ in program_check_exception()
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()
1180 if (!user_mode(regs) && 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()
1191 if (user_mode(regs)) { 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()
1197 die("Unrecoverable exception", regs, SIGABRT); in program_check_exception()
1209 if (!user_mode(regs)) in program_check_exception()
1213 if (!arch_irq_disabled_regs(regs)) in program_check_exception()
1224 if (!emulate_math(regs)) in program_check_exception()
1229 switch (emulate_instruction(regs)) { in program_check_exception()
1231 regs->nip += 4; in program_check_exception()
1232 emulate_single_step(regs); 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()
1254 void __kprobes emulation_assist_interrupt(struct pt_regs *regs) in emulation_assist_interrupt() argument
1256 regs->msr |= REASON_ILLEGAL; in emulation_assist_interrupt()
1257 program_check_exception(regs); in emulation_assist_interrupt()
1260 void alignment_exception(struct pt_regs *regs) in alignment_exception() argument
1266 if (!arch_irq_disabled_regs(regs)) in alignment_exception()
1269 if (tm_abort_check(regs, TM_CAUSE_ALIGNMENT | TM_CAUSE_PERSISTENT)) in alignment_exception()
1274 fixed = fix_alignment(regs); in alignment_exception()
1277 regs->nip += 4; /* skip over emulated instruction */ in alignment_exception()
1278 emulate_single_step(regs); in alignment_exception()
1290 if (user_mode(regs)) in alignment_exception()
1291 _exception(sig, regs, code, regs->dar); in alignment_exception()
1293 bad_page_fault(regs, regs->dar, sig); in alignment_exception()
1299 void StackOverflow(struct pt_regs *regs) in StackOverflow() argument
1302 current, regs->gpr[1]); in StackOverflow()
1303 debugger(regs); in StackOverflow()
1304 show_regs(regs); in StackOverflow()
1308 void nonrecoverable_exception(struct pt_regs *regs) in nonrecoverable_exception() argument
1311 regs->nip, regs->msr); in nonrecoverable_exception()
1312 debugger(regs); in nonrecoverable_exception()
1313 die("nonrecoverable exception", regs, SIGKILL); in nonrecoverable_exception()
1316 void trace_syscall(struct pt_regs *regs) in trace_syscall() argument
1319 current, task_pid_nr(current), regs->nip, regs->link, regs->gpr[0], in trace_syscall()
1320 regs->ccr&0x10000000?"Error=":"", regs->gpr[3], print_tainted()); in trace_syscall()
1323 void kernel_fp_unavailable_exception(struct pt_regs *regs) in kernel_fp_unavailable_exception() argument
1328 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1329 die("Unrecoverable FP Unavailable Exception", regs, SIGABRT); in kernel_fp_unavailable_exception()
1334 void altivec_unavailable_exception(struct pt_regs *regs) in altivec_unavailable_exception() argument
1338 if (user_mode(regs)) { in altivec_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()
1347 die("Unrecoverable VMX/Altivec Unavailable Exception", regs, SIGABRT); in altivec_unavailable_exception()
1353 void vsx_unavailable_exception(struct pt_regs *regs) in vsx_unavailable_exception() argument
1355 if (user_mode(regs)) { in vsx_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()
1364 die("Unrecoverable VSX Unavailable Exception", regs, SIGABRT); in vsx_unavailable_exception()
1368 void facility_unavailable_exception(struct pt_regs *regs) in facility_unavailable_exception() argument
1386 hv = (regs->trap == 0xf80); in facility_unavailable_exception()
1410 if (get_user(instword, (u32 __user *)(regs->nip))) { in facility_unavailable_exception()
1419 current->thread.dscr = regs->gpr[rd]; in facility_unavailable_exception()
1427 if (emulate_instruction(regs)) { in facility_unavailable_exception()
1431 regs->nip += 4; in facility_unavailable_exception()
1432 emulate_single_step(regs); in facility_unavailable_exception()
1442 if (!arch_irq_disabled_regs(regs)) in facility_unavailable_exception()
1447 hv ? "Hypervisor " : "", facility, regs->nip, regs->msr); in facility_unavailable_exception()
1449 if (user_mode(regs)) { in facility_unavailable_exception()
1450 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1454 die("Unexpected facility unavailable exception", regs, SIGABRT); in facility_unavailable_exception()
1460 void fp_unavailable_tm(struct pt_regs *regs) in fp_unavailable_tm() argument
1465 regs->nip, regs->msr); in fp_unavailable_tm()
1478 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in fp_unavailable_tm()
1489 if (regs->msr & MSR_VEC) { in fp_unavailable_tm()
1492 regs->msr |= MSR_VSX; in fp_unavailable_tm()
1496 void altivec_unavailable_tm(struct pt_regs *regs) in altivec_unavailable_tm() argument
1504 regs->nip, regs->msr); in altivec_unavailable_tm()
1506 regs->msr |= MSR_VEC; in altivec_unavailable_tm()
1510 if (regs->msr & MSR_FP) { in altivec_unavailable_tm()
1512 regs->msr |= MSR_VSX; in altivec_unavailable_tm()
1516 void vsx_unavailable_tm(struct pt_regs *regs) in vsx_unavailable_tm() argument
1518 unsigned long orig_msr = regs->msr; in vsx_unavailable_tm()
1529 regs->nip, regs->msr); in vsx_unavailable_tm()
1535 regs->msr |= MSR_VSX; in vsx_unavailable_tm()
1542 regs->msr |= MSR_VEC | MSR_FP | current->thread.fpexc_mode | in vsx_unavailable_tm()
1548 tm_recheckpoint(&current->thread, regs->msr & ~orig_msr); in vsx_unavailable_tm()
1557 void performance_monitor_exception(struct pt_regs *regs) in performance_monitor_exception() argument
1561 perf_irq(regs); in performance_monitor_exception()
1565 void SoftwareEmulation(struct pt_regs *regs) in SoftwareEmulation() argument
1567 CHECK_FULL_REGS(regs); in SoftwareEmulation()
1569 if (!user_mode(regs)) { in SoftwareEmulation()
1570 debugger(regs); in SoftwareEmulation()
1572 regs, SIGFPE); in SoftwareEmulation()
1575 if (!emulate_math(regs)) in SoftwareEmulation()
1578 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in SoftwareEmulation()
1583 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1595 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, TRAP_HWBKPT, in handle_debug()
1600 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, TRAP_HWBKPT, in handle_debug()
1606 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, TRAP_HWBKPT, in handle_debug()
1611 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, TRAP_HWBKPT, in handle_debug()
1617 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, TRAP_HWBKPT, in handle_debug()
1622 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, TRAP_HWBKPT, in handle_debug()
1633 regs->msr |= MSR_DE; in handle_debug()
1642 void __kprobes DebugException(struct pt_regs *regs, unsigned long debug_status) in DebugException() argument
1652 regs->msr &= ~MSR_DE; in DebugException()
1660 if (user_mode(regs)) { in DebugException()
1663 regs->msr |= MSR_DE; in DebugException()
1667 if (notify_die(DIE_SSTEP, "block_step", regs, 5, in DebugException()
1671 if (debugger_sstep(regs)) in DebugException()
1674 regs->msr &= ~MSR_DE; in DebugException()
1681 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in DebugException()
1686 if (debugger_sstep(regs)) in DebugException()
1689 if (user_mode(regs)) { in DebugException()
1693 regs->msr |= MSR_DE; in DebugException()
1699 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
1701 handle_debug(regs, debug_status); in DebugException()
1706 void TAUException(struct pt_regs *regs) in TAUException() argument
1709 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1714 void altivec_assist_exception(struct pt_regs *regs) in altivec_assist_exception() argument
1718 if (!user_mode(regs)) { in altivec_assist_exception()
1720 " at %lx\n", regs->nip); in altivec_assist_exception()
1721 die("Kernel VMX/Altivec assist exception", regs, SIGILL); in altivec_assist_exception()
1726 PPC_WARN_EMULATED(altivec, regs); in altivec_assist_exception()
1727 err = emulate_altivec(regs); in altivec_assist_exception()
1729 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
1730 emulate_single_step(regs); 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()
1748 void CacheLockingException(struct pt_regs *regs, unsigned long address, in CacheLockingException() argument
1756 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
1762 void SPEFloatingPointException(struct pt_regs *regs) in SPEFloatingPointException() argument
1764 extern int do_spe_mathemu(struct pt_regs *regs); in SPEFloatingPointException()
1789 err = do_spe_mathemu(regs); in SPEFloatingPointException()
1791 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
1792 emulate_single_step(regs); 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()
1810 void SPEFloatingPointRoundException(struct pt_regs *regs) in SPEFloatingPointRoundException() argument
1812 extern int speround_handler(struct pt_regs *regs); in SPEFloatingPointRoundException()
1816 if (regs->msr & MSR_SPE) in SPEFloatingPointRoundException()
1820 regs->nip -= 4; in SPEFloatingPointRoundException()
1821 err = speround_handler(regs); in SPEFloatingPointRoundException()
1823 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
1824 emulate_single_step(regs); 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()
1848 void unrecoverable_exception(struct pt_regs *regs) in unrecoverable_exception() argument
1851 regs->trap, regs->nip); in unrecoverable_exception()
1852 die("Unrecoverable exception", regs, SIGABRT); in unrecoverable_exception()
1860 void __attribute__ ((weak)) WatchdogHandler(struct pt_regs *regs) in WatchdogHandler() argument
1867 void WatchdogException(struct pt_regs *regs) in WatchdogException() argument
1870 WatchdogHandler(regs); in WatchdogException()
1878 void kernel_bad_stack(struct pt_regs *regs) in kernel_bad_stack() argument
1881 regs->gpr[1], regs->nip); in kernel_bad_stack()
1882 die("Bad kernel stack pointer", regs, SIGABRT); in kernel_bad_stack()