aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_32.S
AgeCommit message (Expand)AuthorFilesLines
2023-10-11powerpc/47x: Fix 47x syscall return crashMichael Ellerman1-3/+5
2023-08-16powerpc: remove unneeded #include <asm/export.h>Masahiro Yamada1-1/+0
2023-06-15powerpc: merge 32-bit and 64-bit _switch implementationNicholas Piggin1-52/+0
2023-06-14powerpc/32: Rearrange _switch to prepare for 32/64 mergeNicholas Piggin1-5/+5
2023-06-14powerpc/32: Remove sync from _switchNicholas Piggin1-7/+1
2023-04-11powerpc: differentiate kthread from user kernel thread startNicholas Piggin1-2/+18
2023-04-11powerpc: use switch frame for ret_from_kernel_thread parametersNicholas Piggin1-1/+0
2023-04-11powerpc: copy_thread make ret_from_fork register setup consistentNicholas Piggin1-1/+1
2022-12-08Merge branch 'topic/objtool' into nextMichael Ellerman1-3/+6
2022-12-02powerpc: add a define for the switch frame size and regs offsetNicholas Piggin1-3/+3
2022-12-02powerpc: add a definition for the marker offset within the interrupt frameNicholas Piggin1-1/+1
2022-12-02powerpc: add definition for pt_regs offset within an interrupt frameNicholas Piggin1-3/+3
2022-11-18powerpc/32: Fix objtool unannotated intra-function call warningsChristophe Leroy1-3/+6
2022-09-28powerpc/64: use 32-bit immediate for STACK_FRAME_REGS_MARKERNicholas Piggin1-3/+3
2022-09-28powerpc: Change system_call_exception calling conventionRohan McLure1-3/+3
2022-09-26powerpc/32: Clarify interrupt restores with REST_GPR macro in entry_32.SRohan McLure1-20/+13
2022-09-26powerpc: Save caller r3 prior to system_call_exceptionRohan McLure1-0/+1
2022-09-26powerpc: Remove CONFIG_PPC_BOOK3E_MMUChristophe Leroy1-1/+1
2022-09-26powerpc: Change CONFIG_E500 to CONFIG_PPC_E500Christophe Leroy1-2/+2
2022-05-19powerpc/rtas: Move rtas entry assembly into its own fileNicholas Piggin1-49/+0
2021-12-09powerpc/config: Add CONFIG_BOOKE_OR_40xChristophe Leroy1-1/+1
2021-12-09powerpc/32s: Save content of sr0 to avoid 'mfsr'Christophe Leroy1-5/+3
2021-12-09powerpc/32s: Do kuep_lock() and kuep_unlock() in assemblyChristophe Leroy1-0/+31
2021-11-29powerpc: flexible GPR range save/restore macrosNicholas Piggin1-14/+9
2021-08-25powerpc/32: indirect function call use bctrl rather than blrl in ret_from_ker...Christophe Leroy1-2/+2
2021-06-25powerpc/32: Reduce code duplication of system call entryChristophe Leroy1-0/+19
2021-06-16powerpc: Don't handle ALTIVEC/SPE in ASM in _switch(). Do it in C.Christophe Leroy1-35/+0
2021-03-29powerpc/32: Manage KUAP in CChristophe Leroy1-8/+0
2021-03-29powerpc/32s: Move KUEP locking/unlocking in CChristophe Leroy1-16/+0
2021-03-29powerpc/32: Only use prepare_transfer_to_handler function on book3s/32 and e500Christophe Leroy1-4/+2
2021-03-29powerpc/32: Return directly from power_save_ppc32_restore()Christophe Leroy1-3/+0
2021-03-29powerpc/32: Save remaining registers in exception prologChristophe Leroy1-23/+4
2021-03-29powerpc/32: Dismantle EXC_XFER_STD/LITE/TEMPLATEChristophe Leroy1-41/+1
2021-03-29powerpc/32: Only restore non volatile registers when requiredChristophe Leroy1-1/+0
2021-03-29powerpc/32: Add a prepare_transfer_to_handler macro for exception prologsChristophe Leroy1-0/+3
2021-03-29powerpc/32: Call bad_page_fault() from do_page_fault()Christophe Leroy1-16/+0
2021-03-29powerpc/32: Set regs parameter in r3 in transfer_to_handlerChristophe Leroy1-2/+1
2021-03-29powerpc/32: Don't save thread.regs on interrupt entryChristophe Leroy1-4/+1
2021-03-29powerpc/32: Replace ASM exception exit by C exception exit from ppc64Christophe Leroy1-318/+118
2021-03-29powerpc/32: Always save non volatile registers on exception entryChristophe Leroy1-12/+1
2021-03-29powerpc/32: Perform normal function call in exception entryChristophe Leroy1-10/+4
2021-03-29powerpc/32: Refactor booke critical registers savingChristophe Leroy1-33/+0
2021-03-29powerpc/32: Enable instruction translation at the same time as data translationChristophe Leroy1-18/+12
2021-03-29powerpc/32: Always enable data translation in exception prologChristophe Leroy1-12/+7
2021-03-29powerpc/32: Remove ksp_limitChristophe Leroy1-66/+2
2021-03-29powerpc/32: Handle bookE debugging in C in exception entryChristophe Leroy1-23/+0
2021-03-29powerpc/32: Entry cpu time accounting in CChristophe Leroy1-1/+0
2021-03-29powerpc/32: Reconcile interrupts in CChristophe Leroy1-58/+0
2021-03-29powerpc/40x: Prepare normal exception handler for enabling MMU earlyChristophe Leroy1-1/+1
2021-03-29powerpc/40x: Save SRR0/SRR1 and r10/r11 earlier in critical exceptionChristophe Leroy1-9/+0
2021-02-11powerpc/32: Handle bookE debugging in C in syscall entry/exitChristophe Leroy1-7/+0
2021-02-11powerpc/32: Remove the counter in global_dbcr0Christophe Leroy1-9/+3
2021-02-11powerpc/32: Remove verification of MSR_PR on syscall in the ASM entryChristophe Leroy1-30/+0
2021-02-11powerpc/syscall: implement system call entry/exit logic in C for PPC32Christophe Leroy1-194/+30
2021-02-11powerpc/32: Always save non volatile GPRs at syscall entryChristophe Leroy1-45/+1
2021-02-11powerpc/32s: Add missing call to kuep_lock on syscall entryChristophe Leroy1-0/+3
2021-02-09powerpc: bad_page_fault get registers from regsNicholas Piggin1-2/+1
2021-02-09powerpc/32: transfer can avoid saving r4/r5 over trace callNicholas Piggin1-6/+1
2021-02-09powerpc/32s: move DABR match out of handle_page_faultChristophe Leroy1-15/+0
2020-12-09powerpc/fault: Perform exception fixup in do_page_fault()Christophe Leroy1-1/+1
2020-12-04powerpc/44x: Don't support 47x code and non 47x code at the same timeChristophe Leroy1-8/+3
2020-11-19powerpc: Remove RFI macroChristophe Leroy1-6/+24
2020-11-19powerpc: Replace RFI by rfi on book3s/32 and bookeChristophe Leroy1-3/+3
2020-10-08powerpc: Remove support for PowerPC 601Christophe Leroy1-18/+0
2020-10-08powerpc: Drop SYNC_601() ISYNC_601() and SYNC()Christophe Leroy1-16/+1
2020-07-23powerpc: Select ARCH_HAS_MEMBARRIER_SYNC_CORENicholas Piggin1-0/+6
2020-06-02powerpc/entry32: Blacklist exception exit points for kprobe.Christophe Leroy1-1/+8
2020-06-02powerpc/entry32: Blacklist syscall exit points for kprobe.Christophe Leroy1-0/+3
2020-06-02powerpc/entry32: Blacklist exception entry points for kprobe.Christophe Leroy1-15/+22
2020-06-02powerpc/32: Blacklist functions running with MMU disabled for kprobeChristophe Leroy1-0/+3
2020-06-02powerpc/rtas: Remove machine_check_in_rtas()Christophe Leroy1-6/+0
2020-05-28powerpc: Remove IBM405 Erratum #77Christophe Leroy1-11/+0
2020-04-22powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32Christophe Leroy1-1/+1
2020-03-10Merge branch 'fixes' into nextMichael Ellerman1-4/+9
2020-02-26powerpc/32: don't restore r0, r6-r8 on exception entry path after trace_hardi...Christophe Leroy1-8/+3
2020-02-19powerpc/32: Warn and return ENOSYS on syscalls from kernelChristophe Leroy1-0/+27
2020-02-19powerpc/entry: Fix an #if which should be an #ifdef in entry_32.SChristophe Leroy1-2/+2
2020-02-18powerpc/chrp: Fix enter_rtas() with CONFIG_VMAP_STACKChristophe Leroy1-2/+7
2020-02-08powerpc: Fix CONFIG_TRACE_IRQFLAGS with CONFIG_VMAP_STACKChristophe Leroy1-1/+1
2020-02-04Merge tag 'powerpc-5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-13/+19
2020-01-28powerpc/32s: Fix CPU wake-up from sleep modeChristophe Leroy1-1/+2
2020-01-27powerpc/32s: Enable CONFIG_VMAP_STACKChristophe Leroy1-1/+1
2020-01-27powerpc/32: Add early stack overflow detection with VMAP stack.Christophe Leroy1-0/+4
2020-01-26powerpc/32: prepare for CONFIG_VMAP_STACKChristophe Leroy1-1/+3
2020-01-26powerpc/32: save DEAR/DAR before calling handle_page_faultChristophe Leroy1-1/+0
2020-01-26powerpc/32: replace MTMSRD() by mtmsrChristophe Leroy1-9/+9
2019-12-08sched/rt, powerpc: Use CONFIG_PREEMPTIONThomas Gleixner1-2/+2
2019-08-28powerpc/32s: get rid of CPU_FTR_601 featureChristophe Leroy1-6/+16
2019-08-27powerpc/32: replace LOAD_MSR_KERNEL() by LOAD_REG_IMMEDIATE()Christophe Leroy1-9/+9
2019-07-29powerpc: Wire up clone3 syscallMichael Ellerman1-0/+8
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-05-03powerpc/entry: Remove unneeded need_resched() loopValentin Schneider1-4/+1
2019-05-03powerpc/32: Don't add dummy frames when calling trace_hardirqs_on/offChristophe Leroy1-14/+2
2019-05-03powerpc/32: don't do syscall stuff in transfer_to_handlerChristophe Leroy1-19/+0
2019-05-03powerpc/32: implement fast entry for syscalls on BOOKEChristophe Leroy1-7/+0
2019-05-03powerpc/32: implement fast entry for syscalls on non BOOKEChristophe Leroy1-0/+32
2019-05-03powerpc: Fix 32-bit handling of MSR_EE on exceptionsChristophe Leroy1-49/+67
2019-05-03powerpc/32: move LOAD_MSR_KERNEL() into head_32.h and use itChristophe Leroy1-8/+1
2019-04-21powerpc/32s: Implement Kernel Userspace Execution Prevention.Christophe Leroy1-0/+9
2019-04-21powerpc/32: Prepare for Kernel Userspace Access ProtectionChristophe Leroy1-4/+12
2019-04-21powerpc/32: Remove MSR_PR test when returning from syscallChristophe Leroy1-5/+0
2019-03-04powerpc/32: Clear on-stack exception marker upon exception returnChristophe Leroy1-0/+9
2019-02-23powerpc/32: Remove CURRENT_THREAD_INFO and rename TI_CPUChristophe Leroy1-37/+18
2019-02-23powerpc: regain entire stack spaceChristophe Leroy1-10/+4
2019-02-23powerpc: Activate CONFIG_THREAD_INFO_IN_TASKChristophe Leroy1-5/+4
2019-02-23powerpc: Rename THREAD_INFO to TASK_STACKChristophe Leroy1-1/+1
2019-02-22powerpc/32: Fix CONFIG_VIRT_CPU_ACCOUNTING_NATIVE for 40x/bookeChristophe Leroy1-5/+7
2019-02-22powerpc/6xx: Don't use SPRN_SPRG2 for storing stack pointer while in RTASChristophe Leroy1-2/+3
2019-02-22powerpc/32: Remove unneccessary MSR[RI] clearing for 8xxChristophe Leroy1-3/+0
2018-11-26powerpc: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32Christophe Leroy1-5/+5
2018-10-03powerpc/traps: merge unrecoverable_exception() and nonrecoverable_exception()Christophe Leroy1-2/+2
2018-08-08powerpc/fsl: Sanitize the syscall table for NXP PowerPC 32 bit platformsDiana Craciun1-0/+10
2018-07-30powerpc: clean inclusions of asm/feature-fixups.hChristophe Leroy1-0/+1
2018-07-30powerpc/405: move PPC405_ERR77 in asm-405.hChristophe Leroy1-0/+1
2018-06-06powerpc: Add syscall detection for restartable sequencesBoqun Feng1-0/+7
2018-01-16powerpc/8xx: Only perform perf counting when perf is in use.Christophe Leroy1-5/+5
2017-08-15powerpc/32: Avoid risk of unrecoverable TLBmiss inside entry_32.SChristophe Leroy1-0/+7
2017-08-08powerpc/32: Fix boot failure on non 6xx platformsChristophe Leroy1-2/+2
2017-08-03powerpc/6xx: Handle DABR match before calling do_page_faultBenjamin Herrenschmidt1-0/+15
2017-04-27powerpc: Split ftrace bits into a separate fileNaveen N. Rao1-107/+0
2017-03-01Merge tag 'powerpc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-4/+15
2017-01-26powerpc/8xx: Perf events on PPC 8xxChristophe Leroy1-0/+15
2017-01-26powerpc/32: Remove FIX_SRR1Christophe Leroy1-4/+0
2017-01-24powerpc: Revert the initial stack protector supportMichael Ellerman1-5/+1
2016-11-23powerpc/32: Change the stack protector canary value per taskChristophe Leroy1-1/+5
2016-10-14Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+2
2016-09-23powerpc/32: Remove CLR_TOP32Christophe Leroy1-1/+0
2016-08-07ppc: move exports to definitionsAl Viro1-0/+2
2016-07-09powerpc32: provide VIRT_CPU_ACCOUNTINGChristophe Leroy1-0/+17
2015-07-29powerpc/kernel: Change the do_syscall_trace_enter() APIMichael Ellerman1-0/+4
2015-07-29powerpc/kernel: Switch to using MAX_ERRNOMichael Ellerman1-1/+2
2015-02-02powerpc: Remove old compile time disabled syscall tracing codeMichael Ellerman1-77/+0
2015-01-23powerpc: Rename _TIF_SYSCALL_T_OR_A to _TIF_SYSCALL_DOTRACEMichael Ellerman1-3/+3
2014-11-10powerpc/ftrace: Fix obsolete commentJiri Slaby1-1/+1
2014-11-10powerpc/ftrace: simplify prepare_ftrace_returnAnton Blanchard1-2/+8
2013-06-01powerpc/32bit:Store temporary result in r0 instead of r8Priyanka Jain1-1/+1
2013-05-14powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning againLi Zhong1-2/+0
2013-01-29powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning for ppc32Li Zhong1-0/+2
2012-10-14powerpc: switch to saner kernel_execve() semanticsAl Viro1-5/+0
2012-10-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+16
2012-09-30powerpc: switch to generic sys_execve()/kernel_execve()Al Viro1-0/+5
2012-09-30powerpc: split ret_from_forkAl Viro1-0/+11
2012-09-18powerpc/kprobe: Complete kprobe and migrate exception frameTiejun Chen1-6/+41
2012-07-27powerpc: Set stack limit properly in crit_transfer_to_handlerStuart Yoder1-2/+10
2012-07-11powerpc: Fixup oddity in entry_32.SBenjamin Herrenschmidt1-6/+0
2012-07-11powerpc: Use CURRENT_THREAD_INFO instead of open coded assemblyStuart Yoder1-12/+12
2012-04-10powerpc: Fix page fault with lockdep regressionBenjamin Herrenschmidt1-18/+21
2012-02-22powerpc: Fix various issues with return to userspaceBenjamin Herrenschmidt1-1/+1
2011-11-16powerpc/trace: Add a dummy stack frame for trace_hardirqs_offKevin Hao1-0/+15
2011-01-21powerpc/ppc32/tracing: Add stack frame to calls of trace_hardirqs_on/offSteven Rostedt1-0/+11
2010-11-29powerpc: Remove second definition of STACK_FRAME_OVERHEADStephen Rothwell1-0/+1
2010-05-05powerpc/47x: Base ppc476 supportDave Kleikamp1-0/+5
2009-08-20powerpc: Use names rather than numbers for SPRGs (v2)Benjamin Herrenschmidt1-10/+10
2009-06-26powerpc: Add irqtrace support for 32-bit powerpcBenjamin Herrenschmidt1-4/+123
2009-02-23powerpc: Unify opcode definitions and supportKumar Gala1-4/+4
2009-02-23powerpc32, ftrace: dynamic function graph tracerSteven Rostedt1-2/+6
2009-02-23powerpc32, ftrace: port function graph tracer to ppc32, static onlySteven Rostedt1-1/+42
2009-02-23powerpc32, ftrace: save and restore mcount regs with macroSteven Rostedt1-59/+9
2009-02-12powerpc/book-3e: Introduce concept of Book-3e MMUKumar Gala1-3/+3
2008-11-28powerpc: ftrace, do nothing in mcount call for dyn ftraceSteven Rostedt1-31/+9
2008-10-20ftrace: rename FTRACE to FUNCTION_TRACERSteven Rostedt1-1/+1
2008-07-28powerpc: Add TIF_NOTIFY_RESUME support for tracehookRoland McGrath1-2/+2
2008-07-28powerpc: Make syscall tracing use tracehook.h helpersRoland McGrath1-1/+6
2008-07-28powerpc/booke: Clean up the hardware watchpoint supportKumar Gala1-3/+3
2008-07-25powerpc: BookE hardware watchpoint supportLuis Machado1-3/+3
2008-07-15Merge commit '85082fd7cbe3173198aac0eb5e85ab1edcc6352c' into test-buildBenjamin Herrenschmidt1-0/+127
2008-06-26powerpc/85xx: add DOZE/NAP support for e500 coreKumar Gala1-4/+4
2008-06-23ftrace: store mcount address in rec->ipAbhishek Sagar1-0/+4
2008-06-02[POWERPC] 40x/Book-E: Save/restore volatile exception registersKumar Gala1-2/+123
2008-06-02[POWERPC] Rework EXC_LEVEL_EXCEPTION_PROLOG codeKumar Gala1-13/+0
2008-05-26ftrace: powerpc clean upsSteven Rostedt1-9/+2
2008-05-23ftrace: support for PowerPCSteven Rostedt1-0/+130
2008-05-16[POWERPC] Defer processing of interrupts when the CPU wakes from sleep modePaul Mackerras1-0/+8
2008-05-14[POWERPC] Define and use TLF_RESTORE_SIGMASKRoland McGrath1-2/+2
2008-04-29[POWERPC] Add IRQSTACKS support on ppc32Kumar Gala1-2/+3
2008-04-17[POWERPC] Make Book-E debug handling SMP safeKumar Gala1-9/+21
2007-11-13[POWERPC] Avoid unpaired stwcx. on some processorsBecky Bruce1-0/+6
2007-11-01[POWERPC] 4xx: Deal with 44x virtually tagged icacheBenjamin Herrenschmidt1-0/+23
2007-09-14[POWERPC] Add cpu feature for SPE handlingKumar Gala1-0/+4
2007-05-17[POWERPC] Fix COMMON symbol warningsKumar Gala1-3/+15
2007-03-22[POWERPC] Remove last_syscallAnton Blanchard1-1/+0
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-04-18powerpc: Use correct sequence for putting CPU into nap modePaul Mackerras1-18/+17
2006-03-27powerpc: Unify the 32 and 64 bit idle loopsPaul Mackerras1-2/+6
2006-03-08powerpc: Fix various syscall/signal/swapcontext bugsPaul Mackerras1-71/+24
2006-01-18[PATCH] TIF_RESTORE_SIGMASK support for arch/powerpcDavid Woodhouse1-4/+4
2006-01-13[PATCH] powerpc: Cleanup LOADADDR etc. asm macrosDavid Gibson1-1/+1
2006-01-09[PATCH] Fix code that saves NVGPRS in 32-bit signal frameDavid Woodhouse1-3/+3
2006-01-09[PATCH] syscall entry/exit revampDavid Woodhouse1-71/+96
2005-10-28powerpc: Rename asm offset TRAP to _TRAP for 32-bitPaul Mackerras1-22/+22
2005-10-26powerpc: Merge rtas.c into arch/powerpc/kernelPaul Mackerras1-7/+5
2005-10-21[PATCH] powerpc: Merge thread_info.hDavid Gibson1-13/+12
2005-10-20powerpc: Fix a branch-too-far link error for 32-bit targetsPaul Mackerras1-1/+2
2005-10-10powerpc: Introduce entry_{32,64}.S, misc_{32,64}.S, systbl.SPaul Mackerras1-0/+1002