summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
Commit message (Expand)AuthorAgeFilesLines
* 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
| * powerpc: Change calling convention for create_branch() et. al.Jordan Niethe2020-05-191-55/+79
* | powerpc: add support for folded p4d page tablesMike Rapoport2020-06-041-1/+6
|/
* treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner2019-05-301-5/+1
* powerpc/lib: Refactor __patch_instruction() to use __put_user_asm()Russell Currey2019-04-211-2/+2
* powerpc: Remove duplicate headersJagadeesh Pagadala2019-04-201-1/+0
* powerpc: simplify patch_instruction_site() and patch_branch_site()Christophe Leroy2018-12-191-16/+0
* powerpc: handover page flags with a pgprot_t parameterChristophe Leroy2018-10-141-2/+1
* powerpc/lib: fix book3s/32 boot failure due to code patchingChristophe Leroy2018-10-021-8/+12
* powerpc: Avoid code patching freed init sectionsMichael Neuling2018-09-181-0/+6
* powerpc/asm: Add a patch_site macro & helpers for patching instructionsMichael Ellerman2018-08-081-0/+16
* powerpc/lib/feature-fixups: use raw_patch_instruction()Christophe Leroy2018-01-211-2/+2
* powerpc/lib/code-patching: refactor patch_instruction()Christophe Leroy2018-01-211-15/+15
* powerpc/modules: Don't try to restore r2 after a sibling callJosh Poimboeuf2017-12-111-0/+5
* powerpc: Fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWXChristophe Leroy2017-11-221-4/+2
* powerpc/lib/code-patching: Use alternate map for patch_instruction()Balbir Singh2017-07-031-4/+167
* powerpc/kprobes: Convert __kprobes to NOKPROBE_SYMBOL()Naveen N. Rao2017-04-231-1/+3
* kprobes: move kprobe declarations to asm-generic/kprobes.hLuis R. Rodriguez2017-02-271-0/+1
* powerpc/kprobes: Implement OptprobesAnju T2017-02-101-0/+21
* powerpc: Add helper to check if offset is within relative branch rangeAnju T2017-02-101-1/+23
* Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds2016-12-241-1/+1
* powerpc: Move the patch_exception to a common placeKevin Hao2013-12-021-0/+15
* powerpc: Don't use __put_user() in patch_instructionBenjamin Herrenschmidt2012-09-051-1/+1
* powerpc: Have patch_instruction detect faultsSteven Rostedt2012-07-031-4/+10
* PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architecturesAndrea Righi2008-07-241-0/+1
* powerpc: Add tests of the code patching routinesMichael Ellerman2008-07-011-0/+298
* powerpc: Add new code patching routinesMichael Ellerman2008-07-011-0/+107
* powerpc: Make create_branch() return errors if the branch target is too largeMichael Ellerman2008-07-011-2/+8
* powerpc: Allow create_branch() to return errorsMichael Ellerman2008-07-011-8/+12