2 * arch/s390/kernel/traps.c
5 * Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
6 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
7 * Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com),
9 * Derived from "arch/i386/kernel/traps.c"
10 * Copyright (C) 1991, 1992 Linus Torvalds
14 * 'Traps.c' handles hardware traps and faults after we have saved some
17 #include <linux/sched.h>
18 #include <linux/kernel.h>
19 #include <linux/string.h>
20 #include <linux/errno.h>
21 #include <linux/ptrace.h>
22 #include <linux/timer.h>
24 #include <linux/smp.h>
25 #include <linux/smp_lock.h>
26 #include <linux/init.h>
27 #include <linux/interrupt.h>
28 #include <linux/delay.h>
29 #include <linux/module.h>
30 #include <linux/kallsyms.h>
31 #include <linux/reboot.h>
32 #include <linux/kprobes.h>
34 #include <asm/system.h>
35 #include <asm/uaccess.h>
37 #include <asm/atomic.h>
38 #include <asm/mathemu.h>
39 #include <asm/cpcmd.h>
40 #include <asm/s390_ext.h>
41 #include <asm/lowcore.h>
42 #include <asm/debug.h>
43 #include <asm/kdebug.h>
45 /* Called from entry.S only */
46 extern void handle_per_exception(struct pt_regs *regs);
48 typedef void pgm_check_handler_t(struct pt_regs *, long);
49 pgm_check_handler_t *pgm_check_table[128];
52 #ifdef CONFIG_PROCESS_DEBUG
53 int sysctl_userprocess_debug = 1;
55 int sysctl_userprocess_debug = 0;
59 extern pgm_check_handler_t do_protection_exception;
60 extern pgm_check_handler_t do_dat_exception;
62 extern int pfault_init(void);
63 extern void pfault_fini(void);
64 extern void pfault_interrupt(struct pt_regs *regs, __u16 error_code);
65 static ext_int_info_t ext_int_pfault;
67 extern pgm_check_handler_t do_monitor_call;
69 #define stack_pointer ({ void **sp; asm("la %0,0(15)" : "=&d" (sp)); sp; })
72 #define FOURLONG "%08lx %08lx %08lx %08lx\n"
73 static int kstack_depth_to_print = 12;
74 #else /* CONFIG_64BIT */
75 #define FOURLONG "%016lx %016lx %016lx %016lx\n"
76 static int kstack_depth_to_print = 20;
77 #endif /* CONFIG_64BIT */
79 ATOMIC_NOTIFIER_HEAD(s390die_chain);
81 int register_die_notifier(struct notifier_block *nb)
83 return atomic_notifier_chain_register(&s390die_chain, nb);
85 EXPORT_SYMBOL(register_die_notifier);
87 int unregister_die_notifier(struct notifier_block *nb)
89 return atomic_notifier_chain_unregister(&s390die_chain, nb);
91 EXPORT_SYMBOL(unregister_die_notifier);
94 * For show_trace we have tree different stack to consider:
95 * - the panic stack which is used if the kernel stack has overflown
96 * - the asynchronous interrupt stack (cpu related)
97 * - the synchronous kernel stack (process related)
98 * The stack trace can start at any of the three stack and can potentially
99 * touch all of them. The order is: panic stack, async stack, sync stack.
102 __show_trace(unsigned long sp, unsigned long low, unsigned long high)
104 struct stack_frame *sf;
105 struct pt_regs *regs;
108 sp = sp & PSW_ADDR_INSN;
109 if (sp < low || sp > high - sizeof(*sf))
111 sf = (struct stack_frame *) sp;
112 printk("([<%016lx>] ", sf->gprs[8] & PSW_ADDR_INSN);
113 print_symbol("%s)\n", sf->gprs[8] & PSW_ADDR_INSN);
114 /* Follow the backchain. */
117 sp = sf->back_chain & PSW_ADDR_INSN;
120 if (sp <= low || sp > high - sizeof(*sf))
122 sf = (struct stack_frame *) sp;
123 printk(" [<%016lx>] ", sf->gprs[8] & PSW_ADDR_INSN);
124 print_symbol("%s\n", sf->gprs[8] & PSW_ADDR_INSN);
126 /* Zero backchain detected, check for interrupt frame. */
127 sp = (unsigned long) (sf + 1);
128 if (sp <= low || sp > high - sizeof(*regs))
130 regs = (struct pt_regs *) sp;
131 printk(" [<%016lx>] ", regs->psw.addr & PSW_ADDR_INSN);
132 print_symbol("%s\n", regs->psw.addr & PSW_ADDR_INSN);
138 void show_trace(struct task_struct *task, unsigned long * stack)
140 register unsigned long __r15 asm ("15");
143 sp = (unsigned long) stack;
145 sp = task ? task->thread.ksp : __r15;
146 printk("Call Trace:\n");
147 #ifdef CONFIG_CHECK_STACK
148 sp = __show_trace(sp, S390_lowcore.panic_stack - 4096,
149 S390_lowcore.panic_stack);
151 sp = __show_trace(sp, S390_lowcore.async_stack - ASYNC_SIZE,
152 S390_lowcore.async_stack);
154 __show_trace(sp, (unsigned long) task_stack_page(task),
155 (unsigned long) task_stack_page(task) + THREAD_SIZE);
157 __show_trace(sp, S390_lowcore.thread_info,
158 S390_lowcore.thread_info + THREAD_SIZE);
162 void show_stack(struct task_struct *task, unsigned long *sp)
164 register unsigned long * __r15 asm ("15");
165 unsigned long *stack;
169 stack = task ? (unsigned long *) task->thread.ksp : __r15;
173 for (i = 0; i < kstack_depth_to_print; i++) {
174 if (((addr_t) stack & (THREAD_SIZE-1)) == 0)
176 if (i && ((i * sizeof (long) % 32) == 0))
178 printk("%p ", (void *)*stack++);
181 show_trace(task, sp);
185 * The architecture-independent dump_stack generator
187 void dump_stack(void)
189 show_stack(NULL, NULL);
192 EXPORT_SYMBOL(dump_stack);
194 void show_registers(struct pt_regs *regs)
200 mode = (regs->psw.mask & PSW_MASK_PSTATE) ? "User" : "Krnl";
201 printk("%s PSW : %p %p",
202 mode, (void *) regs->psw.mask,
203 (void *) regs->psw.addr);
204 print_symbol(" (%s)\n", regs->psw.addr & PSW_ADDR_INSN);
205 printk("%s GPRS: " FOURLONG, mode,
206 regs->gprs[0], regs->gprs[1], regs->gprs[2], regs->gprs[3]);
208 regs->gprs[4], regs->gprs[5], regs->gprs[6], regs->gprs[7]);
210 regs->gprs[8], regs->gprs[9], regs->gprs[10], regs->gprs[11]);
212 regs->gprs[12], regs->gprs[13], regs->gprs[14], regs->gprs[15]);
215 /* FIXME: this isn't needed any more but it changes the ksymoops
216 * input. To remove or not to remove ... */
217 save_access_regs(regs->acrs);
218 printk("%s ACRS: %08x %08x %08x %08x\n", mode,
219 regs->acrs[0], regs->acrs[1], regs->acrs[2], regs->acrs[3]);
220 printk(" %08x %08x %08x %08x\n",
221 regs->acrs[4], regs->acrs[5], regs->acrs[6], regs->acrs[7]);
222 printk(" %08x %08x %08x %08x\n",
223 regs->acrs[8], regs->acrs[9], regs->acrs[10], regs->acrs[11]);
224 printk(" %08x %08x %08x %08x\n",
225 regs->acrs[12], regs->acrs[13], regs->acrs[14], regs->acrs[15]);
229 * Print the first 20 byte of the instruction stream at the
233 if (regs->psw.mask & PSW_MASK_PSTATE)
237 printk("%s Code: ", mode);
238 for (i = 0; i < 20; i++) {
240 if (__get_user(c, (char __user *)(regs->psw.addr + i))) {
251 /* This is called from fs/proc/array.c */
252 char *task_show_regs(struct task_struct *task, char *buffer)
254 struct pt_regs *regs;
256 regs = task_pt_regs(task);
257 buffer += sprintf(buffer, "task: %p, ksp: %p\n",
258 task, (void *)task->thread.ksp);
259 buffer += sprintf(buffer, "User PSW : %p %p\n",
260 (void *) regs->psw.mask, (void *)regs->psw.addr);
262 buffer += sprintf(buffer, "User GPRS: " FOURLONG,
263 regs->gprs[0], regs->gprs[1],
264 regs->gprs[2], regs->gprs[3]);
265 buffer += sprintf(buffer, " " FOURLONG,
266 regs->gprs[4], regs->gprs[5],
267 regs->gprs[6], regs->gprs[7]);
268 buffer += sprintf(buffer, " " FOURLONG,
269 regs->gprs[8], regs->gprs[9],
270 regs->gprs[10], regs->gprs[11]);
271 buffer += sprintf(buffer, " " FOURLONG,
272 regs->gprs[12], regs->gprs[13],
273 regs->gprs[14], regs->gprs[15]);
274 buffer += sprintf(buffer, "User ACRS: %08x %08x %08x %08x\n",
275 task->thread.acrs[0], task->thread.acrs[1],
276 task->thread.acrs[2], task->thread.acrs[3]);
277 buffer += sprintf(buffer, " %08x %08x %08x %08x\n",
278 task->thread.acrs[4], task->thread.acrs[5],
279 task->thread.acrs[6], task->thread.acrs[7]);
280 buffer += sprintf(buffer, " %08x %08x %08x %08x\n",
281 task->thread.acrs[8], task->thread.acrs[9],
282 task->thread.acrs[10], task->thread.acrs[11]);
283 buffer += sprintf(buffer, " %08x %08x %08x %08x\n",
284 task->thread.acrs[12], task->thread.acrs[13],
285 task->thread.acrs[14], task->thread.acrs[15]);
289 DEFINE_SPINLOCK(die_lock);
291 void die(const char * str, struct pt_regs * regs, long err)
293 static int die_counter;
297 spin_lock_irq(&die_lock);
299 printk("%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter);
302 spin_unlock_irq(&die_lock);
304 panic("Fatal exception in interrupt");
306 panic("Fatal exception: panic_on_oops");
311 report_user_fault(long interruption_code, struct pt_regs *regs)
313 #if defined(CONFIG_SYSCTL)
314 if (!sysctl_userprocess_debug)
317 #if defined(CONFIG_SYSCTL) || defined(CONFIG_PROCESS_DEBUG)
318 printk("User process fault: interruption code 0x%lX\n",
324 static void __kprobes inline do_trap(long interruption_code, int signr,
325 char *str, struct pt_regs *regs,
329 * We got all needed information from the lowcore and can
330 * now safely switch on interrupts.
332 if (regs->psw.mask & PSW_MASK_PSTATE)
335 if (notify_die(DIE_TRAP, str, regs, interruption_code,
336 interruption_code, signr) == NOTIFY_STOP)
339 if (regs->psw.mask & PSW_MASK_PSTATE) {
340 struct task_struct *tsk = current;
342 tsk->thread.trap_no = interruption_code & 0xffff;
343 force_sig_info(signr, info, tsk);
344 report_user_fault(interruption_code, regs);
346 const struct exception_table_entry *fixup;
347 fixup = search_exception_tables(regs->psw.addr & PSW_ADDR_INSN);
349 regs->psw.addr = fixup->fixup | PSW_ADDR_AMODE;
351 die(str, regs, interruption_code);
355 static inline void __user *get_check_address(struct pt_regs *regs)
357 return (void __user *)((regs->psw.addr-S390_lowcore.pgm_ilc) & PSW_ADDR_INSN);
360 void __kprobes do_single_step(struct pt_regs *regs)
362 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0,
363 SIGTRAP) == NOTIFY_STOP){
366 if ((current->ptrace & PT_PTRACED) != 0)
367 force_sig(SIGTRAP, current);
371 default_trap_handler(struct pt_regs * regs, long interruption_code)
373 if (regs->psw.mask & PSW_MASK_PSTATE) {
376 report_user_fault(interruption_code, regs);
378 die("Unknown program exception", regs, interruption_code);
381 #define DO_ERROR_INFO(signr, str, name, sicode, siaddr) \
382 asmlinkage void name(struct pt_regs * regs, long interruption_code) \
385 info.si_signo = signr; \
387 info.si_code = sicode; \
388 info.si_addr = siaddr; \
389 do_trap(interruption_code, signr, str, regs, &info); \
392 DO_ERROR_INFO(SIGILL, "addressing exception", addressing_exception,
393 ILL_ILLADR, get_check_address(regs))
394 DO_ERROR_INFO(SIGILL, "execute exception", execute_exception,
395 ILL_ILLOPN, get_check_address(regs))
396 DO_ERROR_INFO(SIGFPE, "fixpoint divide exception", divide_exception,
397 FPE_INTDIV, get_check_address(regs))
398 DO_ERROR_INFO(SIGFPE, "fixpoint overflow exception", overflow_exception,
399 FPE_INTOVF, get_check_address(regs))
400 DO_ERROR_INFO(SIGFPE, "HFP overflow exception", hfp_overflow_exception,
401 FPE_FLTOVF, get_check_address(regs))
402 DO_ERROR_INFO(SIGFPE, "HFP underflow exception", hfp_underflow_exception,
403 FPE_FLTUND, get_check_address(regs))
404 DO_ERROR_INFO(SIGFPE, "HFP significance exception", hfp_significance_exception,
405 FPE_FLTRES, get_check_address(regs))
406 DO_ERROR_INFO(SIGFPE, "HFP divide exception", hfp_divide_exception,
407 FPE_FLTDIV, get_check_address(regs))
408 DO_ERROR_INFO(SIGFPE, "HFP square root exception", hfp_sqrt_exception,
409 FPE_FLTINV, get_check_address(regs))
410 DO_ERROR_INFO(SIGILL, "operand exception", operand_exception,
411 ILL_ILLOPN, get_check_address(regs))
412 DO_ERROR_INFO(SIGILL, "privileged operation", privileged_op,
413 ILL_PRVOPC, get_check_address(regs))
414 DO_ERROR_INFO(SIGILL, "special operation exception", special_op_exception,
415 ILL_ILLOPN, get_check_address(regs))
416 DO_ERROR_INFO(SIGILL, "translation exception", translation_exception,
417 ILL_ILLOPN, get_check_address(regs))
420 do_fp_trap(struct pt_regs *regs, void __user *location,
421 int fpc, long interruption_code)
425 si.si_signo = SIGFPE;
427 si.si_addr = location;
429 /* FPC[2] is Data Exception Code */
430 if ((fpc & 0x00000300) == 0) {
431 /* bits 6 and 7 of DXC are 0 iff IEEE exception */
432 if (fpc & 0x8000) /* invalid fp operation */
433 si.si_code = FPE_FLTINV;
434 else if (fpc & 0x4000) /* div by 0 */
435 si.si_code = FPE_FLTDIV;
436 else if (fpc & 0x2000) /* overflow */
437 si.si_code = FPE_FLTOVF;
438 else if (fpc & 0x1000) /* underflow */
439 si.si_code = FPE_FLTUND;
440 else if (fpc & 0x0800) /* inexact */
441 si.si_code = FPE_FLTRES;
443 current->thread.ieee_instruction_pointer = (addr_t) location;
444 do_trap(interruption_code, SIGFPE,
445 "floating point exception", regs, &si);
448 asmlinkage void illegal_op(struct pt_regs * regs, long interruption_code)
452 __u16 __user *location;
455 location = get_check_address(regs);
458 * We got all needed information from the lowcore and can
459 * now safely switch on interrupts.
461 if (regs->psw.mask & PSW_MASK_PSTATE)
464 if (regs->psw.mask & PSW_MASK_PSTATE) {
465 get_user(*((__u16 *) opcode), (__u16 __user *) location);
466 if (*((__u16 *) opcode) == S390_BREAKPOINT_U16) {
467 if (current->ptrace & PT_PTRACED)
468 force_sig(SIGTRAP, current);
471 #ifdef CONFIG_MATHEMU
472 } else if (opcode[0] == 0xb3) {
473 get_user(*((__u16 *) (opcode+2)), location+1);
474 signal = math_emu_b3(opcode, regs);
475 } else if (opcode[0] == 0xed) {
476 get_user(*((__u32 *) (opcode+2)),
477 (__u32 *)(location+1));
478 signal = math_emu_ed(opcode, regs);
479 } else if (*((__u16 *) opcode) == 0xb299) {
480 get_user(*((__u16 *) (opcode+2)), location+1);
481 signal = math_emu_srnm(opcode, regs);
482 } else if (*((__u16 *) opcode) == 0xb29c) {
483 get_user(*((__u16 *) (opcode+2)), location+1);
484 signal = math_emu_stfpc(opcode, regs);
485 } else if (*((__u16 *) opcode) == 0xb29d) {
486 get_user(*((__u16 *) (opcode+2)), location+1);
487 signal = math_emu_lfpc(opcode, regs);
494 #ifdef CONFIG_MATHEMU
495 if (signal == SIGFPE)
496 do_fp_trap(regs, location,
497 current->thread.fp_regs.fpc, interruption_code);
498 else if (signal == SIGSEGV) {
499 info.si_signo = signal;
501 info.si_code = SEGV_MAPERR;
502 info.si_addr = (void *) location;
503 do_trap(interruption_code, signal,
504 "user address fault", regs, &info);
508 info.si_signo = signal;
510 info.si_code = ILL_ILLOPC;
511 info.si_addr = (void __user *) location;
512 do_trap(interruption_code, signal,
513 "illegal operation", regs, &info);
518 #ifdef CONFIG_MATHEMU
520 specification_exception(struct pt_regs * regs, long interruption_code)
523 __u16 *location = NULL;
526 location = (__u16 *) get_check_address(regs);
529 * We got all needed information from the lowcore and can
530 * now safely switch on interrupts.
532 if (regs->psw.mask & PSW_MASK_PSTATE)
535 if (regs->psw.mask & PSW_MASK_PSTATE) {
536 get_user(*((__u16 *) opcode), location);
538 case 0x28: /* LDR Rx,Ry */
539 signal = math_emu_ldr(opcode);
541 case 0x38: /* LER Rx,Ry */
542 signal = math_emu_ler(opcode);
544 case 0x60: /* STD R,D(X,B) */
545 get_user(*((__u16 *) (opcode+2)), location+1);
546 signal = math_emu_std(opcode, regs);
548 case 0x68: /* LD R,D(X,B) */
549 get_user(*((__u16 *) (opcode+2)), location+1);
550 signal = math_emu_ld(opcode, regs);
552 case 0x70: /* STE R,D(X,B) */
553 get_user(*((__u16 *) (opcode+2)), location+1);
554 signal = math_emu_ste(opcode, regs);
556 case 0x78: /* LE R,D(X,B) */
557 get_user(*((__u16 *) (opcode+2)), location+1);
558 signal = math_emu_le(opcode, regs);
567 if (signal == SIGFPE)
568 do_fp_trap(regs, location,
569 current->thread.fp_regs.fpc, interruption_code);
572 info.si_signo = signal;
574 info.si_code = ILL_ILLOPN;
575 info.si_addr = location;
576 do_trap(interruption_code, signal,
577 "specification exception", regs, &info);
581 DO_ERROR_INFO(SIGILL, "specification exception", specification_exception,
582 ILL_ILLOPN, get_check_address(regs));
585 asmlinkage void data_exception(struct pt_regs * regs, long interruption_code)
587 __u16 __user *location;
590 location = get_check_address(regs);
593 * We got all needed information from the lowcore and can
594 * now safely switch on interrupts.
596 if (regs->psw.mask & PSW_MASK_PSTATE)
599 if (MACHINE_HAS_IEEE)
600 asm volatile("stfpc %0" : "=m" (current->thread.fp_regs.fpc));
602 #ifdef CONFIG_MATHEMU
603 else if (regs->psw.mask & PSW_MASK_PSTATE) {
605 get_user(*((__u16 *) opcode), location);
607 case 0x28: /* LDR Rx,Ry */
608 signal = math_emu_ldr(opcode);
610 case 0x38: /* LER Rx,Ry */
611 signal = math_emu_ler(opcode);
613 case 0x60: /* STD R,D(X,B) */
614 get_user(*((__u16 *) (opcode+2)), location+1);
615 signal = math_emu_std(opcode, regs);
617 case 0x68: /* LD R,D(X,B) */
618 get_user(*((__u16 *) (opcode+2)), location+1);
619 signal = math_emu_ld(opcode, regs);
621 case 0x70: /* STE R,D(X,B) */
622 get_user(*((__u16 *) (opcode+2)), location+1);
623 signal = math_emu_ste(opcode, regs);
625 case 0x78: /* LE R,D(X,B) */
626 get_user(*((__u16 *) (opcode+2)), location+1);
627 signal = math_emu_le(opcode, regs);
630 get_user(*((__u16 *) (opcode+2)), location+1);
631 signal = math_emu_b3(opcode, regs);
634 get_user(*((__u32 *) (opcode+2)),
635 (__u32 *)(location+1));
636 signal = math_emu_ed(opcode, regs);
639 if (opcode[1] == 0x99) {
640 get_user(*((__u16 *) (opcode+2)), location+1);
641 signal = math_emu_srnm(opcode, regs);
642 } else if (opcode[1] == 0x9c) {
643 get_user(*((__u16 *) (opcode+2)), location+1);
644 signal = math_emu_stfpc(opcode, regs);
645 } else if (opcode[1] == 0x9d) {
646 get_user(*((__u16 *) (opcode+2)), location+1);
647 signal = math_emu_lfpc(opcode, regs);
657 if (current->thread.fp_regs.fpc & FPC_DXC_MASK)
661 if (signal == SIGFPE)
662 do_fp_trap(regs, location,
663 current->thread.fp_regs.fpc, interruption_code);
666 info.si_signo = signal;
668 info.si_code = ILL_ILLOPN;
669 info.si_addr = location;
670 do_trap(interruption_code, signal,
671 "data exception", regs, &info);
675 asmlinkage void space_switch_exception(struct pt_regs * regs, long int_code)
679 /* Set user psw back to home space mode. */
680 if (regs->psw.mask & PSW_MASK_PSTATE)
681 regs->psw.mask |= PSW_ASC_HOME;
683 info.si_signo = SIGILL;
685 info.si_code = ILL_PRVOPC;
686 info.si_addr = get_check_address(regs);
687 do_trap(int_code, SIGILL, "space switch event", regs, &info);
690 asmlinkage void kernel_stack_overflow(struct pt_regs * regs)
693 printk("Kernel stack overflow.\n");
696 panic("Corrupt kernel stack, can't continue.");
699 /* init is done in lowcore.S and head.S */
701 void __init trap_init(void)
705 for (i = 0; i < 128; i++)
706 pgm_check_table[i] = &default_trap_handler;
707 pgm_check_table[1] = &illegal_op;
708 pgm_check_table[2] = &privileged_op;
709 pgm_check_table[3] = &execute_exception;
710 pgm_check_table[4] = &do_protection_exception;
711 pgm_check_table[5] = &addressing_exception;
712 pgm_check_table[6] = &specification_exception;
713 pgm_check_table[7] = &data_exception;
714 pgm_check_table[8] = &overflow_exception;
715 pgm_check_table[9] = ÷_exception;
716 pgm_check_table[0x0A] = &overflow_exception;
717 pgm_check_table[0x0B] = ÷_exception;
718 pgm_check_table[0x0C] = &hfp_overflow_exception;
719 pgm_check_table[0x0D] = &hfp_underflow_exception;
720 pgm_check_table[0x0E] = &hfp_significance_exception;
721 pgm_check_table[0x0F] = &hfp_divide_exception;
722 pgm_check_table[0x10] = &do_dat_exception;
723 pgm_check_table[0x11] = &do_dat_exception;
724 pgm_check_table[0x12] = &translation_exception;
725 pgm_check_table[0x13] = &special_op_exception;
727 pgm_check_table[0x38] = &do_dat_exception;
728 pgm_check_table[0x39] = &do_dat_exception;
729 pgm_check_table[0x3A] = &do_dat_exception;
730 pgm_check_table[0x3B] = &do_dat_exception;
731 #endif /* CONFIG_64BIT */
732 pgm_check_table[0x15] = &operand_exception;
733 pgm_check_table[0x1C] = &space_switch_exception;
734 pgm_check_table[0x1D] = &hfp_sqrt_exception;
735 pgm_check_table[0x40] = &do_monitor_call;
740 * Try to get pfault pseudo page faults going.
742 if (register_early_external_interrupt(0x2603, pfault_interrupt,
743 &ext_int_pfault) != 0)
744 panic("Couldn't request external interrupt 0x2603");
746 if (pfault_init() == 0)
749 /* Tough luck, no pfault. */
750 unregister_early_external_interrupt(0x2603, pfault_interrupt,