aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
AgeCommit message (Expand)AuthorFilesLines
2023-06-15powerpc/64: Rename entry_64.S to prom_entry_64.SNicholas Piggin1-111/+0
2023-06-15powerpc: merge 32-bit and 64-bit _switch implementationNicholas Piggin1-229/+0
2023-06-14powerpc/64: Rearrange 64-bit _switch to prepare for 32/64 mergeNicholas Piggin1-20/+18
2023-06-14powerpc/64s: move stack SLB pinning out of line from _switchNicholas Piggin1-51/+62
2022-11-15powerpc: Curb objtool unannotated intra-function call warningsSathvika Vasireddy1-0/+2
2022-09-26powerpc: Remove CONFIG_PPC_BOOK3EChristophe Leroy1-3/+3
2022-05-19powerpc/rtas: Move rtas entry assembly into its own fileNicholas Piggin1-150/+0
2022-05-11powerpc/rtas: Keep MSR[RI] set when calling RTASLaurent Dufour1-12/+12
2021-12-09powerpc/64s: Move hash MMU support code under CONFIG_PPC_64S_HASH_MMUNicholas Piggin1-2/+2
2021-08-15powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm gotoChristophe Leroy1-1/+1
2021-06-25powerpc/64: move interrupt return asm to interrupt_64.SNicholas Piggin1-623/+0
2021-06-25powerpc/64s: avoid reloading (H)SRR registers if they are still validNicholas Piggin1-7/+85
2021-06-25powerpc/64s: introduce different functions to return from SRR vs HSRR interruptsNicholas Piggin1-18/+47
2021-04-14powerpc/64e/interrupt: reconcile irq soft-mask state in CNicholas Piggin1-10/+8
2021-04-14powerpc/interrupt: update common interrupt code forNicholas Piggin1-2/+7
2021-04-14powerpc/64e/interrupt: always save nvgprs on interruptNicholas Piggin1-13/+0
2021-02-22Merge tag 'powerpc-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-2/+6
2021-02-11powerpc/syscall: Save r3 in regs->orig_r3Christophe Leroy1-2/+0
2021-02-11powerpc/64s: syscall real mode entry use mtmsrd rather than rfidNicholas Piggin1-0/+6
2021-01-20powerpc/64s: fix scv entry fallback flush vs interruptNicholas Piggin1-1/+1
2020-12-09powerpc/64s: Remove MSR[ISF] bitNicholas Piggin1-1/+1
2020-12-04powerpc/book3s64/pkeys: Optimize KUAP and KUEP feature disabled caseAneesh Kumar K.V1-1/+1
2020-12-04powerpc/book3s64/pkeys: Store/restore userspace AMR/IAMR correctly on entry a...Aneesh Kumar K.V1-2/+4
2020-10-08powerpc/security: Fix link stack flush instructionNicholas Piggin1-2/+6
2020-08-27powerpc/64s: scv entry should set PPRNicholas Piggin1-0/+4
2020-07-23Merge branch 'scv' support into nextMichael Ellerman1-2/+169
2020-07-23powerpc/64: Fix an out of date comment about MMIO orderingPalmer Dabbelt1-1/+1
2020-07-22powerpc/64s: system call support for scv/rfscv instructionsNicholas Piggin1-2/+169
2020-07-16powerpc/64s: Move branch cache flushing bcctr variant to ppc-ops.hNicholas Piggin1-4/+2
2020-07-16powerpc/security: re-name count cache flush to branch cache flushNicholas Piggin1-4/+3
2020-06-22powerpc/64: indirect function call use bctrl rather than blrl in ret_from_ker...Nicholas Piggin1-2/+2
2020-05-28powerpc/64s/kuap: Conditionally restore AMR in kuap_restore_amr asmNicholas Piggin1-4/+4
2020-05-07powerpc/64s/kuap: Restore AMR in fast_interrupt_returnNicholas Piggin1-1/+3
2020-04-03powerpc/64: make buildable without CONFIG_COMPATMichal Suchanek1-0/+2
2020-04-01powerpc/64/syscall: Reconcile interruptsNicholas Piggin1-0/+11
2020-04-01powerpc/64s/exception: Remove lite interrupt returnNicholas Piggin1-6/+0
2020-04-01powerpc/64s: Implement interrupt exit logic in CNicholas Piggin1-370/+117
2020-04-01powerpc/64/syscall: Zero volatile registers when returningNicholas Piggin1-0/+13
2020-04-01powerpc/64/sycall: Implement syscall entry/exit logic in CNicholas Piggin1-285/+41
2020-04-01powerpc/64/syscall: Remove non-volatile GPR save optimisationNicholas Piggin1-59/+13
2020-02-04Merge tag 'powerpc-5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-12/+6
2020-01-06powerpc/64: Use {SAVE,REST}_NVGPRS macrosJordan Niethe1-12/+6
2019-12-08sched/rt, powerpc: Use CONFIG_PREEMPTIONThomas Gleixner1-2/+2
2019-11-14powerpc/book3s64: Fix link stack flush on context switchMichael Ellerman1-0/+6
2019-08-28powerpc/64: remove support for kernel-mode syscallsNicholas Piggin1-15/+6
2019-07-29powerpc: Wire up clone3 syscallMichael Ellerman1-0/+5
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-03powerpc/entry: Remove unneeded need_resched() loopValentin Schneider1-7/+1
2019-04-21powerpc/64s: Implement KUAP for Radix MMUMichael Ellerman1-2/+25
2019-02-23powerpc/64: Replace CURRENT_THREAD_INFO with PACA_THREAD_INFOChristophe Leroy1-5/+5
2019-02-23powerpc: Don't use CURRENT_THREAD_INFO to find the stackChristophe Leroy1-1/+1
2019-02-23powerpc/64s: Remove MSR_RI optimisation in system_call_exit()Michael Ellerman1-20/+14
2019-01-31powerpc/64s: Clear on-stack exception marker upon exception returnNicolai Stange1-0/+7
2018-12-21powerpc: split compat syscall table out from native tableFiroz Khan1-2/+5
2018-12-21powerpc/tm: Save MSR to PACA before RFIDBreno Leitao1-0/+4
2018-12-20powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)Diana Craciun1-0/+5
2018-10-14powerpc/64: Interrupts save PPR on stack rather than thread_structNicholas Piggin1-10/+5
2018-10-13powerpc: Use SWITCH_FRAME_SIZE for prom and rtas entryJoel Stanley1-5/+5
2018-10-03powerpc: Redefine TIF_32BITS thread flagBreno Leitao1-1/+1
2018-10-03powerpc/64: add stack protector supportChristophe Leroy1-0/+4
2018-09-19powerpc/64s/hash: avoid the POWER5 < DD2.1 slb invalidate workaround on POWER8/9Nicholas Piggin1-0/+2
2018-08-08powerpc/64s: Add support for software count cache flushMichael Ellerman1-0/+54
2018-07-30powerpc: clean inclusions of asm/feature-fixups.hChristophe Leroy1-0/+1
2018-07-30powerpc: move ASM_CONST and stringify_in_c() into asm-const.hChristophe Leroy1-0/+1
2018-07-24powerpc/64s: make PACA_IRQ_HARD_DIS track MSR[EE] closelyNicholas Piggin1-0/+8
2018-06-10Merge branch 'core-rseq-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+8
2018-06-06powerpc: Add syscall detection for restartable sequencesBoqun Feng1-0/+8
2018-06-03powerpc/64: Use barrier_nospec in syscall entryMichael Ellerman1-0/+10
2018-06-03powerpc/mm/hash: Add missing isync prior to kernel stack SLB switchAneesh Kumar K.V1-0/+1
2018-04-01powerpc/64s: Set assembler machine type to POWER4Nicholas Piggin1-1/+1
2018-01-21Merge branch 'fixes' into nextMichael Ellerman1-8/+36
2018-01-19powerpc: Add new kconfig CONFIG_PPC_IRQ_SOFT_MASK_DEBUGMadhavan Srinivasan1-2/+2
2018-01-19powerpc/64s: Add support to mask perf interrupts and replay themMadhavan Srinivasan1-0/+5
2018-01-19powerpc/64: Rename soft_enabled to irq_soft_maskMadhavan Srinivasan1-6/+6
2018-01-19powerpc/64: Change soft_enabled from flag to bitmaskMadhavan Srinivasan1-11/+10
2018-01-19powerpc/64: Add #defines for paca->soft_enabled flagsMadhavan Srinivasan1-8/+8
2018-01-18powerpc/64: rtas avoid accessing paca in 32-bit modeNicholas Piggin1-6/+11
2018-01-10powerpc/64: Convert fast_exception_return to use RFI_TO_USER/KERNELNicholas Piggin1-2/+16
2018-01-10powerpc/64: Convert the syscall exit path to use RFI_TO_USER/KERNELNicholas Piggin1-1/+11
2018-01-10powerpc/64s: Simple RFI macro conversionsNicholas Piggin1-5/+9
2017-12-11powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled contextNicholas Piggin1-3/+7
2017-11-06powerpc/64s: Replace CONFIG_PPC_STD_MMU_64 with CONFIG_PPC_BOOK3S_64Michael Ellerman1-2/+2
2017-08-31powerpc/asm: Convert .llong directives to .8byteTobin C. Harding1-1/+1
2017-08-23powerpc/64: Remove redundant instruction in interrupt replayNicholas Piggin1-1/+0
2017-08-23powerpc/64s: Merge HV and non-HV paths for doorbell IRQ replayNicholas Piggin1-5/+1
2017-08-07Revert "powerpc/64: Avoid restore_math call if possible in syscall exit"Michael Ellerman1-42/+18
2017-07-03powerpc/64s: Blacklist rtas entry/exit from kprobesNaveen N. Rao1-0/+4
2017-07-03powerpc/64s: Blacklist functions invoked on a trapNaveen N. Rao1-13/+22
2017-07-03powerpc/64s: Un-blacklist system_call() from kprobesNaveen N. Rao1-1/+13
2017-07-03powerpc/64s: Move system_call() symbol to just after setting MSR_EENaveen N. Rao1-3/+4
2017-07-03powerpc/64s: Blacklist system_call() and system_call_common() from kprobesNaveen N. Rao1-12/+14
2017-06-15powerpc/64s: Avoid cpabort in context switch when possibleNicholas Piggin1-9/+0
2017-06-15powerpc/64: Drop explicit hwsync in context switchNicholas Piggin1-6/+17
2017-06-15powerpc/64: Drop reservation-clearing ldarx in context switchNicholas Piggin1-8/+3
2017-06-15powerpc/64s: Leave interrupts hard enabled in context switch for radixNicholas Piggin1-0/+8
2017-06-15powerpc/64: Avoid restore_math call if possible in syscall exitNicholas Piggin1-19/+43
2017-05-05Merge tag 'powerpc-4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-380/+0
2017-04-27powerpc: Split ftrace bits into a separate fileNaveen N. Rao1-378/+0
2017-04-25Merge branch 'topic/kprobes' into nextMichael Ellerman1-6/+7
2017-04-24powerpc/ftrace: Restore LR from pt_regsNaveen N. Rao1-6/+7
2017-04-23powerpc/ftrace: Move stack setup and teardown code into ftrace_graph_caller()Naveen N. Rao1-4/+1
2017-04-18powerpc/kprobe: Fix oops when kprobed on 'stdu' instructionRavi Bangoria1-3/+3
2016-10-14Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+3
2016-09-20powerpc/64s: Optimise MSR handling in exception handlingNicholas Piggin1-12/+9
2016-08-29powerpc/tm: do not use r13 for tabort_syscallNicholas Piggin1-6/+6
2016-08-07ppc: move exports to definitionsAl Viro1-0/+3
2016-08-01powerpc/mm: Make MMU_FTR_RADIX a MMU family featureAneesh Kumar K.V1-1/+1
2016-07-09powerpc32: provide VIRT_CPU_ACCOUNTINGChristophe Leroy1-3/+3
2016-06-14powerpc: Define and use PPC64_ELF_ABI_v2/v1Michael Ellerman1-1/+1
2016-05-11powerpc/mm/radix: Use STD_MMU_64 to properly isolate hash related codeAneesh Kumar K.V1-2/+5
2016-04-27powerpc: Add support for userspace P9 copy pasteChris Smart1-0/+9
2016-04-18Merge branch 'topic/livepatch' into nextMichael Ellerman1-0/+97
2016-04-14powerpc/livepatch: Add live patching support on ppc64leMichael Ellerman1-0/+97
2016-03-16powerpc: Fix unrecoverable SLB miss during restore_math()Cyril Bur1-0/+9
2016-03-11Merge branch 'topic/mprofile-kernel' into nextMichael Ellerman1-1/+165
2016-03-07powerpc/ftrace: Add support for -mprofile-kernel ftrace ABITorsten Duwe1-1/+165
2016-03-02powerpc: Restore FPU/VEC/VSX if previously usedCyril Bur1-3/+18
2015-12-17powerpc/kernel: Open code SET_DEFAULT_THREAD_PPRMichael Ellerman1-1/+7
2015-12-17powerpc/kernel: Open code HMT_MEDIUM_LOW_HAS_PPRMichael Ellerman1-1/+5
2015-12-01powerpc: Remove redundant mflr in _switchAnton Blanchard1-3/+1
2015-12-01powerpc: Create context switch helpers save_sprs() and restore_sprs()Anton Blanchard1-59/+1
2015-12-01powerpc: Don't disable kernel FP/VMX/VSX MSR bits on context switchAnton Blanchard1-14/+1
2015-07-29powerpc/kernel: Change the do_syscall_trace_enter() APIMichael Ellerman1-6/+17
2015-07-29powerpc/kernel: Switch to using MAX_ERRNOMichael Ellerman1-2/+3
2015-06-19powerpc/tm: Abort syscalls in active transactionsSam bobroff1-0/+35
2015-06-07powerpc/kernel: Rename PACA_DSCR to PACA_DSCR_DEFAULTAnshuman Khandual1-1/+1
2015-04-30Revert "powerpc/tm: Abort syscalls in active transactions"Michael Ellerman1-19/+0
2015-04-11powerpc/tm: Abort syscalls in active transactionsSam bobroff1-0/+19
2015-03-28powerpc: Add a proper syscall for switching endiannessMichael Ellerman1-0/+5
2015-02-02powerpc: Remove old compile time disabled syscall tracing codeMichael Ellerman1-13/+0
2015-02-02powerpc/kernel: Make syscall_exit a local labelMichael Ellerman1-9/+9
2015-01-23powerpc: Rename _TIF_SYSCALL_T_OR_A to _TIF_SYSCALL_DOTRACEMichael Ellerman1-3/+3
2014-11-10powerpc/ftrace: simplify prepare_ftrace_returnAnton Blanchard1-2/+9
2014-11-10powerpc/ftrace: Remove mod_return_to_handlerAnton Blanchard1-23/+1
2014-10-31powerpc: do_notify_resume can be called with bad thread_info flags argumentAnton Blanchard1-0/+6
2014-08-05powerpc/book3s: Add basic infrastructure to handle HMI in Linux.Mahesh Salgaonkar1-0/+5
2014-07-28powerpc: Remove MMU_FTR_SLBMichael Ellerman1-6/+2
2014-06-11powerpc: Correct DSCR during TM context switchSam bobroff1-6/+0
2014-05-28powerpc: Fix regression of per-CPU DSCR settingSam bobroff1-8/+1
2014-04-23powerpc: ftrace_caller, _mcount is exported to modules so needs _GLOBAL_TOC()Anton Blanchard1-5/+2
2014-04-23powerpc: Fix kernel thread creation on ABIv2Anton Blanchard1-1/+3
2014-04-23powerpc: ABIv2 function calls must place target address in r12Anton Blanchard1-2/+2
2014-04-23powerpc: Don't use a function descriptor for system call tableAnton Blanchard1-3/+3
2014-04-23powerpc: Remove superflous function descriptors in assembly only codeAnton Blanchard1-5/+5
2014-04-23powerpc: No need to use dot symbols when branching to a functionAnton Blanchard1-43/+43
2014-01-15powerpc: Don't corrupt transactional state when using FP/VMX in kernelPaul Mackerras1-2/+10
2014-01-15Move precessing of MCE queued event out from syscall exit path.Mahesh Salgaonkar1-5/+0
2013-12-05powerpc/book3s: Queue up and process delayed MCE events.Mahesh Salgaonkar1-0/+5
2013-11-06powerpc: Fix fatal SLB miss when restoring PPRBenjamin Herrenschmidt1-1/+9
2013-10-11powerpc/ppc64: Remove the unneeded load of ti_flags in resume_kernelKevin Hao1-3/+1
2013-10-11powerpc: Endian safe trampolineBenjamin Herrenschmidt1-16/+20
2013-08-27powerpc: Cleanup handling of the DSCR bit in the FSCR registerMichael Neuling1-25/+6
2013-08-27Merge branch 'merge' into nextBenjamin Herrenschmidt1-10/+26
2013-08-14powerpc: Fix little endian lppaca, slb_shadow and dtl_entryAnton Blanchard1-4/+7
2013-08-14powerpc/ppc64: Rename SOFT_DISABLE_INTS with RECONCILE_IRQ_STATETiejun Chen1-2/+2
2013-08-09powerpc: Save the TAR register earlierMichael Neuling1-9/+0
2013-08-09powerpc: Fix context switch DSCR on POWER8Michael Neuling1-1/+26
2013-06-20powerpc: Restore dbcr0 on user space exitBharat Bhushan1-4/+26
2013-06-10powerpc: Partial revert of "Context switch more PMU related SPRs"Michael Ellerman1-28/+0
2013-06-01powerpc/pseries: Kill all prefetch streams on context switchMichael Neuling1-0/+7
2013-05-24powerpc: Context switch more PMU related SPRsMichael Ellerman1-0/+28
2013-05-14Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/po...Linus Torvalds1-3/+2
2013-05-14powerpc: Use the new schedule_user API on userspace preemptionLi Zhong1-1/+2
2013-05-14powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning againLi Zhong1-2/+0
2013-05-11Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-1/+1
2013-05-02powerpc: Context switch the new EBB SPRsMichael Ellerman1-0/+16
2013-05-02powerpc: Replace CPU_FTR_BCTAR with CPU_FTR_ARCH_207SMichael Ellerman1-2/+2
2013-04-15powerpc: add a missing label in resume_kernelKevin Hao1-1/+1
2013-04-15powerpc: Fix audit crash due to save/restore PPR changesAlistair Popple1-1/+1
2013-04-10powerpc: Remove static branch prediction in 64bit traced syscall pathAnton Blanchard1-1/+1
2013-02-23Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-3/+40
2013-02-19Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+2
2013-02-15powerpc: Add transactional memory paca scratch register to show_regsMichael Neuling1-0/+4
2013-02-08powerpc: Add support for context switching the TAR registerIan Munsie1-0/+20
2013-01-29Merge branch 'merge' into nextBenjamin Herrenschmidt1-0/+13
2013-01-29powerpc/book3e: Disable interrupt after preempt_schedule_irqTiejun Chen1-0/+13
2013-01-27cputime: Generic on-demand virtual cputime accountingFrederic Weisbecker1-2/+2
2013-01-10powerpc: Implement PPR save/restoreHaren Myneni1-0/+3
2013-01-10powerpc: Move branch instruction from ACCOUNT_CPU_USER_ENTRY to callerHaren Myneni1-1/+2
2013-01-10powerpc: Add code to handle soft-disabled doorbells on serverIan Munsie1-2/+11
2012-12-18Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-0/+2
2012-11-15powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning !Li Zhong1-0/+2
2012-10-21powerpc: take dereferencing to ret_from_kernel_thread()Al Viro1-0/+1
2012-10-14powerpc: don't mess with r2 in copy_thread() and friendsAl Viro1-1/+0
2012-10-14powerpc: switch to saner kernel_execve() semanticsAl Viro1-6/+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/+6
2012-09-30powerpc: split ret_from_forkAl Viro1-0/+10
2012-09-18powerpc/kprobe: Complete kprobe and migrate exception frameTiejun Chen1-0/+35
2012-09-05powerpc: Restore correct DSCR in context switchAnton Blanchard1-6/+17
2012-07-11powerpc: Use CURRENT_THREAD_INFO instead of open coded assemblyStuart Yoder1-6/+6
2012-07-03powerpc: Clear RI and EE at the same time in system call exitAnton Blanchard1-12/+13
2012-06-29ppc64: fix missing to check all bits of _TIF_USER_WORK_MASK in preemptTiejun Chen1-57/+40
2012-05-14Merge branch 'merge' into nextBenjamin Herrenschmidt1-13/+31
2012-05-12powerpc/irq: Fix another case of lazy IRQ state getting out of syncBenjamin Herrenschmidt1-13/+31
2012-05-09Merge branch 'merge' into nextBenjamin Herrenschmidt1-18/+0
2012-05-09powerpc/irq: Fix bug with new lazy IRQ handling codeBenjamin Herrenschmidt1-18/+0
2012-04-30powerpc: Better scheduling of CR save code in system call pathAnton Blanchard1-9/+7
2012-04-30powerpc: No need to preserve count register across system callAnton Blanchard1-2/+1
2012-04-30powerpc: No need to save XER in a system callAnton Blanchard1-2/+1