mbox series

[v2,0/2] powerpc: Enhance error handling with patch_instruction()

Message ID cover.1588082133.git.naveen.n.rao@linux.vnet.ibm.com (mailing list archive)
Headers show
Series powerpc: Enhance error handling with patch_instruction() | expand

Message

Naveen N. Rao April 28, 2020, 2:03 p.m. UTC
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