aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-22powerpc: Use user_mode() macro when possibleChristophe Leroy1-2/+2
2023-12-01powerpc: Fix build error due to is_valid_bugaddr()Michael Ellerman1-0/+2
2023-10-19powerpc: Remove extern from function implementationsBenjamin Gray1-2/+2
2023-10-18Merge branch fixes into nextMichael Ellerman1-20/+36
2023-10-10powerpc: Only define __parse_fpscr() when requiredChristophe Leroy1-0/+2
2023-09-18powerpc/dexcr: Move HASHCHK trap handlerBenjamin Gray1-20/+36
2023-08-18powerpc/4xx: Remove WatchdogHandler() to fix no previous prototype errorChristophe Leroy1-12/+1
2023-08-02powerpc/kuap: Simplify KUAP lock/unlock on BOOK3S/32Christophe Leroy1-1/+1
2023-07-17Revert "powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() wit...Christophe Leroy1-7/+2
2023-06-19powerpc/dexcr: Handle hashchk exceptionBenjamin Gray1-0/+16
2022-09-28powerpc/64s: early boot machine check handlerNicholas Piggin1-0/+14
2022-09-26powerpc: Change CONFIG_E500 to CONFIG_PPC_E500Christophe Leroy1-1/+1
2022-09-26powerpc: Remove CONFIG_FSL_BOOKEChristophe Leroy1-2/+2
2022-09-08powerpc/math-emu: Inhibit W=1 warningsChristophe Leroy1-2/+0
2022-07-28powerpc: make facility_unavailable_exception 64sRashmica Gupta1-1/+1
2022-05-22powerpc/kasan: Don't instrument non-maskable or raw interruptsDaniel Axtens1-2/+4
2021-12-13exit: Add and use make_task_dead.Eric W. Biederman1-4/+4
2021-10-07powerpc/64s: Fix unrecoverable MCE calling async handler from NMINicholas Piggin1-13/+18
2021-10-07powerpc/traps: do not enable irqs in _exceptionNicholas Piggin1-3/+9
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+0
2021-09-08trap: cleanup trap_init()Kefeng Wang1-5/+0
2021-09-03Merge tag 'powerpc-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-9/+14
2021-09-03Merge branch 'fixes' into nextMichael Ellerman1-2/+7
2021-09-01Merge tag 'printk-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2021-08-30Merge branch 'rework/printk_safe-removal' into for-linusPetr Mladek1-1/+0
2021-08-26powerpc: Refactor verification of MSR_RIChristophe Leroy1-4/+4
2021-08-26powerpc: Add esr as a synonym for pt_regs.dsisrXiongwei Song1-1/+1
2021-08-15powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm gotoChristophe Leroy1-2/+7
2021-08-13powerpc: rename powerpc_debugfs_root to arch_debugfs_dirAneesh Kumar K.V1-2/+2
2021-08-12powerpc/interrupt: Do not call single_step_exception() from other exceptionsChristophe Leroy1-2/+7
2021-07-26printk: remove safe buffersJohn Ogness1-1/+0
2021-06-25powerpc/64s: avoid reloading (H)SRR registers if they are still validNicholas Piggin1-21/+21
2021-06-16powerpc/traps: Start using PPC_RAW_xx() macrosChristophe Leroy1-3/+4
2021-04-17powerpc/traps: Enhance readability for trap typesXiongwei Song1-3/+3
2021-04-14powerpc: remove partial register save logicNicholas Piggin1-1/+0
2021-04-14powerpc/64e/interrupt: NMI save irq soft-mask state in CNicholas Piggin1-1/+12
2021-04-03powerpc/uaccess: Remove __get/put_user_inatomic()Christophe Leroy1-1/+1
2021-03-29powerpc/math: Fix missing __user qualifier for get_user() and other sparse wa...Christophe Leroy1-1/+0
2021-03-29powerpc/32: Remove ksp_limitChristophe Leroy1-9/+0
2021-03-29powerpc/traps: Declare unrecoverable_exception() as __noreturnChristophe Leroy1-1/+4
2021-03-24powerpc: Remove duplicate includesZhang Yunkai1-1/+0
2021-03-24powerpc: Fix spelling of "droping" to "dropping" in traps.cBhaskar Chowdhury1-1/+1
2021-03-12powerpc/traps: unrecoverable_exception() is not an interrupt handlerChristophe Leroy1-1/+1
2021-02-11powerpc: remove interrupt handler functions from the noinstr sectionNicholas Piggin1-9/+0
2021-02-09powerpc: move NMI entry/exit code into wrapperNicholas Piggin1-29/+6
2021-02-09powerpc: handle irq_enter/irq_exit in interrupt handler wrappersNicholas Piggin1-7/+3
2021-02-09powerpc/64: context tracking move to interrupt wrappersNicholas Piggin1-51/+7
2021-02-09powerpc: add interrupt_cond_local_irq_enable helperNicholas Piggin1-17/+7
2021-02-09powerpc: convert interrupt handlers to use wrappersNicholas Piggin1-33/+53
2021-02-09powerpc/traps: factor common code from program check and emulation assistNicholas Piggin1-14/+24
2021-02-09powerpc: improve handling of unrecoverable system resetNicholas Piggin1-1/+4
2021-02-09powerpc/mce: ensure machine check handler always tests RINicholas Piggin1-1/+1
2021-02-09powerpc: introduce die_mceNicholas Piggin1-6/+15
2021-02-09powerpc: add and use unknown_async_exceptionNicholas Piggin1-0/+12
2021-02-09powerpc/perf: move perf irq/nmi handling details into traps.cNicholas Piggin1-1/+30
2021-02-09powerpc/traps: add NOKPROBE_SYMBOL for sreset and mceNicholas Piggin1-0/+2
2021-02-09powerpc: bad_page_fault get registers from regsNicholas Piggin1-1/+1
2021-02-09powerpc: DebugException remove argsNicholas Piggin1-1/+3
2021-02-09powerpc/fsl_booke/32: CacheLockingException remove argsNicholas Piggin1-2/+3
2020-12-05powerpc: Retire e200 core (mpc555x processor)Christophe Leroy1-25/+0
2020-12-04powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode.Aneesh Kumar K.V1-6/+0
2020-12-04powerpc/signal: Don't manage floating point regs when no FPUChristophe Leroy1-0/+2
2020-10-20powerpc: Fix undetected data corruption with P9N DD2.1 VSX CI load emulationMichael Neuling1-1/+1
2020-10-08powerpc: Remove support for PowerPC 601Christophe Leroy1-4/+0
2020-07-29powerpc/32s: Remove TAUException wart in traps.cMichael Ellerman1-8/+0
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-05Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-7/+42
2020-05-19hardirq/nmi: Allow nested nmi_enter()Peter Zijlstra1-16/+6
2020-05-19powerpc: Support prefixed instructions in alignment handlerJordan Niethe1-1/+18
2020-05-19powerpc: Enable Prefixed InstructionsAlistair Popple1-0/+1
2020-05-19powerpc/traps: Make unrecoverable NMIs die instead of panicNicholas Piggin1-3/+3
2020-05-19powerpc/traps: Do not trace system resetNicholas Piggin1-0/+5
2020-05-19powerpc/64s: machine check interrupt update NMI accountingNicholas Piggin1-1/+13
2020-03-04powerpc/kernel: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-20/+5
2020-01-27powerpc/32: Add early stack overflow detection with VMAP stack.Christophe Leroy1-0/+9
2019-11-13powerpc/book3s/mm: Update Oops message to print the correct translation in useAneesh Kumar K.V1-4/+11
2019-09-18powerpc: dump kernel log before carrying out fadump or kdumpGanesh Goudar1-0/+1
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+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-2/+2
2019-05-18panic: add an option to replay all the printk message in bufferFeng Tang1-1/+1
2019-05-03powerpc/fsl_booke: ensure SPEFloatingPointException() reenables interruptsChristophe Leroy1-0/+8
2019-03-13powerpc/64s: Include <asm/nmi.h> header file to fix a warningMathieu Malaterre1-0/+1
2019-03-02powerpc/64s: Fix unrelocated interrupt trampoline address testNicholas Piggin1-4/+5
2019-02-26powerpc/64s: system reset interrupt preserve HSRRsNicholas Piggin1-1/+24
2019-02-26powerpc/64s: Fix HV NMI vs HV interrupt recoverability testNicholas Piggin1-0/+66
2019-02-22powerpc/traps: fix recoverability of machine check handling on book3s/32Christophe Leroy1-4/+4
2019-01-30powerpc/traps: Fix the message printed when stack overflowsChristophe Leroy1-2/+2
2019-01-15powerpc/64s: Add MMU type to __die() outputMichael Ellerman1-1/+3
2019-01-15powerpc: Show PAGE_SIZE in __die() outputMichael Ellerman1-1/+2
2019-01-15powerpc: Stop using pr_cont() in __die()Michael Ellerman1-18/+8
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-1/+1
2018-12-21powerpc/tm: Print scratch valueBreno Leitao1-1/+2
2018-10-26Merge tag 'powerpc-4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-63/+60
2018-10-20powerpc/traps: restore recoverability of machine_check interruptsChristophe Leroy1-2/+7
2018-10-19powerpc/traps: remove redundant in_interrupt panic in die()Christophe Leroy1-2/+0
2018-10-19powerpc/traps: fix machine check handlers to use pr_cont()Christophe Leroy1-39/+39
2018-10-03powerpc/64s: consolidate MCE counter increment.Michal Suchanek1-3/+1
2018-10-03powerpc/tm: Print 64-bits MSRBreno Leitao1-1/+1
2018-10-03powerpc/traps: merge unrecoverable_exception() and nonrecoverable_exception()Christophe Leroy1-10/+2
2018-09-21signal/powerpc: Simplify _exception_pkey by using force_sig_pkuerrEric W. Biederman1-9/+1
2018-09-21signal/powerpc: Specialize _exception_pkey for handling pkey exceptionsEric W. Biederman1-5/+5
2018-09-21signal/powerpc: Call force_sig_fault from _exceptionEric W. Biederman1-1/+4
2018-09-21signal/powerpc: Factor the common exception code into exception_commonEric W. Biederman1-5/+13
2018-09-19signal: Simplify tracehook_report_syscall_exitEric W. Biederman1-5/+2
2018-09-17powerpc/tm: Fix HTM documentationBreno Leitao1-6/+10
2018-08-20powerpc/traps: Avoid rate limit messages from show unhandled signalsMichael Ellerman1-7/+6
2018-08-08powerpc/traps: Show instructions on exceptionsMurilo Opsfelder Araujo1-0/+3
2018-08-08powerpc/traps: Print VMA for unhandled signalsMurilo Opsfelder Araujo1-2/+19
2018-08-08powerpc/traps: Use %lx format in show_signal_msg()Murilo Opsfelder Araujo1-8/+3
2018-08-08powerpc/traps: Use an explicit ratelimit state for show_signal_msg()Murilo Opsfelder Araujo1-5/+16
2018-08-08powerpc/traps: Print unhandled signals in a separate functionMurilo Opsfelder Araujo1-10/+16
2018-04-25signal/powerpc: Replace TRAP_FIXME with TRAP_UNKEric W. Biederman1-2/+2
2018-04-25signal/powerpc: Replace FPE_FIXME with FPE_FLTUNKEric W. Biederman1-3/+3
2018-04-25signal: Ensure every siginfo we send has all bits initializedEric W. Biederman1-2/+1
2018-04-10powerpc/fscr: Enable interrupts earlier before calling get_user()Anshuman Khandual1-15/+17
2018-04-01powerpc: Clear branch trap (MSR.BE) before delivering SIGTRAPMatt Evans1-1/+3
2018-04-01powerpc/64s: sreset panic if there is no debugger or crash dump handlersNicholas Piggin1-2/+13
2018-03-31powerpc/mm: Add support for handling > 512TB address in SLB missAneesh Kumar K.V1-12/+0
2018-02-02Merge tag 'powerpc-4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-5/+46
2018-01-22signal/powerpc: Remove unnecessary signal_code parameter of do_send_trapEric W. Biederman1-6/+6
2018-01-22powerpc/pseries, ps3: panic flush kernel messages before halting systemNicholas Piggin1-0/+24
2018-01-22powerpc: Use octal numbers for file permissionsRussell Currey1-2/+2
2018-01-20powerpc/ptrace: Add memory protection key regsetThiago Jung Bauermann1-0/+7
2018-01-20powerpc: Deliver SEGV signal on pkey violationRam Pai1-1/+11
2018-01-18powerpc: System reset avoid interleaving oops using die synchronisationNicholas Piggin1-1/+1
2018-01-16powerpc: Use the TRAP macro whenever comparing a trap numberBenjamin Herrenschmidt1-1/+1
2018-01-12signal/powerpc: Document conflicts with SI_USER and SIGFPE and SIGTRAPEric W. Biederman1-5/+5
2017-11-06powerpc: Remove facility loadups on transactional {fp, vec, vsx} unavailableCyril Bur1-30/+0
2017-11-06powerpc: Always save/restore checkpointed regs during treclaim/trecheckpointCyril Bur1-20/+6
2017-11-06powerpc: Force reload for recheckpoint during tm {fp, vec, vsx} unavailable e...Cyril Bur1-5/+17
2017-11-06powerpc: Don't enable FP/Altivec if not checkpointedCyril Bur1-4/+4
2017-11-06powerpc/tm: Don't check for WARN in TM Bad Thing handlingMichael Ellerman1-7/+2
2017-09-27powerpc/64s: Add workaround for P9 vector CI load issueMichael Neuling1-0/+201
2017-09-20Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwoo...Michael Ellerman1-2/+10
2017-08-31powerpc: Machine check interrupt is a non-maskable interruptNicholas Piggin1-3/+6
2017-08-31powerpc/powernv: Use kernel crash path for machine checksNicholas Piggin1-0/+22
2017-08-31powerpc: Do not send system reset request through the oops pathNicholas Piggin1-16/+31
2017-08-28powerpc/e6500: Update machine check for L1D cache errMatt Weber1-2/+10
2017-08-28powerpc/oops: Use IS_ENABLED() for oops markersMichael Ellerman1-9/+10
2017-08-28powerpc/oops: Print the kernel's endian in the oopsMichael Ellerman1-0/+6
2017-08-28powerpc/oops: Fix the oops markers to use pr_cont()Michael Ellerman1-5/+5
2017-08-10powerpc/8xx: Remove SoftwareEmulation()Christophe Leroy1-18/+0
2017-08-10powerpc/8xx: Move 8xx machine check handlers into platforms/8xxChristophe Leroy1-25/+0
2017-08-10powerpc/traps: Use SRR1 defines for program check reasonsMichael Ellerman1-5/+5
2017-08-10powerpc/mce: Move 64-bit machine check code into mce.cMichael Ellerman1-33/+0
2017-08-10powerpc/traps: machine_check_generic() is only used on 32-bitMichael Ellerman1-1/+1
2017-08-10powerpc/traps: Inline get_mc_reason()Michael Ellerman1-10/+4
2017-08-10powerpc/4xx: Move machine_check_4xx() into platforms/4xxMichael Ellerman1-17/+1
2017-08-10powerpc/44x: Move 44x machine check handlers into platforms/44xMichael Ellerman1-74/+0
2017-08-10powerpc: Add irq accounting for system reset interruptsNicholas Piggin1-0/+2
2017-08-10powerpc/64s: Fix mce accounting for powernvNicholas Piggin1-1/+3
2017-07-03powerpc/64s: Blacklist functions invoked on a trapNaveen N. Rao1-0/+3
2017-05-03powerpc/book3s/mce: Move add_taint() later in virtual modeMahesh Salgaonkar1-2/+2
2017-04-28powerpc: Mark system reset as an NMI with nmi_enter/exit()Nicholas Piggin1-0/+11
2017-04-28powerpc/64s: Disallow system reset vs system reset reentrancyNicholas Piggin1-1/+7
2017-04-13powerpc/64s: Add SCV FSCR bit for ISA v3.0Nicholas Piggin1-0/+1
2017-04-13powerpc/64s: Add msgp facility unavailable log stringNicholas Piggin1-0/+1
2017-04-11powerpc: Create asm/debugfs.h and move powerpc_debugfs_root thereMichael Ellerman1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-02powerpc Don't print misleading facility name in facility unavailable exceptionBalbir Singh1-4/+4
2016-11-30powerpc: Change places using CONFIG_KEXEC to use CONFIG_KEXEC_CORE instead.Thiago Jung Bauermann1-1/+1
2016-11-23powerpc/kprobes: Invoke handlers directlyNaveen N. Rao1-0/+13
2016-11-18powerpc: Fix second nested oops hangNicholas Piggin1-2/+3
2016-11-18powerpc: Fix graceful debugger recoveryNicholas Piggin1-4/+5
2016-11-14powerpc: Revert Load Monitor Register SupportMichael Neuling1-9/+0
2016-11-14powerpc: Add support for relative exception tablesNicholas Piggin1-1/+1
2016-10-11Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwoo...Michael Ellerman1-16/+29
2016-10-04powerpc: tm: Enable transactional memory (TM) lazily for userspaceCyril Bur1-0/+9
2016-10-04powerpc/tm: Add TM Unavailable ExceptionCyril Bur1-0/+29
2016-10-04powerpc: tm: Always use fp_state and vr_state to store live registersCyril Bur1-4/+8
2016-09-25powerpc/8xx: add dedicated machine check handlerChristophe Leroy1-11/+25
2016-09-25powerpc/8xx: add system_reset_exceptionChristophe Leroy1-1/+1
2016-09-24powerpc32: Use instruction symbolic names in check_io_access()Christophe Leroy1-4/+3
2016-09-19powerpc: Use kprobe blacklist for exception handlersNicholas Piggin1-7/+14
2016-09-13powerpc/mm: Preserve CFAR value on SLB miss caused by access to bogus addressPaul Mackerras1-0/+12
2016-08-22powerpc: migrate exception table users off module.h and onto extable.hPaul Gortmaker1-1/+2
2016-08-02Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+5
2016-06-21powerpc: Load Monitor Register SupportJack Miller1-0/+9
2016-06-21powerpc: Improve FSCR init and context switchingMichael Neuling1-1/+2
2016-06-20KVM: PPC: Book3S HV: Fix TB corruption in guest exit path on HMI interruptMahesh Salgaonkar1-0/+5
2016-06-16powerpc: Introduce asm-prototypes.hDaniel Axtens1-0/+1
2016-03-19Merge tag 'powerpc-4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-2/+10
2016-03-17powerpc: query dynamic DEBUG_PAGEALLOC settingJoonsoo Kim1-3/+2
2016-03-01powerpc: Fix misspellings in comments.Adam Buchbinder1-1/+1
2016-02-24powerpc: Fix BUG_ON() reporting in real modeBalbir Singh1-1/+9
2015-11-26powerpc: Remove unused function trace_syscall()Rashmica Gupta1-7/+0
2015-07-06powerpc: Set the correct kernel taint on machine check errors.Daniel Axtens1-0/+2
2015-06-07powerpc: Fix handling of DSCR related facility unavailable exceptionAnshuman Khandual1-5/+40
2015-01-28powerpc: Remove some unused functionsMichael Ellerman1-15/+0
2014-11-03powerpc: Replace __get_cpu_var usesChristoph Lameter1-4/+4
2014-08-05powerpc/book3s: Add basic infrastructure to handle HMI in Linux.Mahesh Salgaonkar1-0/+24
2014-06-25powerpc/traps/e500: fix misleading error outputWladislav Wiebe1-1/+1
2014-06-11powerpc/book3s: Increment the mce counter during machine_check_early call.Mahesh Salgaonkar1-0/+2
2014-04-09powerpc: Add lq/stq emulationAnton Blanchard1-0/+1
2014-03-24powerpc: Rate-limit users spamming kernel log bufferMichael Neuling1-2/+3
2014-01-15powerpc: Fix transactional FP/VMX/VSX unavailable handlersPaul Mackerras1-9/+36
2014-01-15powerpc: Don't corrupt transactional state when using FP/VMX in kernelPaul Mackerras1-9/+3
2013-12-05powerpc/book3s: Introduce a early machine check hook in cpu_spec.Mahesh Salgaonkar1-2/+5