aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
AgeCommit message (Expand)AuthorFilesLines
2022-03-08powerpc: Move C prototypes out of asm-prototypes.hGravatar Christophe Leroy 1-1/+0
2022-03-08powerpc/code-patching: Pre-map patch areaGravatar Michael Ellerman 1-0/+14
2022-03-01powerpc/lib/sstep: Fix build errors with newer binutilsGravatar Anders Roxell 1-0/+6
2022-03-01powerpc/lib/sstep: Fix 'sthcx' instructionGravatar Anders Roxell 1-1/+1
2022-02-12powerpc/lib/sstep: use truncate_if_32bit()Gravatar Christophe Leroy 1-6/+3
2022-02-12powerpc/lib/sstep: Remove unneeded #ifdef __powerpc64__Gravatar Christophe Leroy 1-8/+0
2022-02-12powerpc/lib/sstep: Use l1_dcache_bytes() instead of opencodingGravatar Christophe Leroy 1-4/+1
2022-02-07powerpc/32: Remove remaining .stabs annotationsGravatar Christophe Leroy 2-6/+0
2021-12-23powerpc/32: Fix boot failure with GCC latent entropy pluginGravatar Christophe Leroy 1-0/+3
2021-12-23powerpc/code-patching: Replace patch_instruction() by ppc_inst_write() in sel...Gravatar Christophe Leroy 1-40/+45
2021-12-23powerpc/code-patching: Move code patching selftests in its own fileGravatar Christophe Leroy 3-355/+359
2021-12-23powerpc/code-patching: Move instr_is_branch_{i/b}form() in code-patching.hGravatar Christophe Leroy 1-15/+0
2021-12-23powerpc/code-patching: Move patch_exception() outside code-patching.cGravatar Christophe Leroy 1-16/+0
2021-12-23powerpc/code-patching: Use test_trampoline for prefixed patch testGravatar Christophe Leroy 3-36/+10
2021-12-23powerpc/code-patching: Fix patch_branch() return on out-of-range failureGravatar Christophe Leroy 1-1/+3
2021-12-23powerpc/code-patching: Reorganise do_patch_instruction() to ease error handlingGravatar Christophe Leroy 1-16/+21
2021-12-23powerpc/code-patching: Fix unmap_patch_area() error handlingGravatar Christophe Leroy 1-17/+13
2021-12-23powerpc/code-patching: Fix error handling in do_patch_instruction()Gravatar Christophe Leroy 1-10/+3
2021-12-23powerpc/code-patching: Remove init_mem_is_freeGravatar Christophe Leroy 1-2/+1
2021-12-23powerpc/code-patching: Remove pr_debug()/pr_devel() messages and fix check()Gravatar Christophe Leroy 1-9/+7
2021-12-23powerpc/lib: Add __init attribute to eligible functionsGravatar Nick Child 2-14/+14
2021-12-09powerpc/inst: Define ppc_inst_tGravatar Christophe Leroy 4-28/+28
2021-11-29powerpc: flexible GPR range save/restore macrosGravatar Nicholas Piggin 1-5/+3
2021-11-29Revert "powerpc/code-patching: Improve verification of patchability"Gravatar Michael Ellerman 1-2/+3
2021-11-25powerpc/code-patching: Improve verification of patchabilityGravatar Christophe Leroy 1-3/+2
2021-11-08Merge tag 'kbuild-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Gravatar Linus Torvalds 1-0/+2
2021-11-05Merge tag 'powerpc-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Gravatar Linus Torvalds 2-57/+151
2021-10-28powerpc/security: Use a mutex for interrupt exit code patchingGravatar Russell Currey 1-0/+11
2021-10-22powerpc/lib/sstep: Don't use __{get/put}_user() on kernel addressesGravatar Christophe Leroy 1-57/+140
2021-10-07powerpc/lib: Add helper to check if offset is within conditional branch rangeGravatar Naveen N. Rao 1-1/+6
2021-09-22isystem: delete global -isystem compile optionGravatar Alexey Dobriyan 1-0/+2
2021-07-01powerpc: Only build restart_table.c for 64sGravatar Michael Ellerman 1-2/+2
2021-06-30powerpc/64s: add a table of implicit soft-masked addressesGravatar Nicholas Piggin 1-0/+26
2021-06-25powerpc/64: use interrupt restart table to speed up return from interruptGravatar Nicholas Piggin 1-4/+48
2021-06-25powerpc/64: allow alternate return locations for soft-masked interruptsGravatar Nicholas Piggin 2-1/+31
2021-06-25powerpc/64s: avoid reloading (H)SRR registers if they are still validGravatar Nicholas Piggin 3-9/+11
2021-06-21powerpc/lib/code-patching: Set up Strict RWX patching earlierGravatar Jordan Niethe 1-10/+4
2021-06-17powerpc: Don't use 'struct ppc_inst' to reference instruction locationGravatar Christophe Leroy 2-74/+70
2021-06-17powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in t...Gravatar Christophe Leroy 1-42/+53
2021-06-16powerpc/lib/code-patching: Make instr_is_branch_to_addr() staticGravatar Christophe Leroy 1-9/+9
2021-06-16powerpc: Do not dereference code as 'struct ppc_inst' (uprobe, code-patching,...Gravatar Christophe Leroy 2-5/+5
2021-06-16powerpc: Replace PPC_INST_NOP by PPC_RAW_NOP()Gravatar Christophe Leroy 1-1/+1
2021-06-16powerpc/lib/feature-fixups: Use PPC_RAW_xxx() macrosGravatar Christophe Leroy 1-61/+60
2021-06-16powerpc: Rework PPC_RAW_xxx() macros for prefixed instructionsGravatar Christophe Leroy 1-4/+2
2021-05-23powerpc/sstep: Add tests for setb instructionGravatar Sathvika Vasireddy 1-0/+29
2021-05-23powerpc/sstep: Add emulation support for ‘setb’ instructionGravatar Sathvika Vasireddy 1-0/+22
2021-05-14powerpc/64s: Fix stf mitigation patching w/strict RWX & hashGravatar Michael Ellerman 1-10/+10
2021-05-14powerpc/64s: Fix entry flush patching w/strict RWX & hashGravatar Michael Ellerman 1-16/+43
2021-05-14powerpc/64s: Fix crashes when toggling entry flush barrierGravatar Michael Ellerman 1-1/+15
2021-05-14powerpc/64s: Fix crashes when toggling stf barrierGravatar Michael Ellerman 1-2/+17