aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-23powerpc/code-patching: introduce patch_instructions()Gravatar Hari Bathini 1-3/+138
2023-10-20powerpc/code-patching: Perform hwsync in __patch_instruction() in case of fai...Gravatar Christophe Leroy 1-4/+1
2022-12-16powerpc/code-patching: Fix oops with DEBUG_VM enabledGravatar Michael Ellerman 1-3/+7
2022-12-02powerpc/code-patching: Remove protection against patching init addresses afte...Gravatar Christophe Leroy 1-12/+1
2022-12-02powerpc/code-patching: Remove #ifdef CONFIG_STRICT_KERNEL_RWXGravatar Christophe Leroy 1-11/+5
2022-12-02powerpc/code-patching: Consolidate and cache per-cpu patching contextGravatar Benjamin Gray 1-19/+30
2022-12-02powerpc/code-patching: Use temporary mm for Radix MMUGravatar Christopher M. Riedl 1-5/+172
2022-11-30powerpc/code-patching: Use WARN_ON and fix check in poking_initGravatar Benjamin Gray 1-8/+9
2022-09-01powerpc/code-patching: Speed up page mapping/unmappingGravatar Christophe Leroy 1-11/+19
2022-05-19powerpc/ftrace: Use patch_instruction() return directlyGravatar Christophe Leroy 1-1/+1
2022-05-19powerpc/code-patching: Inline create_branch()Gravatar Christophe Leroy 1-20/+0
2022-05-19powerpc/code-patching: Inline is_offset_in_{cond}_branch_range()Gravatar Christophe Leroy 1-27/+0
2022-05-11powerpc/code-patching: Use jump_label to check if poking_init() is doneGravatar Christophe Leroy 1-1/+4
2022-05-11powerpc/code-patching: Use jump_label for testing freed initmemGravatar Christophe Leroy 1-1/+4
2022-05-08powerpc/code-patching: Don't call is_vmalloc_or_module_addr() without CONFIG_...Gravatar Christophe Leroy 1-1/+1
2022-03-08powerpc/code-patching: Pre-map patch areaGravatar Michael Ellerman 1-0/+14
2021-12-23powerpc/code-patching: Move code patching selftests in its own fileGravatar Christophe Leroy 1-355/+0
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 1-15/+9
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 1-1/+1
2021-12-09powerpc/inst: Define ppc_inst_tGravatar Christophe Leroy 1-19/+19
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-10-07powerpc/lib: Add helper to check if offset is within conditional branch rangeGravatar Naveen N. Rao 1-1/+6
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 1-26/+23
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 1-4/+4
2021-04-21powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()Gravatar Christophe Leroy 1-1/+1
2021-03-26powerpc/lib: Don't use __put_user_asm_goto() outside of uaccess.hGravatar Christophe Leroy 1-4/+9
2020-09-15powerpc/uaccess: Switch __patch_instruction() to __put_user_asm_goto()Gravatar Christophe Leroy 1-10/+7
2020-07-27powerpc/lib: Prepare code-patching for modules allocated outside vmalloc spaceGravatar Christophe Leroy 1-1/+1
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedGravatar Mike Rapoport 1-1/+0
2020-06-05Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Gravatar Linus Torvalds 1-127/+180
2020-06-04powerpc: add support for folded p4d page tablesGravatar Mike Rapoport 1-1/+6
2020-05-26powerpc: Add ppc_inst_as_u64()Gravatar Michael Ellerman 1-7/+1
2020-05-19powerpc: Test prefixed code patchingGravatar Jordan Niethe 1-0/+21
2020-05-19powerpc: Add prefixed instructions to instruction data typeGravatar Jordan Niethe 1-1/+12
2020-05-19powerpc: Make test_translate_branch() independent of instruction lengthGravatar Jordan Niethe 1-3/+3
2020-05-19powerpc: Use a function for reading instructionsGravatar Jordan Niethe 1-12/+14
2020-05-19powerpc: Use a datatype for instructionsGravatar Jordan Niethe 1-38/+38
2020-05-19powerpc: Introduce functions for instruction equalityGravatar Jordan Niethe 1-6/+6