[PATCH v2 0/2] powerpc: Enhance error handling with patch_instruction()
Naveen N. Rao
naveen.n.rao at linux.vnet.ibm.com
Wed Apr 29 00:03:57 AEST 2020
Changes in v2:
- Change macro to use 'goto' instead of 'return'
- Rename macro to indicate use of 'goto'
- Convert more patch_instruction() uses in optprobes to use the new
macro.
- Drop 1st patch, which added error checking in do_patch_instruction()
since that is being covered in a separate patchset.
v1:
http://lkml.kernel.org/r/cover.1587654213.git.naveen.n.rao@linux.vnet.ibm.com
- Naveen
Naveen N. Rao (2):
powerpc/ftrace: Simplify error checking when patching instructions
powerpc/kprobes: Check return value of patch_instruction()
arch/powerpc/kernel/kprobes.c | 13 +++-
arch/powerpc/kernel/optprobes.c | 109 +++++++++++++++++++++--------
arch/powerpc/kernel/trace/ftrace.c | 96 +++++++++++++++----------
3 files changed, 149 insertions(+), 69 deletions(-)
base-commit: 8299da600ad05b8aa0f15ec0f5f03bd40e37d6f0
--
2.25.1
More information about the Linuxppc-dev
mailing list