aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/fault.c
AgeCommit message (Expand)AuthorFilesLines
2025-05-15powerpc/mm/fault: Use str_write_read() helper functionThorsten Blum1-2/+3
2024-10-23powerpc/mm/fault: Fix kfence page fault reportingRitesh Harjani (IBM)1-2/+8
2024-06-28powerpc: Replace CONFIG_4xx with CONFIG_44xMichael Ellerman1-2/+2
2024-04-25powerpc: mm: accelerate pagefault when badaccessKefeng Wang1-13/+20
2023-12-29arch/mm/fault: fix major fault accounting when retrying under per-VMA lockSuren Baghdasaryan1-0/+2
2023-10-19powerpc: Support execute-only on all powerpcChristophe Leroy1-4/+5
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-06-24powerpc/mm: Convert to using lock_mm_and_find_vma()Michael Ellerman1-36/+3
2023-04-05powerc/mm: try VMA lock-based page fault handling firstLaurent Dufour1-0/+37
2023-03-15powerpc/mm: Fix false detection of read faultsRussell Currey1-3/+8
2022-09-28powerpc: Ignore DSI error caused by the copy/paste instructionHaren Myneni1-1/+16
2022-08-26powerpc/mm: Support execute-only memory on the Radix MMURussell Currey1-1/+5
2022-06-16mm: avoid unnecessary page fault retires on shared memory typesPeter Xu1-0/+5
2022-03-08powerpc: Move C prototypes out of asm-prototypes.hChristophe Leroy1-1/+0
2022-03-08powerpc/64s: Don't use DSISR for SLB faultsMichael Ellerman1-4/+10
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+2
2022-01-15mm: remove redundant check about FAULT_FLAG_ALLOW_RETRY bitQi Zheng1-4/+2
2021-12-02powerpc/64s: Move and rename do_bad_slb_fault as it is not hash specificNicholas Piggin1-0/+24
2021-07-05powerpc/mm: Fix lockup on kernel exec faultChristophe Leroy1-3/+1
2021-04-17powerpc/traps: Enhance readability for trap typesXiongwei Song1-8/+8
2021-04-14powerpc: clean up do_page_faultNicholas Piggin1-19/+8
2021-04-14powerpc/64e/interrupt: handle bad_page_fault in CNicholas Piggin1-4/+1
2021-03-29powerpc/mm: Remove unneeded #ifdef CONFIG_PPC_MEM_KEYSChristophe Leroy1-6/+1
2021-03-29powerpc/32: Call bad_page_fault() from do_page_fault()Christophe Leroy1-1/+1
2021-03-24powerpc: Enable KFENCE for PPC32Christophe Leroy1-1/+6
2021-02-11powerpc: remove interrupt handler functions from the noinstr sectionNicholas Piggin1-1/+0
2021-02-09powerpc/64: context tracking move to interrupt wrappersNicholas Piggin1-8/+1
2021-02-09powerpc/64s/hash: improve context tracking of hash faultsNicholas Piggin1-11/+28
2021-02-09powerpc: add interrupt_cond_local_irq_enable helperNicholas Piggin1-3/+1
2021-02-09powerpc: convert interrupt handlers to use wrappersNicholas Piggin1-2/+3
2021-02-09powerpc/mm: Remove stale do_page_fault comment referring to SLB faultsNicholas Piggin1-7/+5
2021-02-09powerpc/64s: move bad_page_fault handling to CNicholas Piggin1-0/+4
2021-02-09powerpc: rearrange do_page_fault error case to be inside exception_enterNicholas Piggin1-9/+14
2021-02-09powerpc/64s: add do_bad_page_fault_segv handlerNicholas Piggin1-0/+7
2021-02-09powerpc: bad_page_fault get registers from regsNicholas Piggin1-3/+3
2021-02-09powerpc: remove arguments from fault handler functionsNicholas Piggin1-3/+2
2020-12-09powerpc/fault: Perform exception fixup in do_page_fault()Christophe Leroy1-9/+24
2020-12-09powerpc/fault: Avoid heavy search_exception_tables() verificationChristophe Leroy1-15/+13
2020-12-09powerpc/mm: Move the WARN() out of bad_kuap_fault()Christophe Leroy1-1/+1
2020-12-09powerpc/fault: Unnest definition of page_fault_is_write() and page_fault_is_b...Christophe Leroy1-3/+5
2020-12-09powerpc/mm: sanity_check_fault() should work for all, not only BOOK3SChristophe Leroy1-5/+3
2020-12-08powerpc/book3s64/kuap: Improve error reporting with KUAPAneesh Kumar K.V1-2/+2
2020-12-04powerpc/book3s64/kuap: Improve error reporting with KUAPAneesh Kumar K.V1-1/+1
2020-08-12mm/powerpc: use general page fault accountingPeter Xu1-8/+3
2020-08-12mm: do page fault accounting in handle_mm_faultPeter Xu1-1/+1
2020-07-29powerpc/mm: Remove custom stack expansion checkingMichael Ellerman1-104/+5
2020-07-29powerpc: Allow 4224 bytes of stack expansion for the signal frameMichael Ellerman1-2/+5
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-5/+5
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-6/+6
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-05-19powerpc: Add a probe_user_read_inst() functionJordan Niethe1-2/+2
2020-05-19powerpc: Use a datatype for instructionsJordan Niethe1-2/+2
2020-05-19powerpc: Use a function for getting the instruction op codeJordan Niethe1-1/+2
2020-05-19powerpc: Use an accessor for instructionsJordan Niethe1-3/+3
2020-05-05powerpc/pkeys: Check vma before returning key fault error to the userAneesh Kumar K.V1-8/+0
2020-05-05powerpc/pkeys: Avoid using lockless page table walkAneesh Kumar K.V1-23/+60
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-6/+0
2020-04-02mm: introduce FAULT_FLAG_DEFAULTPeter Xu1-1/+1
2020-04-02powerpc/mm: use helper fault_signal_pending()Peter Xu1-8/+4
2020-02-01Merge branch 'topic/user-access-begin' into nextMichael Ellerman1-1/+1
2020-01-28powerpc/32s: Fix bad_kuap_fault()Christophe Leroy1-1/+1
2020-01-27powerpc/mm: Don't log user reads to 0xffffffffChristophe Leroy1-0/+3
2020-01-26powerpc: use probe_user_read() and probe_user_write()Christophe Leroy1-5/+1
2019-11-18powerpc/mm: Show if a bad page fault on data is read or write.Christophe Leroy1-2/+4
2019-07-16mm, kprobes: generalize and rename notify_page_fault() as kprobe_page_fault()Anshuman Khandual1-21/+2
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-29signal: Remove the task parameter from force_sig_faultEric W. Biederman1-1/+1
2019-05-27signal: Remove task parameter from force_sig_mceerrEric W. Biederman1-2/+1
2019-04-21powerpc/mm: Detect bad KUAP faultsMichael Ellerman1-3/+22
2019-04-21powerpc: Add a framework for Kernel Userspace Access ProtectionChristophe Leroy1-4/+15
2019-04-21powerpc: Add skeleton for Kernel Userspace Execution PreventionChristophe Leroy1-5/+4
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-1/+1
2018-12-27Merge tag 'powerpc-4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-16/+33
2018-12-21powerpc/mm: Fix reporting of kernel execute faults on the 8xxChristophe Leroy1-1/+3
2018-12-20powerpc/mm: Make NULL pointer deferences explicit on bad page faults.Christophe Leroy1-8/+9
2018-12-20powerpc/mm/hash: Handle user access of kernel address gracefullyAneesh Kumar K.V1-5/+19
2018-12-17KVM: PPC: Book3S HV: Implement functions to access quadrants 1 & 2Suraj Jitindar Singh1-0/+1
2018-11-26powerpc: change CONFIG_PPC_STD_MMU to CONFIG_PPC_BOOK3SChristophe Leroy1-2/+2
2018-09-21signal/powerpc: Use force_sig_fault where appropriateEric W. Biederman1-8/+1
2018-09-21signal/powerpc: Specialize _exception_pkey for handling pkey exceptionsEric W. Biederman1-1/+1
2018-09-21signal/powerpc: Remove pkey parameter from __bad_area_nosemaphoreEric W. Biederman1-5/+4
2018-09-21signal/powerpc: Call _exception_pkey directly from bad_key_fault_exceptionEric W. Biederman1-1/+11
2018-09-21signal/powerpc: Remove pkey parameter from __bad_areaEric W. Biederman1-5/+4
2018-09-21signal/powerpc: Use force_sig_mceerr as appropriateEric W. Biederman1-7/+11
2018-08-17Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+4
2018-08-17mm: convert return type of handle_mm_fault() caller to vm_fault_tSouptick Joarder1-3/+4
2018-07-30powerpc: remove unnecessary inclusion of asm/tlbflush.hChristophe Leroy1-1/+0
2018-06-07Merge tag 'powerpc-4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-29/+47
2018-05-25powerpc/mm: Only read faulting instruction when necessary in do_page_fault()Christophe Leroy1-16/+34
2018-05-25powerpc/mm: Use instruction symbolic names in store_updates_sp()Christophe Leroy1-13/+13
2018-04-25signal: Ensure every siginfo we send has all bits initializedEric W. Biederman1-0/+1
2018-04-04powerpc/mm/keys: Update documentation and remove unnecessary checkAneesh Kumar K.V1-16/+12
2018-01-21Merge branch 'fixes' into nextMichael Ellerman1-1/+6
2018-01-20powerpc: Deliver SEGV signal on pkey violationRam Pai1-12/+27
2018-01-20powerpc: Handle exceptions caused by pkey violationRam Pai1-0/+22
2018-01-16powerpc: Use the TRAP macro whenever comparing a trap numberBenjamin Herrenschmidt1-1/+1
2018-01-02powerpc/mm: Fix SEGV on mapped region to return SEGV_ACCERRJohn Sperbeck1-1/+6
2017-08-10powerpc/8xx: Use symbolic names for DSISR bits in DSIChristophe Leroy1-1/+1
2017-08-10powerpc/8xx: Getting rid of remaining use of CONFIG_8xxChristophe Leroy1-1/+1
2017-08-03powerpc: Remove old unused icswx based coprocessor supportBenjamin Herrenschmidt1-15/+0
2017-08-03powerpc/mm: Cleanup check for stack expansionBenjamin Herrenschmidt1-36/+48
2017-08-03powerpc/mm: Don't lose "major" fault indication on retryBenjamin Herrenschmidt1-2/+3
2017-08-03powerpc/mm: Move page fault VMA access checks to a helperBenjamin Herrenschmidt1-24/+33
2017-08-03powerpc/mm: Set fault flags earlierBenjamin Herrenschmidt1-1/+4
2017-08-03powerpc/mm: Add a bunch of (un)likely annotations to do_page_faultBenjamin Herrenschmidt1-10/+10
2017-08-03powerpc/mm: Move/simplify faulthandler_disabled() and !mm checkBenjamin Herrenschmidt1-14/+13
2017-08-03powerpc/mm: Move the DSISR_PROTFAULT sanity checkBenjamin Herrenschmidt1-33/+42
2017-08-03powerpc/mm: Cosmetic fix to page fault accountingBenjamin Herrenschmidt1-4/+2
2017-08-03powerpc/mm: Move CMO accounting out of do_page_fault into a helperBenjamin Herrenschmidt1-11/+18
2017-08-03powerpc/mm: Rework mm_fault_error()Benjamin Herrenschmidt1-38/+28
2017-08-03powerpc/mm: Make bad_area* helper functionsBenjamin Herrenschmidt1-28/+50
2017-08-03powerpc/mm: Fix reporting of kernel execute faultsBenjamin Herrenschmidt1-6/+15
2017-08-03powerpc/mm: Simplify returns from __do_page_faultBenjamin Herrenschmidt1-23/+16
2017-08-03powerpc/mm: Move debugger check to notify_page_fault()Benjamin Herrenschmidt1-13/+8
2017-08-03powerpc/mm: Overhaul handling of bad page faultsBenjamin Herrenschmidt1-18/+14
2017-08-03powerpc/mm: Move error_code checks for bad faults earlierBenjamin Herrenschmidt1-15/+20
2017-08-03powerpc/mm: Move out definition of CPU specific is_write bitsBenjamin Herrenschmidt1-7/+11
2017-08-03powerpc/6xx: Handle DABR match before calling do_page_faultBenjamin Herrenschmidt1-9/+0
2017-08-02powerpc/mm: Pre-filter SRR1 bits before do_page_fault()Benjamin Herrenschmidt1-12/+2
2017-08-02powerpc/mm: Move exception_enter/exit to a do_page_fault wrapperBenjamin Herrenschmidt1-3/+11
2017-06-02powerpc/mm: The 8xx doesn't call do_page_fault() for breakpointsChristophe Leroy1-1/+1
2017-06-02powerpc/mm: Evaluate user_mode(regs) only once in do_page_fault()Christophe Leroy1-6/+7
2017-06-02powerpc/mm: Remove a redundant test in do_page_fault()Christophe Leroy1-1/+1
2017-06-02powerpc/mm: Only call store_updates_sp() on stores in do_page_fault()Christophe Leroy1-1/+1
2017-04-03powerpc: Avoid taking a data miss on every userspace instruction missAnton Blanchard1-1/+1
2017-03-21powerpc/mm: Move mmap_sem unlocking in do_page_fault()Laurent Dufour1-15/+4
2017-03-21powerpc/mm: Handle VM_FAULT_RETRY earlierLaurent Dufour1-29/+38
2017-03-21powerpc/mm: Move mmap_sem unlock up from do_sigbusLaurent Dufour1-3/+3
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-22Merge tag 'powerpc-4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-10/+33
2017-02-15powerpc/mm: Update PROTFAULT handling in the page fault pathAneesh Kumar K.V1-10/+33
2017-02-08powerpc/mm: Fix spurrious segfaults on radix with autonumaBenjamin Herrenschmidt1-16/+5
2016-11-30powerpc/mm: Fix no execute fault handling on pre-POWER5Balbir Singh1-1/+9
2016-11-25powerpc/mm: Detect instruction fetch denied and reportBalbir Singh1-0/+7
2016-11-14powerpc: Add support for relative exception tablesNicholas Piggin1-1/+1
2016-09-19powerpc: Use kprobe blacklist for exception handlersNicholas Piggin1-2/+2
2016-08-22powerpc: migrate exception table users off module.h and onto extable.hPaul Gortmaker1-1/+1
2016-07-26mm: do not pass mm_struct into handle_mm_faultKirill A. Shutemov1-1/+1
2015-07-06powerpc: Add plain English description for alignment exception oopsesAnton Blanchard1-0/+4
2015-05-19mm/fault, arch: Use pagefault_disable() to check for disabled pagefaults in t...David Hildenbrand1-4/+5
2015-02-12ppc64: add paranoid warnings for unexpected DSISR_PROTFAULTMel Gorman1-11/+9
2015-02-12mm: convert p[te|md]_numa users to p[te|md]_protnone_numaMel Gorman1-5/+0
2015-01-29vm: add VM_FAULT_SIGSEGV handling supportLinus Torvalds1-0/+2
2014-11-07powerpc/8xx: Invalidate non present TLB as early as possibleLEROY Christophe1-7/+0
2014-10-13Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+1
2014-10-02powerpc: Fill in si_addr_lsb siginfo fieldAnton Blanchard1-0/+8
2014-10-02powerpc: Add VM_FAULT_HWPOISON handling to powerpc page fault handlerAnton Blanchard1-6/+11
2014-10-02powerpc: Simplify do_sigbusAnton Blanchard1-10/+10
2014-09-19sched: Add helper for task stack page overrun checkingAaron Tomlin1-3/+1
2014-09-19init/main.c: Give init_task a canaryAaron Tomlin1-2/+1
2013-09-12arch: mm: pass userspace fault flag to generic fault handlerJohannes Weiner1-3/+4
2013-09-11powerpc: Fix possible deadlock on page faultAneesh Kumar K.V1-3/+10
2013-08-14powerpc: Fix little endian lppaca, slb_shadow and dtl_entryAnton Blanchard1-1/+5
2013-05-14powerpc: Exception hooks for context tracking subsystemLi Zhong1-14/+27
2013-01-10powerpc: Hardware breakpoints rewrite to handle non DABR breakpoint registersMichael Neuling1-2/+2
2012-12-12mm, oom: remove statically defined arch functions of same nameDavid Rientjes1-15/+12
2012-10-09readahead: fault retry breaks mmap file read random detectionShaohua Li1-0/+1
2012-10-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-0/+1
2012-09-21userns: On ppc convert current_uid from a kuid before printing.Eric W. Biederman1-1/+1
2012-09-05powerpc: Add trap_nr to thread_structAnanth N Mavinakayanahalli1-0/+1
2012-03-28Disintegrate asm/system.h for PowerPCDavid Howells1-1/+1
2012-03-09powerpc: Add support for page fault retry and fatal signalsBenjamin Herrenschmidt1-50/+120
2012-03-09powerpc: Call do_page_fault() with interrupts offBenjamin Herrenschmidt1-0/+11
2011-11-25powerpc/icswx: Simple ACOP fault handlerJimi Xenidis1-0/+17
2011-07-22Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+3
2011-07-01perf: Remove the nmi parameter from the swevent and overflow interfacePeter Zijlstra1-3/+3
2011-06-29arch/powerpc: use printk_ratelimited instead of printk_ratelimitChristian Dietrich1-5/+5
2010-09-02powerpc: Check end of stack canary at oops timeAnton Blanchard1-0/+6
2010-05-06powerpc: Invoke oom-killer from page faultBenjamin Herrenschmidt1-10/+4
2010-04-07powerpc: Disable interrupts for data breakpoint exceptionsK.Prasad1-2/+3
2009-12-09powerpc/8xx: Invalidate non present TLBsJoakim Tjernlund1-1/+7
2009-09-21perf: Do the big rename: Performance Counters -> Performance EventsIngo Molnar1-4/+4
2009-06-21Move FAULT_FLAG_xyz into handle_mm_fault() callersLinus Torvalds1-1/+1
2009-06-11perf_counter: Standardize event namesPeter Zijlstra1-3/+3
2009-04-08perf_counter: allow for data addresses to be recordedPeter Zijlstra1-3/+5
2009-04-06perf_counter: provide major/minor page fault software eventsPeter Zijlstra1-1/+4
2009-04-06perf_counter: provide pagefault software eventsPeter Zijlstra1-0/+3
2009-02-11powerpc/mm: Rework I$/D$ coherency (v3)Benjamin Herrenschmidt1-29/+17
2008-12-28Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/p...Linus Torvalds1-3/+11
2008-12-21powerpc/mm: Add SMP support to no-hash TLB handlingBenjamin Herrenschmidt1-1/+1
2008-11-19powerpc: Correct page-in counter for CMM with 64k pagesRobert Jennings1-1/+1
2008-11-14CRED: Wrap task credential accesses in the PowerPC archDavid Howells1-1/+1
2008-11-05powerpc: Update page-in counter for CMMBrian King1-2/+10
2008-07-25powerpc: BookE hardware watchpoint supportLuis Machado1-25/+0
2008-07-09powerpc: rework 4xx PTE access and TLB missBenjamin Herrenschmidt1-1/+2
2008-01-25[POWERPC] Make setjmp/longjmp code usable outside of xmonMichael Neuling1-4/+2
2007-12-03[POWERPC] Add missing spaces in printk formatsjoe@perches.com1-1/+1
2007-11-01[POWERPC] 4xx: Fix 4xx flush_tlb_page()Benjamin Herrenschmidt1-1/+1
2007-10-19pid namespaces: define is_global_init() and is_container_init()Serge E. Hallyn1-1/+1
2007-07-22[POWERPC] Allow exec faults on readable areas on classic 32-bit PowerPCPaul Mackerras1-1/+7
2007-07-19mm: fault feedback #2Nick Piggin1-15/+11
2007-07-11Merge branch 'for-2.6.23' into mergePaul Mackerras1-1/+1
2007-06-20[POWERPC] PowerPC: Prevent data exception in kernel space (32-bit)Segher Boessenkool1-3/+2
2007-06-14[POWERPC] During VM oom condition, kill all threads in process groupwill schmidt1-1/+1
2007-05-08Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus...Linus Torvalds1-27/+15
2007-05-08move die notifier handling to common codeChristoph Hellwig1-1/+1
2007-05-02[POWERPC] Minor fault path optimizationChristoph Hellwig1-27/+15