Lines Matching full:fault

3  * Based on arch/arm/mm/fault.c
278 * If we now have a valid translation, treat the translation fault as in is_spurious_el1_translation_fault()
285 * If we got a different type of fault from the AT instruction, in is_spurious_el1_translation_fault()
286 * treat the translation fault as spurious. in is_spurious_el1_translation_fault()
336 * tag fault. in do_tag_recovery()
362 * Are we prepared to handle this kernel fault? in __do_kernel_fault()
369 "Ignoring spurious kernel translation fault at virtual address %016lx\n", addr)) in __do_kernel_fault()
406 * an alignment fault not caused by the memory type would take in set_thread_esr()
407 * precedence over translation fault for a real access to empty in set_thread_esr()
408 * space. Unfortunately we can't easily distinguish "alignment fault in set_thread_esr()
409 * not caused by memory type" from "alignment fault caused by memory in set_thread_esr()
411 * fault.) in set_thread_esr()
421 * We always report the ESR as if the fault was taken in set_thread_esr()
423 * clear. (In fact it always will be a fault to EL1.) in set_thread_esr()
431 * Claim a level 0 translation fault. in set_thread_esr()
461 * handle this fault with. in do_bad_area()
497 * Check that the permissions on the VMA allow for the fault which in __do_page_fault()
512 * should fault. EL0 cannot issue DC IVAC (undef).
524 vm_fault_t fault; in do_page_fault() local
534 * the fault. in do_page_fault()
544 * for the fault to be benign, __do_page_fault() would check in do_page_fault()
549 /* It was exec fault */ in do_page_fault()
553 /* It was write fault */ in do_page_fault()
557 /* It was read fault */ in do_page_fault()
602 fault = __do_page_fault(mm, addr, mm_flags, vm_flags, regs); in do_page_fault()
605 if (fault_signal_pending(fault, regs)) { in do_page_fault()
611 /* The fault is fully completed (including releasing mmap lock) */ in do_page_fault()
612 if (fault & VM_FAULT_COMPLETED) in do_page_fault()
615 if (fault & VM_FAULT_RETRY) { in do_page_fault()
624 if (likely(!(fault & (VM_FAULT_ERROR | VM_FAULT_BADMAP | in do_page_fault()
630 * handle this fault with. in do_page_fault()
635 if (fault & VM_FAULT_OOM) { in do_page_fault()
638 * userspace (which will retry the fault, or kill us if we got in do_page_fault()
647 if (fault & VM_FAULT_SIGBUS) { in do_page_fault()
650 * this page fault. in do_page_fault()
653 } else if (fault & (VM_FAULT_HWPOISON_LARGE | VM_FAULT_HWPOISON)) { in do_page_fault()
657 if (fault & VM_FAULT_HWPOISON_LARGE) in do_page_fault()
658 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); in do_page_fault()
667 fault == VM_FAULT_BADACCESS ? SEGV_ACCERR : SEGV_MAPERR, in do_page_fault()
703 return 1; /* "fault" */ in do_bad()
750 { do_bad, SIGKILL, SI_KERNEL, "ttbr address size fault" },
751 { do_bad, SIGKILL, SI_KERNEL, "level 1 address size fault" },
752 { do_bad, SIGKILL, SI_KERNEL, "level 2 address size fault" },
753 { do_bad, SIGKILL, SI_KERNEL, "level 3 address size fault" },
754 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 0 translation fault" },
755 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 translation fault" },
756 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 2 translation fault" },
757 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" },
759 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" },
760 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" },
761 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" },
763 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" },
764 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
765 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 permission fault" },
767 { do_tag_check_fault, SIGSEGV, SEGV_MTESERR, "synchronous tag check fault" },
783 { do_alignment_fault, SIGBUS, BUS_ADRALN, "alignment fault" },
799 { do_bad, SIGKILL, SI_KERNEL, "Unsupported atomic hardware update fault" },
802 { do_bad, SIGKILL, SI_KERNEL, "implementation fault (lockdown abort)" },
803 { do_bad, SIGBUS, BUS_OBJERR, "implementation fault (unsupported exclusive)" },
811 { do_bad, SIGKILL, SI_KERNEL, "section domain fault" },
812 { do_bad, SIGKILL, SI_KERNEL, "page domain fault" },
828 * At this point we have an unrecognized fault type whose tag bits may in do_mem_abort()
916 * Used during anonymous page fault handling.