aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault.c
AgeCommit message (Expand)AuthorFilesLines
2025-05-26Merge tag 'x86-debug-2025-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+1
2025-05-16x86/tracing, x86/mm: Move page fault tracepoints to genericNam Cao1-1/+1
2025-05-16x86/tracing, x86/mm: Remove redundant trace_pagefault_keyNam Cao1-3/+0
2025-04-01x86/mm: Stop prefetching current->mm->mmap_lock on page faultsMateusz Guzik1-3/+0
2025-01-31Merge tag 'x86-mm-2025-01-31' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+0
2024-12-20x86/mm: Remove unnecessary include of <linux/extable.h>Sebastian Andrzej Siewior1-1/+0
2024-12-17x86/mm: Convert unreachable() to BUG()Peter Zijlstra1-1/+1
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-9/+15
2024-05-13Merge tag 'x86-mm-2024-05-13' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+4
2024-05-01x86/mm: Remove broken vsyscall emulation code from the page fault codeLinus Torvalds1-32/+1
2024-04-25x86: mm: accelerate pagefault when badaccessKefeng Wang1-9/+14
2024-04-25fix missing vmalloc.h includesKent Overstreet1-0/+1
2024-04-14x86/mm: Use lookup_address_in_pgd_attr() in show_fault_oops()Juergen Gross1-3/+4
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+8
2024-03-11Merge tag 'x86_mm_for_6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-13/+14
2024-03-11Merge tag 'x86_sev_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+5
2024-03-11Merge tag 'x86-fred-2024-03-10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+4
2024-03-06mm/treewide: replace pud_large() with pud_leaf()Peter Xu1-2/+2
2024-03-06mm/treewide: replace pmd_large() with pmd_leaf()Peter Xu1-4/+4
2024-03-06mm/x86: replace p4d_large() with p4d_leaf()Peter Xu1-2/+2
2024-02-15x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.hHou Tao1-9/+0
2024-01-31x86/fred: Make exc_page_fault() work for FREDH. Peter Anvin (Intel)1-1/+4
2024-01-29x86/fault: Dump RMP table information when RMP page faults occurMichael Roth1-0/+4
2024-01-29x86/traps: Define RMP violation #PF error codeBrijesh Singh1-0/+1
2024-01-26x86/mm: Get rid of conditional IF flag handling in page fault pathLinus Torvalds1-13/+14
2023-12-29arch/mm/fault: fix major fault accounting when retrying under per-VMA lockSuren Baghdasaryan1-0/+2
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+22
2023-08-24mm: drop per-VMA lock when returning VM_FAULT_RETRY or VM_FAULT_COMPLETEDSuren Baghdasaryan1-1/+2
2023-08-18mm: remove CONFIG_PER_VMA_LOCK ifdefsMatthew Wilcox (Oracle)1-4/+0
2023-07-11x86/mm: Check shadow stack page fault errorsRick Edgecombe1-0/+22
2023-06-24mm: introduce new 'lock_mm_and_find_vma()' page fault helperLinus Torvalds1-50/+2
2023-04-05x86/mm: try VMA lock-based page fault handling firstSuren Baghdasaryan1-0/+36
2023-02-02Revert "x86: kmsan: sync metadata pages on page fault"Alexander Potapenko1-22/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+22
2022-10-03x86: kmsan: sync metadata pages on page faultAlexander Potapenko1-1/+22
2022-08-24x86/mm: Print likely CPU at segfault timeRik van Riel1-0/+10
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+4
2022-07-05context_tracking: Take IRQ eqs entrypoints over RCUFrederic Weisbecker1-1/+1
2022-06-16mm: avoid unnecessary page fault retires on shared memory typesPeter Xu1-0/+4
2022-04-04x86/fault: Cast an argument to the proper address space in prefetch()Lukas Bulwahn1-1/+1
2022-01-15mm: remove redundant check about FAULT_FLAG_ALLOW_RETRY bitQi Zheng1-2/+1
2021-10-04Merge branch x86/cc into x86/coreBorislav Petkov1-8/+18
2021-09-21x86/mm/64: Improve stack overflow warningsPeter Zijlstra1-10/+10
2021-09-20x86/fault: Fix wrong signal when vsyscall fails with pkeyJiashuo Liang1-8/+18
2021-07-07Merge tag 'x86-fpu-2021-07-07' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2021-06-28Merge tag 'perf-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2021-06-23x86/cpu: Sanitize X86_FEATURE_OSPKEThomas Gleixner1-1/+1
2021-06-04x86/fault: Don't send SIGSEGV twice on SEGV_PKUERRJiashuo Liang1-2/+2
2021-06-01x86,kprobes: WARN if kprobes tries to handle a faultPeter Zijlstra1-2/+2
2021-03-21x86: Fix various typos in comments, take #2Ingo Molnar1-1/+1
2021-03-18x86: Fix various typos in commentsIngo Molnar1-1/+1
2021-02-26kfence: add test suiteMarco Elver1-1/+2
2021-02-26kfence: use pt_regs to generate stack trace on faultsMarco Elver1-1/+1
2021-02-26x86, kfence: enable KFENCE for x86Alexander Potapenko1-0/+5
2021-02-12Merge branch 'x86/cleanups' into x86/mmIngo Molnar1-30/+0
2021-02-10x86/{fault,efi}: Fix and rename efi_recover_from_page_fault()Andy Lutomirski1-5/+6
2021-02-10x86/fault: Don't run fixups for SMAP violationsAndy Lutomirski1-3/+6
2021-02-10x86/fault: Don't look for extable entries for SMEP violationsAndy Lutomirski1-2/+2
2021-02-10x86/fault: Rename no_context() to kernelmode_fixup_or_oops()Andy Lutomirski1-18/+10
2021-02-10x86/fault: Bypass no_context() for implicit kernel faults from usermodeAndy Lutomirski1-27/+32
2021-02-10x86/fault: Split the OOPS code out from no_context()Andy Lutomirski1-54/+62
2021-02-10x86/fault: Improve kernel-executing-user-memory handlingAndy Lutomirski1-3/+18
2021-02-10x86/fault: Correct a few user vs kernel checks wrt WRUSSAndy Lutomirski1-4/+11
2021-02-10x86/fault: Document the locking in the fault_signal_pending() pathAndy Lutomirski1-1/+4
2021-02-10x86/fault/32: Move is_f00f_bug() to do_kern_addr_fault()Andy Lutomirski1-5/+7
2021-02-10x86/fault: Fold mm_fault_error() into do_user_addr_fault()Andy Lutomirski1-52/+45
2021-02-10x86/fault: Skip the AMD erratum #91 workaround on unaffected CPUsAndy Lutomirski1-0/+13
2021-02-10x86/fault: Fix AMD erratum #91 errata fixup for user codeAndy Lutomirski1-10/+17
2021-01-21x86/vm86/32: Remove VM86_SCREEN_BITMAP supportAndy Lutomirski1-30/+0
2020-11-18x86/traps: Attempt to fixup exceptions in vDSO before signalingSean Christopherson1-0/+7
2020-11-18x86/fault: Add a helper function to sanitize error codeSean Christopherson1-12/+14
2020-11-17x86/mm: Signal SIGSEGV with PF_SGXSean Christopherson1-0/+12
2020-10-23Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-5/+8
2020-10-21x86/kvm: Update the comment about asynchronous page fault in exc_page_fault()Vitaly Kuznetsov1-5/+8
2020-10-12Merge tag 'ras_updates_for_v5.10' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2020-10-07x86/mce: Decode a kernel instruction to determine if it is copying from userTony Luck1-1/+1
2020-09-03x86/mm/32: Bring back vmalloc faulting on x86_32Joerg Roedel1-0/+78
2020-08-12mm/x86: use general page fault accountingPeter Xu1-15/+2
2020-08-12mm: do page fault accounting in handle_mm_faultPeter Xu1-1/+1
2020-08-07mm: remove unneeded includes of <asm/pgalloc.h>Mike Rapoport1-1/+0
2020-07-24x86/entry: Cleanup idtentry_enter/exitThomas Gleixner1-3/+3
2020-07-06x86/entry: Rename idtentry_enter/exit_cond_rcu() to idtentry_enter/exit()Andy Lutomirski1-3/+3
2020-06-18maccess: rename probe_kernel_address to get_kernel_nofaultChristoph Hellwig1-3/+3
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig1-1/+1
2020-06-11x86/idt: Consolidate idt functionalityThomas Gleixner1-12/+4
2020-06-11x86/entry: Switch page fault exception to IDTENTRY_RAWThomas Gleixner1-21/+48
2020-06-11x86/entry: Convert Invalid Opcode exception to IDTENTRYThomas Gleixner1-1/+1
2020-06-11x86/traps: Make interrupt enable/disable symmetric in C codeThomas Gleixner1-2/+13
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-6/+6
2020-06-09mmap locking API: rename mmap_sem to mmap_lockMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-4/+4
2020-06-03Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+19
2020-06-02x86/mm: remove vmalloc faultingJoerg Roedel1-134/+0
2020-06-02mm: remove vmalloc_sync_(un)mappings()Joerg Roedel1-37/+0
2020-06-02x86/mm/32: implement arch_sync_kernel_mappings()Joerg Roedel1-9/+16
2020-05-19x86/kvm: Handle async page faults directly through do_page_fault()Andy Lutomirski1-0/+19
2020-04-07mm/vma: make vma_is_accessible() available for general useAnshuman Khandual1-1/+1
2020-04-02mm: allow VM_FAULT_RETRY for multiple timesPeter Xu1-2/+0
2020-04-02mm: introduce FAULT_FLAG_DEFAULTPeter Xu1-1/+1
2020-04-02x86/mm: use helper fault_signal_pending()Peter Xu1-15/+13
2020-03-21x86/mm: split vmalloc_sync_all()Joerg Roedel1-2/+24
2020-01-28Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-27/+12
2020-01-07x86/context-tracking: Remove exception_enter/exit() from do_page_fault()Frederic Weisbecker1-27/+12
2019-12-10mm, x86/mm: Untangle address space layout definitions from basic pgtable type...Ingo Molnar1-0/+1
2019-11-26x86/mm/32: Sync only to VMALLOC_END in vmalloc_sync_all()Joerg Roedel1-1/+1
2019-07-22x86/mm: Sync also unmappings in vmalloc_sync_all()Joerg Roedel1-8/+5
2019-07-22x86/mm: Check for pfn instead of page in vmalloc_sync_one()Joerg Roedel1-1/+1
2019-07-20Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-19/+11
2019-07-17x86/mm, tracing: Fix CR2 corruptionPeter Zijlstra1-19/+11
2019-07-16mm, kprobes: generalize and rename notify_page_fault() as kprobe_page_fault()Anshuman Khandual1-19/+2
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+5
2019-06-28x86/vsyscall: Document odd SIGSEGV error code for vsyscallsAndy Lutomirski1-0/+7
2019-06-28x86/vsyscall: Show something useful on a read faultAndy Lutomirski1-6/+5
2019-06-03signal/x86: Move tsk inside of CONFIG_MEMORY_FAILURE in do_sigbusEric W. Biederman1-2/+1
2019-05-29signal: Remove the task parameter from force_sig_faultEric W. Biederman1-4/+3
2019-05-29signal: Explicitly call force_sig_fault on currentEric W. Biederman1-3/+3
2019-05-27signal: Remove task parameter from force_sig_mceerrEric W. Biederman1-1/+1
2019-05-06Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-37/+18
2019-04-24x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()Jiri Kosina1-2/+0
2019-04-21x86/fault: Make fault messages more succinctBorislav Petkov1-3/+3
2019-04-19x86/fault: Decode and print #PF oops in human readable formSean Christopherson1-31/+11
2019-04-19x86/fault: Reword initial BUG message for unhandled page faultsSean Christopherson1-3/+6
2019-04-17x86/traps: Use cpu_entry_area instead of orig_istThomas Gleixner1-1/+2
2019-04-17x86/exceptions: Make IST index zero basedThomas Gleixner1-1/+1
2019-03-07mm: create the new vm_fault_t typeSouptick Joarder1-1/+1
2019-01-29x86/fault: Fix sign-extend unintended sign extensionColin Ian King1-1/+1
2018-11-22x86/fault: Clean up the page fault oops decoder a bitIngo Molnar1-15/+23
2018-11-22x86/fault: Decode page fault OOPSes betterAndy Lutomirski1-0/+84
2018-11-22x86/fault: Don't try to recover from an implicit supervisor accessAndy Lutomirski1-0/+10
2018-11-22x86/fault: Remove sw_error_codeAndy Lutomirski1-39/+11
2018-11-20x86/fault: Don't set thread.cr2, etc before OOPSingAndy Lutomirski1-8/+0
2018-11-20x86/fault: Make error_code sanitization more robustAndy Lutomirski1-9/+21
2018-11-20x86/fault: Improve the condition for signalling vs OOPSingAndy Lutomirski1-1/+1
2018-11-20x86/fault: Fix SMAP #PF handling buglet for implicit supervisor accessesAndy Lutomirski1-3/+6
2018-11-20x86/fault: Fold smap_violation() into do_user_addr_fault()Andy Lutomirski1-17/+6
2018-11-20x86/cpufeatures, x86/fault: Mark SMAP as disabled when configured outAndy Lutomirski1-4/+1
2018-11-20x86/fault: Check user_mode(regs) when avoiding an mmap_sem deadlockAndy Lutomirski1-5/+2
2018-11-12x86/mm/fault: Allow stack access below %rspWaiman Long1-12/+0
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-10-24Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-109/+58
2018-10-23Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-99/+189
2018-10-23Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-12/+14
2018-10-21x86/mm: Kill stray kernel fault handling commentDave Hansen1-1/+0
2018-10-09x86/mm: Remove spurious fault pkey checkDave Hansen1-6/+7
2018-10-09x86/mm/vsyscall: Consider vsyscall page part of user address spaceDave Hansen1-13/+25
2018-10-09x86/mm: Add vsyscall address helperDave Hansen1-1/+10
2018-10-09x86/mm: Fix exception table commentsDave Hansen1-13/+15
2018-10-09x86/mm: Add clarifying comments for user addr spaceDave Hansen1-0/+8
2018-10-09x86/mm: Break out user address space handlingDave Hansen1-19/+28
2018-10-09x86/mm: Break out kernel address space handlingDave Hansen1-39/+62
2018-10-09x86/mm: Clarify hardware vs. software "error_code"Dave Hansen1-25/+52
2018-09-26efi/x86: Handle page faults occurring while running EFI runtime servicesSai Praneeth1-0/+9
2018-09-21signal/x86: Pass pkey by valueEric W. Biederman1-7/+7
2018-09-21signal/x86: Replace force_sig_info_fault with force_sig_faultEric W. Biederman1-19/+4
2018-09-21signal/x86: Call force_sig_pkuerr from __bad_area_nosemaphoreEric W. Biederman1-52/+24
2018-09-21signal/x86: Pass pkey not vma into __bad_areaEric W. Biederman1-12/+8
2018-09-21signal/x86: Don't compute pkey in __do_page_faultEric W. Biederman1-4/+0
2018-09-21signal/x86: Remove pkey parameter from mm_fault_errorEric W. Biederman1-2/+2
2018-09-21signal/x86: Remove the pkey parameter from do_sigbusEric W. Biederman1-3/+3
2018-09-21signal/x86: Remove pkey parameter from bad_area_nosemaphoreEric W. Biederman1-7/+7
2018-09-19signal/x86: Move MCE error reporting out of force_sig_info_faultEric W. Biederman1-13/+13
2018-09-03x86/fault: Plumb error code and fault address through to fault handlersJann Horn1-1/+1
2018-09-03x86/kprobes: Refactor kprobes_fault() like kprobe_exceptions_notify()Jann Horn1-11/+13
2018-08-31x86/dumpstack: Don't dump kernel memory based on usermode RIPJann Horn1-1/+1
2018-08-17mm: convert return type of handle_mm_fault() caller to vm_fault_tSouptick Joarder1-2/+3
2018-07-30x86/mm: Remove in_nmi() warning from vmalloc_fault()Joerg Roedel1-2/+0
2018-06-27x86/mm: Clean up the printk()s in show_fault_oops()Dmitry Vyukov1-7/+4
2018-06-26x86/mm: Get rid of KERN_CONT in show_fault_oops()Dmitry Vyukov1-7/+3
2018-06-04Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+5
2018-06-04Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2018-05-19x86/mm: Stop pretending pgtable_l5_enabled is a variableKirill A. Shutemov1-2/+2
2018-04-26x86/fault: Dump user opcode bytes on fatal faultsBorislav Petkov1-2/+5
2018-04-25signal: Ensure every siginfo we send has all bits initializedEric W. Biederman1-0/+1
2018-04-02Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-41/+19
2018-04-02Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+0
2018-03-15x86/mm: Remove pointless checks in vmalloc_faultToshi Kani1-39/+17
2018-03-14Merge branch 'x86/urgent' into x86/mm to pick up dependenciesThomas Gleixner1-3/+3
2018-03-14x86/mm: Fix vmalloc_fault to use pXd_largeToshi Kani1-3/+3
2018-03-12Merge branch 'x86/pti' into x86/mm, to pick up dependenciesIngo Molnar1-4/+0
2018-03-08x86/fault: Do not print IP in show_fault_oops()Borislav Petkov1-1/+0
2018-02-20x86/mm: Remove stale comment about KMEMCHECKJann Horn1-4/+0
2018-02-16x86/mm: Replace compile-time checks for 5-level paging with runtime-time checksKirill A. Shutemov1-2/+2
2018-01-26x86/mm/64: Tighten up vmalloc_fault() sanity checks on 5-level kernelsAndy Lutomirski1-13/+9
2018-01-14x86/mm/pkeys: Fix fill_sig_info_pkeyEric W. Biederman1-3/+4
2017-12-19Do not hash userspace addresses in fault handlersKees Cook1-1/+1
2017-12-05x86: don't hash faulting address in oops printoutLinus Torvalds1-1/+1
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-6/+0
2017-11-07Merge branch 'linus' into x86/asm, to pick up fixes and resolve conflictsIngo Molnar1-1/+11
2017-11-02Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-11-01x86/mm: Relocate page fault error codes to traps.hRicardo Neri1-54/+34
2017-11-01x86/mm: fix use-after-free of vma during userfaultfd faultVlastimil Babka1-1/+10
2017-09-25x86/mm: Fix fault error path using unsafe vma pointerLaurent Dufour1-23/+24
2017-09-23x86/asm: Fix inline asm call constraints for ClangJosh Poimboeuf1-2/+1
2017-09-04Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-36/+13
2017-08-31x86/mm: Use pr_cont() in dump_pagetable()Jan Beulich1-11/+15
2017-08-29x86/tracing: Disentangle pagefault and resched IPI tracing keyThomas Gleixner1-1/+1
2017-08-29x86/traps: Simplify pagefault tracing logicThomas Gleixner1-36/+13
2017-06-13x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()Andy Lutomirski1-5/+5
2017-03-14x86/mm/vmalloc: Add 5-level paging supportKirill A. Shutemov1-3/+24