Lines Matching +full:no +full:- +full:dump +full:- +full:oops

1 // SPDX-License-Identifier: GPL-2.0-only
6 * Modifications for ARM processor (c) 1995-2004 Russell King
15 #include <linux/page-flags.h>
34 return addr >= TASK_SIZE && ULONG_MAX - addr >= size; in copy_from_kernel_nofault_allowed()
38 * This is useful to dump out the page tables associated with
136 pr_alert("8<--- cut here ---\n"); in die_kernel_fault()
142 die("Oops", regs, fsr); in die_kernel_fault()
148 * Oops. The kernel tried to access some page that wasn't present.
162 * No handler, we'll have to terminate things with extreme prejudice. in __do_kernel_fault()
193 pr_err("8<--- cut here ---\n"); in __do_user_fault()
195 tsk->comm, sig, addr, fsr); in __do_user_fault()
196 show_pte(KERN_ERR, tsk->mm, addr); in __do_user_fault()
204 tsk->comm, addr); in __do_user_fault()
207 tsk->thread.address = addr; in __do_user_fault()
208 tsk->thread.error_code = fsr; in __do_user_fault()
209 tsk->thread.trap_no = 14; in __do_user_fault()
216 struct mm_struct *mm = tsk->active_mm; in do_bad_area()
220 * have no context to handle this fault with. in do_bad_area()
254 return !(svcregs->ttbcr & TTBCR_EPD0); in ttbr0_usermode_access_allowed()
266 struct mm_struct *mm = current->mm; in do_page_fault()
282 * If we're in an interrupt or have no user in do_page_fault()
321 if (!(vma->vm_flags & vm_flags)) { in do_page_fault()
360 if (!(vma->vm_flags & vm_flags)) { in do_page_fault()
401 * have no context to handle this fault with. in do_page_fault()
410 * got oom-killed) in do_page_fault()
457 * a signal, fixup the exception, or oops the kernel.
541 * They can happen due to a __{get,put}_user during an oops.
570 #include "fsr-3level.c"
572 #include "fsr-2level.c"
596 if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) in do_DataAbort()
599 pr_alert("8<--- cut here ---\n"); in do_DataAbort()
601 inf->name, fsr, addr); in do_DataAbort()
602 show_pte(KERN_ALERT, current->mm, addr); in do_DataAbort()
604 arm_notify_die("", regs, inf->sig, inf->code, (void __user *)addr, in do_DataAbort()
626 if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs)) in do_PrefetchAbort()
629 pr_alert("8<--- cut here ---\n"); in do_PrefetchAbort()
631 inf->name, ifsr, addr); in do_PrefetchAbort()
633 arm_notify_die("", regs, inf->sig, inf->code, (void __user *)addr, in do_PrefetchAbort()
664 "I-cache maintenance fault"); in exceptions_init()