summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
Commit message (Expand)AuthorAgeFilesLines
* powerpc/code-patching: Fix oops with DEBUG_VM enabledMichael Ellerman2022-12-161-3/+7
* powerpc/code-patching: Remove protection against patching init addresses afte...Christophe Leroy2022-12-021-12/+1
* powerpc/code-patching: Remove #ifdef CONFIG_STRICT_KERNEL_RWXChristophe Leroy2022-12-021-11/+5
* powerpc/code-patching: Consolidate and cache per-cpu patching contextBenjamin Gray2022-12-021-19/+30
* powerpc/code-patching: Use temporary mm for Radix MMUChristopher M. Riedl2022-12-021-5/+172
* powerpc/code-patching: Use WARN_ON and fix check in poking_initBenjamin Gray2022-11-301-8/+9
* powerpc/code-patching: Speed up page mapping/unmappingChristophe Leroy2022-09-011-11/+19
* powerpc/ftrace: Use patch_instruction() return directlyChristophe Leroy2022-05-191-1/+1
* powerpc/code-patching: Inline create_branch()Christophe Leroy2022-05-191-20/+0
* powerpc/code-patching: Inline is_offset_in_{cond}_branch_range()Christophe Leroy2022-05-191-27/+0
* powerpc/code-patching: Use jump_label to check if poking_init() is doneChristophe Leroy2022-05-111-1/+4
* powerpc/code-patching: Use jump_label for testing freed initmemChristophe Leroy2022-05-111-1/+4
* powerpc/code-patching: Don't call is_vmalloc_or_module_addr() without CONFIG_...Christophe Leroy2022-05-081-1/+1
* powerpc/code-patching: Pre-map patch areaMichael Ellerman2022-03-081-0/+14
* powerpc/code-patching: Move code patching selftests in its own fileChristophe Leroy2021-12-231-355/+0
* powerpc/code-patching: Move instr_is_branch_{i/b}form() in code-patching.hChristophe Leroy2021-12-231-15/+0
* powerpc/code-patching: Move patch_exception() outside code-patching.cChristophe Leroy2021-12-231-16/+0
* powerpc/code-patching: Use test_trampoline for prefixed patch testChristophe Leroy2021-12-231-15/+9
* powerpc/code-patching: Fix patch_branch() return on out-of-range failureChristophe Leroy2021-12-231-1/+3
* powerpc/code-patching: Reorganise do_patch_instruction() to ease error handlingChristophe Leroy2021-12-231-16/+21
* powerpc/code-patching: Fix unmap_patch_area() error handlingChristophe Leroy2021-12-231-17/+13
* powerpc/code-patching: Fix error handling in do_patch_instruction()Christophe Leroy2021-12-231-10/+3
* powerpc/code-patching: Remove init_mem_is_freeChristophe Leroy2021-12-231-2/+1
* powerpc/code-patching: Remove pr_debug()/pr_devel() messages and fix check()Christophe Leroy2021-12-231-9/+7
* powerpc/lib: Add __init attribute to eligible functionsNick Child2021-12-231-1/+1
* powerpc/inst: Define ppc_inst_tChristophe Leroy2021-12-091-19/+19
* Revert "powerpc/code-patching: Improve verification of patchability"Michael Ellerman2021-11-291-2/+3
* powerpc/code-patching: Improve verification of patchabilityChristophe Leroy2021-11-251-3/+2
* powerpc/lib: Add helper to check if offset is within conditional branch rangeNaveen N. Rao2021-10-071-1/+6
* powerpc/lib/code-patching: Set up Strict RWX patching earlierJordan Niethe2021-06-211-10/+4
* powerpc: Don't use 'struct ppc_inst' to reference instruction locationChristophe Leroy2021-06-171-26/+23
* powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in t...Christophe Leroy2021-06-171-42/+53
* powerpc/lib/code-patching: Make instr_is_branch_to_addr() staticChristophe Leroy2021-06-161-9/+9
* powerpc: Do not dereference code as 'struct ppc_inst' (uprobe, code-patching,...Christophe Leroy2021-06-161-4/+4
* powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()Christophe Leroy2021-04-211-1/+1
* powerpc/lib: Don't use __put_user_asm_goto() outside of uaccess.hChristophe Leroy2021-03-261-4/+9
* powerpc/uaccess: Switch __patch_instruction() to __put_user_asm_goto()Christophe Leroy2020-09-151-10/+7
* powerpc/lib: Prepare code-patching for modules allocated outside vmalloc spaceChristophe Leroy2020-07-271-1/+1
* mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport2020-06-091-1/+0
* Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds2020-06-051-127/+180
|\
| * powerpc: Add ppc_inst_as_u64()Michael Ellerman2020-05-261-7/+1
| * powerpc: Test prefixed code patchingJordan Niethe2020-05-191-0/+21
| * powerpc: Add prefixed instructions to instruction data typeJordan Niethe2020-05-191-1/+12
| * powerpc: Make test_translate_branch() independent of instruction lengthJordan Niethe2020-05-191-3/+3
| * powerpc: Use a function for reading instructionsJordan Niethe2020-05-191-12/+14
| * powerpc: Use a datatype for instructionsJordan Niethe2020-05-191-38/+38
| * powerpc: Introduce functions for instruction equalityJordan Niethe2020-05-191-6/+6
| * powerpc: Use a function for getting the instruction op codeJordan Niethe2020-05-191-2/+2
| * powerpc: Use an accessor for instructionsJordan Niethe2020-05-191-9/+9
| * powerpc: Use a macro for creating instructions from u32sJordan Niethe2020-05-191-28/+29