aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2022-09-01powerpc/code-patching: Speed up page mapping/unmappingChristophe Leroy1-11/+19
2022-05-19powerpc/ftrace: Use patch_instruction() return directlyChristophe Leroy1-1/+1
2022-05-19powerpc/code-patching: Inline create_branch()Christophe Leroy1-20/+0
2022-05-19powerpc/code-patching: Inline is_offset_in_{cond}_branch_range()Christophe Leroy1-27/+0
2022-05-11powerpc/code-patching: Use jump_label to check if poking_init() is doneChristophe Leroy1-1/+4
2022-05-11powerpc/code-patching: Use jump_label for testing freed initmemChristophe Leroy1-1/+4
2022-05-08powerpc/code-patching: Don't call is_vmalloc_or_module_addr() without CONFIG_MODULESChristophe Leroy1-1/+1
2022-03-08powerpc/code-patching: Pre-map patch areaMichael Ellerman1-0/+14
2021-12-23powerpc/code-patching: Move code patching selftests in its own fileChristophe Leroy1-355/+0
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 Leroy1-15/+9
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 Child1-1/+1
2021-12-09powerpc/inst: Define ppc_inst_tChristophe Leroy1-19/+19
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-10-07powerpc/lib: Add helper to check if offset is within conditional branch rangeNaveen N. Rao1-1/+6
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 Leroy1-26/+23
2021-06-17powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in tests.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, feature-fixups)Christophe Leroy1-4/+4
2021-04-21powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()Christophe Leroy1-1/+1
2021-03-26powerpc/lib: Don't use __put_user_asm_goto() outside of uaccess.hChristophe Leroy1-4/+9
2020-09-15powerpc/uaccess: Switch __patch_instruction() to __put_user_asm_goto()Christophe Leroy1-10/+7
2020-07-27powerpc/lib: Prepare code-patching for modules allocated outside vmalloc spaceChristophe Leroy1-1/+1
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-05Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linuxLinus Torvalds1-127/+180
2020-06-04powerpc: add support for folded p4d page tablesMike Rapoport1-1/+6
2020-05-26powerpc: Add ppc_inst_as_u64()Michael Ellerman1-7/+1
2020-05-19powerpc: Test prefixed code patchingJordan Niethe1-0/+21
2020-05-19powerpc: Add prefixed instructions to instruction data typeJordan Niethe1-1/+12
2020-05-19powerpc: Make test_translate_branch() independent of instruction lengthJordan Niethe1-3/+3
2020-05-19powerpc: Use a function for reading instructionsJordan Niethe1-12/+14
2020-05-19powerpc: Use a datatype for instructionsJordan Niethe1-38/+38
2020-05-19powerpc: Introduce functions for instruction equalityJordan Niethe1-6/+6
2020-05-19powerpc: Use a function for getting the instruction op codeJordan Niethe1-2/+2
2020-05-19powerpc: Use an accessor for instructionsJordan Niethe1-9/+9
2020-05-19powerpc: Use a macro for creating instructions from u32sJordan Niethe1-28/+29
2020-05-19powerpc: Change calling convention for create_branch() et. al.Jordan Niethe1-55/+79
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-21powerpc/lib: Refactor __patch_instruction() to use __put_user_asm()Russell Currey1-2/+2
2019-04-20powerpc: Remove duplicate headersJagadeesh Pagadala1-1/+0
2018-12-19powerpc: simplify patch_instruction_site() and patch_branch_site()Christophe Leroy1-16/+0