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
301 handled = cur_cpu_spec->machine_check_early(regs); in machine_check_early()
305 long hmi_exception_realmode(struct pt_regs *regs) in hmi_exception_realmode() argument
310 ppc_md.hmi_exception_early(regs); in hmi_exception_realmode()
327 static inline int check_io_access(struct pt_regs *regs) in check_io_access() argument
330 unsigned long msr = regs->msr; in check_io_access()
332 unsigned int *nip = (unsigned int *)regs->nip; in check_io_access()
335 && (entry = search_exception_tables(regs->nip)) != NULL) { in check_io_access()
356 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
357 regs->msr |= MSR_RI; in check_io_access()
358 regs->nip = entry->fixup; in check_io_access()
369 #define get_reason(regs) ((regs)->dsisr) argument
371 #define get_mc_reason(regs) ((regs)->dsisr) argument
373 #define get_mc_reason(regs) (mfspr(SPRN_MCSR)) argument
381 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC) argument
382 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC) argument
387 #define get_reason(regs) ((regs)->msr) argument
388 #define get_mc_reason(regs) ((regs)->msr) argument
395 #define single_stepping(regs) ((regs)->msr & MSR_SE) argument
396 #define clear_single_step(regs) ((regs)->msr &= ~MSR_SE) argument
400 int machine_check_4xx(struct pt_regs *regs) in machine_check_4xx() argument
402 unsigned long reason = get_mc_reason(regs); in machine_check_4xx()
414 int machine_check_440A(struct pt_regs *regs) in machine_check_440A() argument
416 unsigned long reason = get_mc_reason(regs); in machine_check_440A()
450 int machine_check_47x(struct pt_regs *regs) in machine_check_47x() argument
452 unsigned long reason = get_mc_reason(regs); in machine_check_47x()
490 int machine_check_e500mc(struct pt_regs *regs) in machine_check_e500mc() argument
497 recoverable = fsl_rio_mcheck_exception(regs); in machine_check_e500mc()
589 int machine_check_e500(struct pt_regs *regs) in machine_check_e500() argument
591 unsigned long reason = get_mc_reason(regs); in machine_check_e500()
594 if (fsl_rio_mcheck_exception(regs)) in machine_check_e500()
596 if (fsl_pci_mcheck_exception(regs)) in machine_check_e500()
631 int machine_check_generic(struct pt_regs *regs) in machine_check_generic() argument
636 int machine_check_e200(struct pt_regs *regs) in machine_check_e200() argument
638 unsigned long reason = get_mc_reason(regs); in machine_check_e200()
661 int machine_check_generic(struct pt_regs *regs) in machine_check_generic() argument
663 unsigned long reason = get_mc_reason(regs); in machine_check_generic()
698 void machine_check_exception(struct pt_regs *regs) in machine_check_exception() argument
712 recover = ppc_md.machine_check_exception(regs); in machine_check_exception()
714 recover = cur_cpu_spec->machine_check(regs); in machine_check_exception()
726 bad_page_fault(regs, regs->dar, SIGBUS); in machine_check_exception()
730 if (debugger_fault_handler(regs)) in machine_check_exception()
733 if (check_io_access(regs)) in machine_check_exception()
736 die("Machine check", regs, SIGBUS); in machine_check_exception()
739 if (!(regs->msr & MSR_RI)) in machine_check_exception()
746 void SMIException(struct pt_regs *regs) in SMIException() argument
748 die("System Management Interrupt", regs, SIGABRT); in SMIException()
751 void handle_hmi_exception(struct pt_regs *regs) in handle_hmi_exception() argument
755 old_regs = set_irq_regs(regs); in handle_hmi_exception()
759 ppc_md.handle_hmi_exception(regs); in handle_hmi_exception()
765 void unknown_exception(struct pt_regs *regs) in unknown_exception() argument
770 regs->nip, regs->msr, regs->trap); in unknown_exception()
772 _exception(SIGTRAP, regs, 0, 0); in unknown_exception()
777 void instruction_breakpoint_exception(struct pt_regs *regs) in instruction_breakpoint_exception() argument
781 if (notify_die(DIE_IABR_MATCH, "iabr_match", regs, 5, in instruction_breakpoint_exception()
784 if (debugger_iabr_match(regs)) in instruction_breakpoint_exception()
786 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in instruction_breakpoint_exception()
792 void RunModeException(struct pt_regs *regs) in RunModeException() argument
794 _exception(SIGTRAP, regs, 0, 0); in RunModeException()
797 void __kprobes single_step_exception(struct pt_regs *regs) in single_step_exception() argument
801 clear_single_step(regs); in single_step_exception()
803 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in single_step_exception()
806 if (debugger_sstep(regs)) in single_step_exception()
809 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in single_step_exception()
821 static void emulate_single_step(struct pt_regs *regs) in emulate_single_step() argument
823 if (single_stepping(regs)) in emulate_single_step()
824 single_step_exception(regs); in emulate_single_step()
854 static void parse_fpe(struct pt_regs *regs) in parse_fpe() argument
862 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
876 static int emulate_string_inst(struct pt_regs *regs, u32 instword) in emulate_string_inst() argument
890 EA = (rA == 0) ? 0 : regs->gpr[rA]; in emulate_string_inst()
896 num_bytes = regs->xer & 0x7f; in emulate_string_inst()
912 if ((regs->msr & MSR_64BIT) == 0) in emulate_string_inst()
923 regs->gpr[rT] = 0; in emulate_string_inst()
924 regs->gpr[rT] |= val << shift; in emulate_string_inst()
928 val = regs->gpr[rT] >> shift; in emulate_string_inst()
948 static int emulate_popcntb_inst(struct pt_regs *regs, u32 instword) in emulate_popcntb_inst() argument
956 tmp = regs->gpr[rs]; in emulate_popcntb_inst()
960 regs->gpr[ra] = tmp; in emulate_popcntb_inst()
965 static int emulate_isel(struct pt_regs *regs, u32 instword) in emulate_isel() argument
974 tmp = (rA == 0) ? 0 : regs->gpr[rA]; in emulate_isel()
975 bit = (regs->ccr >> (31 - BC)) & 0x1; in emulate_isel()
977 regs->gpr[rT] = bit ? tmp : regs->gpr[rB]; in emulate_isel()
983 static inline bool tm_abort_check(struct pt_regs *regs, int cause) in tm_abort_check() argument
990 if (MSR_TM_TRANSACTIONAL(regs->msr)) { in tm_abort_check()
998 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1004 static int emulate_instruction(struct pt_regs *regs) in emulate_instruction() argument
1009 if (!user_mode(regs)) in emulate_instruction()
1011 CHECK_FULL_REGS(regs); in emulate_instruction()
1013 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1018 PPC_WARN_EMULATED(mfpvr, regs); in emulate_instruction()
1020 regs->gpr[rd] = mfspr(SPRN_PVR); in emulate_instruction()
1026 PPC_WARN_EMULATED(dcba, regs); in emulate_instruction()
1035 PPC_WARN_EMULATED(mcrxr, regs); in emulate_instruction()
1036 regs->ccr = (regs->ccr & ~msk) | ((regs->xer >> shift) & msk); in emulate_instruction()
1037 regs->xer &= ~0xf0000000UL; in emulate_instruction()
1043 if (tm_abort_check(regs, in emulate_instruction()
1046 PPC_WARN_EMULATED(string, regs); in emulate_instruction()
1047 return emulate_string_inst(regs, instword); in emulate_instruction()
1052 PPC_WARN_EMULATED(popcntb, regs); in emulate_instruction()
1053 return emulate_popcntb_inst(regs, instword); in emulate_instruction()
1058 PPC_WARN_EMULATED(isel, regs); in emulate_instruction()
1059 return emulate_isel(regs, instword); in emulate_instruction()
1064 PPC_WARN_EMULATED(sync, regs); in emulate_instruction()
1076 PPC_WARN_EMULATED(mfdscr, regs); in emulate_instruction()
1078 regs->gpr[rd] = mfspr(SPRN_DSCR); in emulate_instruction()
1087 PPC_WARN_EMULATED(mtdscr, regs); in emulate_instruction()
1089 current->thread.dscr = regs->gpr[rd]; in emulate_instruction()
1105 static int emulate_math(struct pt_regs *regs) in emulate_math() argument
1108 extern int do_mathemu(struct pt_regs *regs); in emulate_math()
1110 ret = do_mathemu(regs); in emulate_math()
1112 PPC_WARN_EMULATED(math, regs); in emulate_math()
1116 emulate_single_step(regs); in emulate_math()
1121 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1125 _exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip); in emulate_math()
1132 static inline int emulate_math(struct pt_regs *regs) { return -1; } in emulate_math() argument
1135 void __kprobes program_check_exception(struct pt_regs *regs) in program_check_exception() argument
1138 unsigned int reason = get_reason(regs); in program_check_exception()
1145 parse_fpe(regs); in program_check_exception()
1151 if (debugger_bpt(regs)) in program_check_exception()
1155 if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP) in program_check_exception()
1159 if (!(regs->msr & MSR_PR) && /* not user-mode */ in program_check_exception()
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()
1178 if (!user_mode(regs) && 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()
1189 if (user_mode(regs)) { 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()
1195 die("Unrecoverable exception", regs, SIGABRT); in program_check_exception()
1207 if (!user_mode(regs)) in program_check_exception()
1211 if (!arch_irq_disabled_regs(regs)) in program_check_exception()
1222 if (!emulate_math(regs)) in program_check_exception()
1227 switch (emulate_instruction(regs)) { in program_check_exception()
1229 regs->nip += 4; in program_check_exception()
1230 emulate_single_step(regs); 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()
1252 void __kprobes emulation_assist_interrupt(struct pt_regs *regs) in emulation_assist_interrupt() argument
1254 regs->msr |= REASON_ILLEGAL; in emulation_assist_interrupt()
1255 program_check_exception(regs); in emulation_assist_interrupt()
1258 void alignment_exception(struct pt_regs *regs) in alignment_exception() argument
1264 if (!arch_irq_disabled_regs(regs)) in alignment_exception()
1267 if (tm_abort_check(regs, TM_CAUSE_ALIGNMENT | TM_CAUSE_PERSISTENT)) in alignment_exception()
1272 fixed = fix_alignment(regs); in alignment_exception()
1275 regs->nip += 4; /* skip over emulated instruction */ in alignment_exception()
1276 emulate_single_step(regs); in alignment_exception()
1288 if (user_mode(regs)) in alignment_exception()
1289 _exception(sig, regs, code, regs->dar); in alignment_exception()
1291 bad_page_fault(regs, regs->dar, sig); in alignment_exception()
1297 void StackOverflow(struct pt_regs *regs) in StackOverflow() argument
1300 current, regs->gpr[1]); in StackOverflow()
1301 debugger(regs); in StackOverflow()
1302 show_regs(regs); in StackOverflow()
1306 void nonrecoverable_exception(struct pt_regs *regs) in nonrecoverable_exception() argument
1309 regs->nip, regs->msr); in nonrecoverable_exception()
1310 debugger(regs); in nonrecoverable_exception()
1311 die("nonrecoverable exception", regs, SIGKILL); in nonrecoverable_exception()
1314 void trace_syscall(struct pt_regs *regs) in trace_syscall() argument
1317 current, task_pid_nr(current), regs->nip, regs->link, regs->gpr[0], in trace_syscall()
1318 regs->ccr&0x10000000?"Error=":"", regs->gpr[3], print_tainted()); in trace_syscall()
1321 void kernel_fp_unavailable_exception(struct pt_regs *regs) in kernel_fp_unavailable_exception() argument
1326 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1327 die("Unrecoverable FP Unavailable Exception", regs, SIGABRT); in kernel_fp_unavailable_exception()
1332 void altivec_unavailable_exception(struct pt_regs *regs) in altivec_unavailable_exception() argument
1336 if (user_mode(regs)) { in altivec_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()
1345 die("Unrecoverable VMX/Altivec Unavailable Exception", regs, SIGABRT); in altivec_unavailable_exception()
1351 void vsx_unavailable_exception(struct pt_regs *regs) in vsx_unavailable_exception() argument
1353 if (user_mode(regs)) { in vsx_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()
1362 die("Unrecoverable VSX Unavailable Exception", regs, SIGABRT); in vsx_unavailable_exception()
1366 void facility_unavailable_exception(struct pt_regs *regs) in facility_unavailable_exception() argument
1383 hv = (regs->trap == 0xf80); in facility_unavailable_exception()
1405 if (!arch_irq_disabled_regs(regs)) in facility_unavailable_exception()
1410 hv ? "Hypervisor " : "", facility, regs->nip, regs->msr); in facility_unavailable_exception()
1412 if (user_mode(regs)) { in facility_unavailable_exception()
1413 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in facility_unavailable_exception()
1417 die("Unexpected facility unavailable exception", regs, SIGABRT); in facility_unavailable_exception()
1423 void fp_unavailable_tm(struct pt_regs *regs) in fp_unavailable_tm() argument
1428 regs->nip, regs->msr); in fp_unavailable_tm()
1441 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in fp_unavailable_tm()
1452 if (regs->msr & MSR_VEC) { in fp_unavailable_tm()
1455 regs->msr |= MSR_VSX; in fp_unavailable_tm()
1459 void altivec_unavailable_tm(struct pt_regs *regs) in altivec_unavailable_tm() argument
1467 regs->nip, regs->msr); in altivec_unavailable_tm()
1469 regs->msr |= MSR_VEC; in altivec_unavailable_tm()
1473 if (regs->msr & MSR_FP) { in altivec_unavailable_tm()
1475 regs->msr |= MSR_VSX; in altivec_unavailable_tm()
1479 void vsx_unavailable_tm(struct pt_regs *regs) in vsx_unavailable_tm() argument
1481 unsigned long orig_msr = regs->msr; in vsx_unavailable_tm()
1492 regs->nip, regs->msr); in vsx_unavailable_tm()
1498 regs->msr |= MSR_VSX; in vsx_unavailable_tm()
1505 regs->msr |= MSR_VEC | MSR_FP | current->thread.fpexc_mode | in vsx_unavailable_tm()
1511 tm_recheckpoint(&current->thread, regs->msr & ~orig_msr); in vsx_unavailable_tm()
1520 void performance_monitor_exception(struct pt_regs *regs) in performance_monitor_exception() argument
1524 perf_irq(regs); in performance_monitor_exception()
1528 void SoftwareEmulation(struct pt_regs *regs) in SoftwareEmulation() argument
1530 CHECK_FULL_REGS(regs); in SoftwareEmulation()
1532 if (!user_mode(regs)) { in SoftwareEmulation()
1533 debugger(regs); in SoftwareEmulation()
1535 regs, SIGFPE); in SoftwareEmulation()
1538 if (!emulate_math(regs)) in SoftwareEmulation()
1541 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in SoftwareEmulation()
1546 static void handle_debug(struct pt_regs *regs, unsigned long debug_status) in handle_debug() argument
1558 do_send_trap(regs, mfspr(SPRN_DAC1), debug_status, TRAP_HWBKPT, in handle_debug()
1563 do_send_trap(regs, mfspr(SPRN_DAC2), debug_status, TRAP_HWBKPT, in handle_debug()
1569 do_send_trap(regs, mfspr(SPRN_IAC1), debug_status, TRAP_HWBKPT, in handle_debug()
1574 do_send_trap(regs, mfspr(SPRN_IAC2), debug_status, TRAP_HWBKPT, in handle_debug()
1580 do_send_trap(regs, mfspr(SPRN_IAC3), debug_status, TRAP_HWBKPT, in handle_debug()
1585 do_send_trap(regs, mfspr(SPRN_IAC4), debug_status, TRAP_HWBKPT, in handle_debug()
1596 regs->msr |= MSR_DE; in handle_debug()
1605 void __kprobes DebugException(struct pt_regs *regs, unsigned long debug_status) in DebugException() argument
1615 regs->msr &= ~MSR_DE; in DebugException()
1623 if (user_mode(regs)) { in DebugException()
1626 regs->msr |= MSR_DE; in DebugException()
1630 if (notify_die(DIE_SSTEP, "block_step", regs, 5, in DebugException()
1634 if (debugger_sstep(regs)) in DebugException()
1637 regs->msr &= ~MSR_DE; in DebugException()
1644 if (notify_die(DIE_SSTEP, "single_step", regs, 5, in DebugException()
1649 if (debugger_sstep(regs)) in DebugException()
1652 if (user_mode(regs)) { in DebugException()
1656 regs->msr |= MSR_DE; in DebugException()
1662 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in DebugException()
1664 handle_debug(regs, debug_status); in DebugException()
1669 void TAUException(struct pt_regs *regs) in TAUException() argument
1672 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1677 void altivec_assist_exception(struct pt_regs *regs) in altivec_assist_exception() argument
1681 if (!user_mode(regs)) { in altivec_assist_exception()
1683 " at %lx\n", regs->nip); in altivec_assist_exception()
1684 die("Kernel VMX/Altivec assist exception", regs, SIGILL); in altivec_assist_exception()
1689 PPC_WARN_EMULATED(altivec, regs); in altivec_assist_exception()
1690 err = emulate_altivec(regs); in altivec_assist_exception()
1692 regs->nip += 4; /* skip emulated instruction */ in altivec_assist_exception()
1693 emulate_single_step(regs); 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()
1711 void CacheLockingException(struct pt_regs *regs, unsigned long address, in CacheLockingException() argument
1719 _exception(SIGILL, regs, ILL_PRVOPC, regs->nip); in CacheLockingException()
1725 void SPEFloatingPointException(struct pt_regs *regs) in SPEFloatingPointException() argument
1727 extern int do_spe_mathemu(struct pt_regs *regs); in SPEFloatingPointException()
1752 err = do_spe_mathemu(regs); in SPEFloatingPointException()
1754 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointException()
1755 emulate_single_step(regs); in SPEFloatingPointException()
1761 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointException()
1765 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
1767 _exception(SIGFPE, regs, code, regs->nip); in SPEFloatingPointException()
1773 void SPEFloatingPointRoundException(struct pt_regs *regs) in SPEFloatingPointRoundException() argument
1775 extern int speround_handler(struct pt_regs *regs); in SPEFloatingPointRoundException()
1779 if (regs->msr & MSR_SPE) in SPEFloatingPointRoundException()
1783 regs->nip -= 4; in SPEFloatingPointRoundException()
1784 err = speround_handler(regs); in SPEFloatingPointRoundException()
1786 regs->nip += 4; /* skip emulated instruction */ in SPEFloatingPointRoundException()
1787 emulate_single_step(regs); in SPEFloatingPointRoundException()
1793 _exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip); in SPEFloatingPointRoundException()
1797 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
1799 _exception(SIGFPE, regs, 0, regs->nip); in SPEFloatingPointRoundException()
1811 void unrecoverable_exception(struct pt_regs *regs) in unrecoverable_exception() argument
1814 regs->trap, regs->nip); in unrecoverable_exception()
1815 die("Unrecoverable exception", regs, SIGABRT); in unrecoverable_exception()
1823 void __attribute__ ((weak)) WatchdogHandler(struct pt_regs *regs) in WatchdogHandler() argument
1830 void WatchdogException(struct pt_regs *regs) in WatchdogException() argument
1833 WatchdogHandler(regs); in WatchdogException()
1841 void kernel_bad_stack(struct pt_regs *regs) in kernel_bad_stack() argument
1844 regs->gpr[1], regs->nip); in kernel_bad_stack()
1845 die("Bad kernel stack pointer", regs, SIGABRT); in kernel_bad_stack()