summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
AgeCommit message (Expand)Author
2021-12-23powerpc/code-patching: Move code patching selftests in its own fileChristophe Leroy
2021-12-23powerpc/code-patching: Move instr_is_branch_{i/b}form() in code-patching.hChristophe Leroy
2021-12-23powerpc/code-patching: Move patch_exception() outside code-patching.cChristophe Leroy
2021-12-23powerpc/code-patching: Use test_trampoline for prefixed patch testChristophe Leroy
2021-12-23powerpc/code-patching: Fix patch_branch() return on out-of-range failureChristophe Leroy
2021-12-23powerpc/code-patching: Reorganise do_patch_instruction() to ease error handlingChristophe Leroy
2021-12-23powerpc/code-patching: Fix unmap_patch_area() error handlingChristophe Leroy
2021-12-23powerpc/code-patching: Fix error handling in do_patch_instruction()Christophe Leroy
2021-12-23powerpc/code-patching: Remove init_mem_is_freeChristophe Leroy
2021-12-23powerpc/code-patching: Remove pr_debug()/pr_devel() messages and fix check()Christophe Leroy
2021-12-23powerpc/lib: Add __init attribute to eligible functionsNick Child
2021-12-09powerpc/inst: Define ppc_inst_tChristophe Leroy
2021-11-29Revert "powerpc/code-patching: Improve verification of patchability"Michael Ellerman
2021-11-25powerpc/code-patching: Improve verification of patchabilityChristophe Leroy
2021-10-07powerpc/lib: Add helper to check if offset is within conditional branch rangeNaveen N. Rao
2021-06-21powerpc/lib/code-patching: Set up Strict RWX patching earlierJordan Niethe
2021-06-17powerpc: Don't use 'struct ppc_inst' to reference instruction locationChristophe Leroy
2021-06-17powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in t...Christophe Leroy
2021-06-16powerpc/lib/code-patching: Make instr_is_branch_to_addr() staticChristophe Leroy
2021-06-16powerpc: Do not dereference code as 'struct ppc_inst' (uprobe, code-patching,...Christophe Leroy
2021-04-21powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()Christophe Leroy
2021-03-26powerpc/lib: Don't use __put_user_asm_goto() outside of uaccess.hChristophe Leroy
2020-09-15powerpc/uaccess: Switch __patch_instruction() to __put_user_asm_goto()Christophe Leroy
2020-07-27powerpc/lib: Prepare code-patching for modules allocated outside vmalloc spaceChristophe Leroy
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport
2020-06-05Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds
2020-06-04powerpc: add support for folded p4d page tablesMike Rapoport
2020-05-26powerpc: Add ppc_inst_as_u64()Michael Ellerman
2020-05-19powerpc: Test prefixed code patchingJordan Niethe
2020-05-19powerpc: Add prefixed instructions to instruction data typeJordan Niethe
2020-05-19powerpc: Make test_translate_branch() independent of instruction lengthJordan Niethe
2020-05-19powerpc: Use a function for reading instructionsJordan Niethe
2020-05-19powerpc: Use a datatype for instructionsJordan Niethe
2020-05-19powerpc: Introduce functions for instruction equalityJordan Niethe
2020-05-19powerpc: Use a function for getting the instruction op codeJordan Niethe
2020-05-19powerpc: Use an accessor for instructionsJordan Niethe
2020-05-19powerpc: Use a macro for creating instructions from u32sJordan Niethe
2020-05-19powerpc: Change calling convention for create_branch() et. al.Jordan Niethe
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner
2019-04-21powerpc/lib: Refactor __patch_instruction() to use __put_user_asm()Russell Currey
2019-04-20powerpc: Remove duplicate headersJagadeesh Pagadala
2018-12-19powerpc: simplify patch_instruction_site() and patch_branch_site()Christophe Leroy
2018-10-14powerpc: handover page flags with a pgprot_t parameterChristophe Leroy
2018-10-02powerpc/lib: fix book3s/32 boot failure due to code patchingChristophe Leroy
2018-09-18powerpc: Avoid code patching freed init sectionsMichael Neuling
2018-08-08powerpc/asm: Add a patch_site macro & helpers for patching instructionsMichael Ellerman
2018-01-21powerpc/lib/feature-fixups: use raw_patch_instruction()Christophe Leroy
2018-01-21powerpc/lib/code-patching: refactor patch_instruction()Christophe Leroy
2017-12-11powerpc/modules: Don't try to restore r2 after a sibling callJosh Poimboeuf
2017-11-22powerpc: Fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWXChristophe Leroy