summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
AgeCommit message (Expand)AuthorFilesLines
2021-12-23powerpc/32: Fix boot failure with GCC latent entropy pluginChristophe Leroy1-0/+3
2021-12-23powerpc/code-patching: Replace patch_instruction() by ppc_inst_write() in sel...Christophe Leroy1-40/+45
2021-12-23powerpc/code-patching: Move code patching selftests in its own fileChristophe Leroy3-355/+359
2021-12-23powerpc/code-patching: Move instr_is_branch_{i/b}form() in code-patching.hChristophe Leroy1-15/+0
2021-12-23powerpc/code-patching: Move patch_exception() outside code-patching.cChristophe Leroy1-16/+0
2021-12-23powerpc/code-patching: Use test_trampoline for prefixed patch testChristophe Leroy3-36/+10
2021-12-23powerpc/code-patching: Fix patch_branch() return on out-of-range failureChristophe Leroy1-1/+3
2021-12-23powerpc/code-patching: Reorganise do_patch_instruction() to ease error handlingChristophe Leroy1-16/+21
2021-12-23powerpc/code-patching: Fix unmap_patch_area() error handlingChristophe Leroy1-17/+13
2021-12-23powerpc/code-patching: Fix error handling in do_patch_instruction()Christophe Leroy1-10/+3
2021-12-23powerpc/code-patching: Remove init_mem_is_freeChristophe Leroy1-2/+1
2021-12-23powerpc/code-patching: Remove pr_debug()/pr_devel() messages and fix check()Christophe Leroy1-9/+7
2021-12-23powerpc/lib: Add __init attribute to eligible functionsNick Child2-14/+14
2021-12-09powerpc/inst: Define ppc_inst_tChristophe Leroy4-28/+28
2021-11-29powerpc: flexible GPR range save/restore macrosNicholas Piggin1-5/+3
2021-11-29Revert "powerpc/code-patching: Improve verification of patchability"Michael Ellerman1-2/+3
2021-11-25powerpc/code-patching: Improve verification of patchabilityChristophe Leroy1-3/+2
2021-11-08Merge tag 'kbuild-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-0/+2
2021-11-05Merge tag 'powerpc-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds2-57/+151
2021-10-28powerpc/security: Use a mutex for interrupt exit code patchingRussell Currey1-0/+11
2021-10-22powerpc/lib/sstep: Don't use __{get/put}_user() on kernel addressesChristophe Leroy1-57/+140
2021-10-07powerpc/lib: Add helper to check if offset is within conditional branch rangeNaveen N. Rao1-1/+6
2021-09-22isystem: delete global -isystem compile optionAlexey Dobriyan1-0/+2
2021-07-01powerpc: Only build restart_table.c for 64sMichael Ellerman1-2/+2
2021-06-30powerpc/64s: add a table of implicit soft-masked addressesNicholas Piggin1-0/+26
2021-06-25powerpc/64: use interrupt restart table to speed up return from interruptNicholas Piggin1-4/+48
2021-06-25powerpc/64: allow alternate return locations for soft-masked interruptsNicholas Piggin2-1/+31
2021-06-25powerpc/64s: avoid reloading (H)SRR registers if they are still validNicholas Piggin3-9/+11
2021-06-21powerpc/lib/code-patching: Set up Strict RWX patching earlierJordan Niethe1-10/+4
2021-06-17powerpc: Don't use 'struct ppc_inst' to reference instruction locationChristophe Leroy2-74/+70
2021-06-17powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in t...Christophe Leroy1-42/+53
2021-06-16powerpc/lib/code-patching: Make instr_is_branch_to_addr() staticChristophe Leroy1-9/+9
2021-06-16powerpc: Do not dereference code as 'struct ppc_inst' (uprobe, code-patching,...Christophe Leroy2-5/+5
2021-06-16powerpc: Replace PPC_INST_NOP by PPC_RAW_NOP()Christophe Leroy1-1/+1
2021-06-16powerpc/lib/feature-fixups: Use PPC_RAW_xxx() macrosChristophe Leroy1-61/+60
2021-06-16powerpc: Rework PPC_RAW_xxx() macros for prefixed instructionsChristophe Leroy1-4/+2
2021-05-23powerpc/sstep: Add tests for setb instructionSathvika Vasireddy1-0/+29
2021-05-23powerpc/sstep: Add emulation support for ‘setb’ instructionSathvika Vasireddy1-0/+22
2021-05-14powerpc/64s: Fix stf mitigation patching w/strict RWX & hashMichael Ellerman1-10/+10
2021-05-14powerpc/64s: Fix entry flush patching w/strict RWX & hashMichael Ellerman1-16/+43
2021-05-14powerpc/64s: Fix crashes when toggling entry flush barrierMichael Ellerman1-1/+15
2021-05-14powerpc/64s: Fix crashes when toggling stf barrierMichael Ellerman1-2/+17
2021-05-04powerpc/32: Fix boot failure with CONFIG_STACKPROTECTORChristophe Leroy1-0/+3
2021-04-21powerpc: Move copy_inst_from_kernel_nofault()Christophe Leroy2-27/+1
2021-04-21powerpc: Rename probe_kernel_read_inst()Christophe Leroy1-2/+1
2021-04-21powerpc: Make probe_kernel_read_inst() common to PPC32 and PPC64Christophe Leroy1-16/+1
2021-04-21powerpc: Remove probe_user_read_inst()Christophe Leroy1-31/+0
2021-04-21powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()Christophe Leroy1-1/+1
2021-04-14powerpc: remove partial register save logicNicholas Piggin1-4/+0
2021-03-29powerpc/32: Remove ksp_limitChristophe Leroy1-9/+0