Skip to content

error-injection: simplify code and powerpc support

Naveen N. Rao linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2error-injection: Simplify arch specific helpersarch/x86/include/asm/error-injection.h arch/x86/lib/Makefile arch/x86/lib/error-inject.c +5 more+18 -283 replies
2/2powerpc: Add support for function error injectionarch/powerpc/Kconfig arch/powerpc/include/asm/error-injection.h arch/powerpc/include/asm/ptrace.h+15 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMichael Ellerman
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] error-injection: simplify code and powerpc support

The first patch simplifies code around function error-injection by limiting the need for arch-specific helpers. The second patch adds support for powerpc.

- Naveen

Naveen N. Rao (2):
error-injection: Simplify arch specific helpers
powerpc: Add support for function error injection

 arch/powerpc/Kconfig                       |  1 +
 arch/powerpc/include/asm/error-injection.h |  9 +++++++++
 arch/powerpc/include/asm/ptrace.h          |  5 +++++
 arch/x86/include/asm/error-injection.h     |  6 +-----
 arch/x86/lib/Makefile                      |  1 -
 arch/x86/lib/error-inject.c                | 20 --------------------
 include/asm-generic/error-injection.h      |  6 ++++++
 include/linux/error-injection.h            |  1 +
 kernel/fail_function.c                     |  2 +-
 kernel/trace/bpf_trace.c                   |  2 +-
 lib/error-inject.c                         |  8 ++++++++
 11 files changed, 33 insertions(+), 28 deletions(-)
 create mode 100644 arch/powerpc/include/asm/error-injection.h
 delete mode 100644 arch/x86/lib/error-inject.c
Signature · 1 line
2.17.0